Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-09 23:59:03.801861 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10112025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11112025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12112025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13112025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14112025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16112025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17112025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18112025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025 port_id : 29066828 datou_current_id : 4158255 in upload_from_sqlite, uploading in 29066828 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251110 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251111 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251112 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251113 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251114 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251115 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251116 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251117 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251118 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251119 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251120 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251121 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251122 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251123 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251124 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251125 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251126 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/02122025/23/59/image_02122025_23_59_45_9595.jpg', 2), ('/home/nano/Desktop/images/02122025/23/59/image_02122025_23_59_35_10606.jpg', 2), ('/home/nano/Desktop/images/02122025/23/59/image_02122025_23_59_25_9602.jpg', 2), ('/home/nano/Desktop/images/02122025/23/59/image_02122025_23_59_15_9596.jpg', 2), ('/home/nano/Desktop/images/02122025/23/58/image_02122025_23_58_45_10615.jpg', 2), ('/home/nano/Desktop/images/02122025/23/58/image_02122025_23_58_35_9596.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/02122025/23/59/image_02122025_23_59_45_9595.jpg', '/home/nano/Desktop/images/02122025/23/59/image_02122025_23_59_35_10606.jpg', '/home/nano/Desktop/images/02122025/23/59/image_02122025_23_59_25_9602.jpg', '/home/nano/Desktop/images/02122025/23/59/image_02122025_23_59_15_9596.jpg', '/home/nano/Desktop/images/02122025/23/58/image_02122025_23_58_45_10615.jpg', '/home/nano/Desktop/images/02122025/23/58/image_02122025_23_58_35_9596.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4158255&datou=0 /home/nano/Desktop/images/02122025/23/59/image_02122025_23_59_45_9595.jpg /home/nano/Desktop/images/02122025/23/59/image_02122025_23_59_35_10606.jpg /home/nano/Desktop/images/02122025/23/59/image_02122025_23_59_25_9602.jpg /home/nano/Desktop/images/02122025/23/59/image_02122025_23_59_15_9596.jpg /home/nano/Desktop/images/02122025/23/58/image_02122025_23_58_45_10615.jpg /home/nano/Desktop/images/02122025/23/58/image_02122025_23_58_35_9596.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request 'int' object is not iterable time to upload: 16.268228769302368 secondes --- ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4158255&datou=0 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-09 23:59:32.722442 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10112025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11112025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12112025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13112025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14112025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16112025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17112025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18112025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025 port_id : 29066828 datou_current_id : 4158255 in upload_from_sqlite, uploading in 29066828 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251110 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251111 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251112 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251113 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251114 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251115 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251116 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251117 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251118 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251119 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251120 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251121 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251122 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251123 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251124 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251125 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251126 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/02122025/23/59/image_02122025_23_59_45_9595.jpg', 2), ('/home/nano/Desktop/images/02122025/23/59/image_02122025_23_59_35_10606.jpg', 2), ('/home/nano/Desktop/images/02122025/23/59/image_02122025_23_59_25_9602.jpg', 2), ('/home/nano/Desktop/images/02122025/23/59/image_02122025_23_59_15_9596.jpg', 2), ('/home/nano/Desktop/images/02122025/23/58/image_02122025_23_58_45_10615.jpg', 2), ('/home/nano/Desktop/images/02122025/23/58/image_02122025_23_58_35_9596.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/02122025/23/59/image_02122025_23_59_45_9595.jpg', '/home/nano/Desktop/images/02122025/23/59/image_02122025_23_59_35_10606.jpg', '/home/nano/Desktop/images/02122025/23/59/image_02122025_23_59_25_9602.jpg', '/home/nano/Desktop/images/02122025/23/59/image_02122025_23_59_15_9596.jpg', '/home/nano/Desktop/images/02122025/23/58/image_02122025_23_58_45_10615.jpg', '/home/nano/Desktop/images/02122025/23/58/image_02122025_23_58_35_9596.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4158255&datou=0 /home/nano/Desktop/images/02122025/23/59/image_02122025_23_59_45_9595.jpg /home/nano/Desktop/images/02122025/23/59/image_02122025_23_59_35_10606.jpg /home/nano/Desktop/images/02122025/23/59/image_02122025_23_59_25_9602.jpg /home/nano/Desktop/images/02122025/23/59/image_02122025_23_59_15_9596.jpg /home/nano/Desktop/images/02122025/23/58/image_02122025_23_58_45_10615.jpg /home/nano/Desktop/images/02122025/23/58/image_02122025_23_58_35_9596.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request 'int' object is not iterable time to upload: 16.226985454559326 secondes --- ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4158255&datou=0 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 00:00:02.098287 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10112025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11112025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12112025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13112025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14112025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16112025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17112025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18112025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26112025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27112025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28112025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025 port_id : 29066828 datou_current_id : 4158255 in upload_from_sqlite, uploading in 29066828 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251110 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251111 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251112 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251113 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251114 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251115 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251116 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251117 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251118 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251119 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251120 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251121 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251122 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251123 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251124 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251125 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251126 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251127 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251128 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251129 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251130 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251201 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251202 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/02122025/23/59/image_02122025_23_59_45_9595.jpg', 2), ('/home/nano/Desktop/images/02122025/23/59/image_02122025_23_59_35_10606.jpg', 2), ('/home/nano/Desktop/images/02122025/23/59/image_02122025_23_59_25_9602.jpg', 2), ('/home/nano/Desktop/images/02122025/23/59/image_02122025_23_59_15_9596.jpg', 2), ('/home/nano/Desktop/images/02122025/23/58/image_02122025_23_58_45_10615.jpg', 2), ('/home/nano/Desktop/images/02122025/23/58/image_02122025_23_58_35_9596.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/02122025/23/59/image_02122025_23_59_45_9595.jpg', '/home/nano/Desktop/images/02122025/23/59/image_02122025_23_59_35_10606.jpg', '/home/nano/Desktop/images/02122025/23/59/image_02122025_23_59_25_9602.jpg', '/home/nano/Desktop/images/02122025/23/59/image_02122025_23_59_15_9596.jpg', '/home/nano/Desktop/images/02122025/23/58/image_02122025_23_58_45_10615.jpg', '/home/nano/Desktop/images/02122025/23/58/image_02122025_23_58_35_9596.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4158255&datou=0 /home/nano/Desktop/images/02122025/23/59/image_02122025_23_59_45_9595.jpg /home/nano/Desktop/images/02122025/23/59/image_02122025_23_59_35_10606.jpg /home/nano/Desktop/images/02122025/23/59/image_02122025_23_59_25_9602.jpg /home/nano/Desktop/images/02122025/23/59/image_02122025_23_59_15_9596.jpg /home/nano/Desktop/images/02122025/23/58/image_02122025_23_58_45_10615.jpg /home/nano/Desktop/images/02122025/23/58/image_02122025_23_58_35_9596.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request 'int' object is not iterable time to upload: 16.380531549453735 secondes --- ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=4158255&datou=0 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 00:00:31.809951 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/00/00/image_10122025_00_00_45_10634.jpg', 2), ('/home/nano/Desktop/images/10122025/00/00/image_10122025_00_00_34_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/00/00/image_10122025_00_00_25_10635.jpg', 2), ('/home/nano/Desktop/images/09122025/23/59/image_10122025_00_00_04_9631.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 00:01:02.442005 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/00/00/image_10122025_00_00_45_10634.jpg', 2), ('/home/nano/Desktop/images/10122025/00/00/image_10122025_00_00_34_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/00/00/image_10122025_00_00_25_10635.jpg', 2), ('/home/nano/Desktop/images/09122025/23/59/image_10122025_00_00_04_9631.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 00:01:31.988579 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/00/01/image_10122025_00_01_34_9614.jpg', 2), ('/home/nano/Desktop/images/10122025/00/01/image_10122025_00_01_24_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/00/01/image_10122025_00_01_15_10653.jpg', 2), ('/home/nano/Desktop/images/10122025/00/00/image_10122025_00_01_04_9628.jpg', 2), ('/home/nano/Desktop/images/10122025/00/00/image_10122025_00_00_55_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/00/00/image_10122025_00_00_45_10634.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 00:02:02.469143 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/00/01/image_10122025_00_01_34_9614.jpg', 2), ('/home/nano/Desktop/images/10122025/00/01/image_10122025_00_01_24_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/00/01/image_10122025_00_01_15_10653.jpg', 2), ('/home/nano/Desktop/images/10122025/00/00/image_10122025_00_01_04_9628.jpg', 2), ('/home/nano/Desktop/images/10122025/00/00/image_10122025_00_00_55_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/00/00/image_10122025_00_00_45_10634.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 00:02:32.090228 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/00/02/image_10122025_00_02_44_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/00/02/image_10122025_00_02_35_10619.jpg', 2), ('/home/nano/Desktop/images/10122025/00/02/image_10122025_00_02_24_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/00/02/image_10122025_00_02_15_9613.jpg', 2), ('/home/nano/Desktop/images/10122025/00/01/image_10122025_00_02_05_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/00/01/image_10122025_00_01_45_10636.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 00:03:02.599028 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/00/02/image_10122025_00_02_44_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/00/02/image_10122025_00_02_35_10619.jpg', 2), ('/home/nano/Desktop/images/10122025/00/02/image_10122025_00_02_24_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/00/02/image_10122025_00_02_15_9613.jpg', 2), ('/home/nano/Desktop/images/10122025/00/01/image_10122025_00_02_05_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/00/01/image_10122025_00_01_45_10636.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 00:03:32.199494 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/00/03/image_10122025_00_03_44_9612.jpg', 2), ('/home/nano/Desktop/images/10122025/00/03/image_10122025_00_03_35_9612.jpg', 2), ('/home/nano/Desktop/images/10122025/00/03/image_10122025_00_03_25_10619.jpg', 2), ('/home/nano/Desktop/images/10122025/00/03/image_10122025_00_03_14_9632.jpg', 2), ('/home/nano/Desktop/images/10122025/00/02/image_10122025_00_03_05_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/00/02/image_10122025_00_02_55_10616.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 00:04:02.898779 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/00/03/image_10122025_00_03_44_9612.jpg', 2), ('/home/nano/Desktop/images/10122025/00/03/image_10122025_00_03_35_9612.jpg', 2), ('/home/nano/Desktop/images/10122025/00/03/image_10122025_00_03_25_10619.jpg', 2), ('/home/nano/Desktop/images/10122025/00/03/image_10122025_00_03_14_9632.jpg', 2), ('/home/nano/Desktop/images/10122025/00/02/image_10122025_00_03_05_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/00/02/image_10122025_00_02_55_10616.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 00:04:32.275567 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/00/04/image_10122025_00_04_34_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/00/04/image_10122025_00_04_25_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/00/04/image_10122025_00_04_15_10633.jpg', 2), ('/home/nano/Desktop/images/10122025/00/03/image_10122025_00_03_55_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/00/03/image_10122025_00_03_44_9612.jpg', 2), ('/home/nano/Desktop/images/10122025/00/03/image_10122025_00_03_35_9612.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 00:05:02.918964 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/00/04/image_10122025_00_04_34_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/00/04/image_10122025_00_04_25_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/00/04/image_10122025_00_04_15_10633.jpg', 2), ('/home/nano/Desktop/images/10122025/00/03/image_10122025_00_03_55_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/00/03/image_10122025_00_03_44_9612.jpg', 2), ('/home/nano/Desktop/images/10122025/00/03/image_10122025_00_03_35_9612.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 00:05:32.441399 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/00/05/image_10122025_00_05_15_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/00/04/image_10122025_00_04_45_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/00/04/image_10122025_00_04_34_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/00/04/image_10122025_00_04_25_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/00/04/image_10122025_00_04_15_10633.jpg', 2), ('/home/nano/Desktop/images/10122025/00/03/image_10122025_00_03_55_10618.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 00:06:03.027191 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/00/05/image_10122025_00_05_15_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/00/04/image_10122025_00_04_45_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/00/04/image_10122025_00_04_34_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/00/04/image_10122025_00_04_25_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/00/04/image_10122025_00_04_15_10633.jpg', 2), ('/home/nano/Desktop/images/10122025/00/03/image_10122025_00_03_55_10618.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 00:06:32.526935 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/00/06/image_10122025_00_06_44_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/00/06/image_10122025_00_06_25_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/00/06/image_10122025_00_06_14_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/00/05/image_10122025_00_06_05_10658.jpg', 2), ('/home/nano/Desktop/images/10122025/00/05/image_10122025_00_05_35_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/00/05/image_10122025_00_05_15_9618.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 00:07:03.043076 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/00/06/image_10122025_00_06_44_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/00/06/image_10122025_00_06_25_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/00/06/image_10122025_00_06_14_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/00/05/image_10122025_00_06_05_10658.jpg', 2), ('/home/nano/Desktop/images/10122025/00/05/image_10122025_00_05_35_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/00/05/image_10122025_00_05_15_9618.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 00:07:32.660942 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/00/07/image_10122025_00_07_34_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/00/07/image_10122025_00_07_14_9623.jpg', 2), ('/home/nano/Desktop/images/10122025/00/06/image_10122025_00_07_04_9626.jpg', 2), ('/home/nano/Desktop/images/10122025/00/06/image_10122025_00_06_55_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/00/06/image_10122025_00_06_44_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/00/06/image_10122025_00_06_25_10618.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 00:08:02.031925 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/00/07/image_10122025_00_07_34_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/00/07/image_10122025_00_07_14_9623.jpg', 2), ('/home/nano/Desktop/images/10122025/00/06/image_10122025_00_07_04_9626.jpg', 2), ('/home/nano/Desktop/images/10122025/00/06/image_10122025_00_06_55_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/00/06/image_10122025_00_06_44_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/00/06/image_10122025_00_06_25_10618.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 00:08:31.764471 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/00/08/image_10122025_00_08_45_9612.jpg', 2), ('/home/nano/Desktop/images/10122025/00/07/image_10122025_00_07_45_10619.jpg', 2), ('/home/nano/Desktop/images/10122025/00/07/image_10122025_00_07_34_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/00/07/image_10122025_00_07_14_9623.jpg', 2), ('/home/nano/Desktop/images/10122025/00/06/image_10122025_00_07_04_9626.jpg', 2), ('/home/nano/Desktop/images/10122025/00/06/image_10122025_00_06_55_10617.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 00:09:02.652471 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/00/08/image_10122025_00_08_45_9612.jpg', 2), ('/home/nano/Desktop/images/10122025/00/07/image_10122025_00_07_45_10619.jpg', 2), ('/home/nano/Desktop/images/10122025/00/07/image_10122025_00_07_34_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/00/07/image_10122025_00_07_14_9623.jpg', 2), ('/home/nano/Desktop/images/10122025/00/06/image_10122025_00_07_04_9626.jpg', 2), ('/home/nano/Desktop/images/10122025/00/06/image_10122025_00_06_55_10617.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 00:09:31.856249 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/00/09/image_10122025_00_09_44_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/00/09/image_10122025_00_09_35_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/00/09/image_10122025_00_09_24_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/00/08/image_10122025_00_09_05_10620.jpg', 2), ('/home/nano/Desktop/images/10122025/00/08/image_10122025_00_08_54_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/00/08/image_10122025_00_08_45_9612.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 00:10:02.309293 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/00/09/image_10122025_00_09_44_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/00/09/image_10122025_00_09_35_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/00/09/image_10122025_00_09_24_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/00/08/image_10122025_00_09_05_10620.jpg', 2), ('/home/nano/Desktop/images/10122025/00/08/image_10122025_00_08_54_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/00/08/image_10122025_00_08_45_9612.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 00:10:31.954072 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/00/10/image_10122025_00_10_34_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/00/10/image_10122025_00_10_25_10632.jpg', 2), ('/home/nano/Desktop/images/10122025/00/10/image_10122025_00_10_14_9624.jpg', 2), ('/home/nano/Desktop/images/10122025/00/09/image_10122025_00_10_05_9614.jpg', 2), ('/home/nano/Desktop/images/10122025/00/09/image_10122025_00_09_55_10620.jpg', 2), ('/home/nano/Desktop/images/10122025/00/09/image_10122025_00_09_44_9609.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 00:11:02.642960 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/00/10/image_10122025_00_10_34_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/00/10/image_10122025_00_10_25_10632.jpg', 2), ('/home/nano/Desktop/images/10122025/00/10/image_10122025_00_10_14_9624.jpg', 2), ('/home/nano/Desktop/images/10122025/00/09/image_10122025_00_10_05_9614.jpg', 2), ('/home/nano/Desktop/images/10122025/00/09/image_10122025_00_09_55_10620.jpg', 2), ('/home/nano/Desktop/images/10122025/00/09/image_10122025_00_09_44_9609.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 00:11:32.036354 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/00/11/image_10122025_00_11_45_10622.jpg', 2), ('/home/nano/Desktop/images/10122025/00/11/image_10122025_00_11_34_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/00/11/image_10122025_00_11_25_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/00/11/image_10122025_00_11_15_10632.jpg', 2), ('/home/nano/Desktop/images/10122025/00/10/image_10122025_00_11_04_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/00/10/image_10122025_00_10_55_9610.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 00:12:02.456357 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/00/11/image_10122025_00_11_45_10622.jpg', 2), ('/home/nano/Desktop/images/10122025/00/11/image_10122025_00_11_34_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/00/11/image_10122025_00_11_25_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/00/11/image_10122025_00_11_15_10632.jpg', 2), ('/home/nano/Desktop/images/10122025/00/10/image_10122025_00_11_04_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/00/10/image_10122025_00_10_55_9610.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 00:12:32.121580 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/00/12/image_10122025_00_12_35_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/00/11/image_10122025_00_12_05_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/00/11/image_10122025_00_11_54_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/00/11/image_10122025_00_11_45_10622.jpg', 2), ('/home/nano/Desktop/images/10122025/00/11/image_10122025_00_11_34_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/00/11/image_10122025_00_11_25_9608.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 00:13:02.734116 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/00/12/image_10122025_00_12_35_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/00/11/image_10122025_00_12_05_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/00/11/image_10122025_00_11_54_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/00/11/image_10122025_00_11_45_10622.jpg', 2), ('/home/nano/Desktop/images/10122025/00/11/image_10122025_00_11_34_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/00/11/image_10122025_00_11_25_9608.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 00:13:32.223243 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/00/13/image_10122025_00_13_44_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/00/13/image_10122025_00_13_35_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/00/13/image_10122025_00_13_25_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/00/12/image_10122025_00_13_05_9626.jpg', 2), ('/home/nano/Desktop/images/10122025/00/12/image_10122025_00_12_55_10635.jpg', 2), ('/home/nano/Desktop/images/10122025/00/12/image_10122025_00_12_35_10618.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 00:14:02.902877 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/00/13/image_10122025_00_13_44_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/00/13/image_10122025_00_13_35_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/00/13/image_10122025_00_13_25_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/00/12/image_10122025_00_13_05_9626.jpg', 2), ('/home/nano/Desktop/images/10122025/00/12/image_10122025_00_12_55_10635.jpg', 2), ('/home/nano/Desktop/images/10122025/00/12/image_10122025_00_12_35_10618.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 00:14:32.361181 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/00/14/image_10122025_00_14_45_10623.jpg', 2), ('/home/nano/Desktop/images/10122025/00/14/image_10122025_00_14_34_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/00/13/image_10122025_00_14_04_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/00/13/image_10122025_00_13_55_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/00/13/image_10122025_00_13_44_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/00/13/image_10122025_00_13_35_9607.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 00:15:02.996776 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/00/14/image_10122025_00_14_45_10623.jpg', 2), ('/home/nano/Desktop/images/10122025/00/14/image_10122025_00_14_34_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/00/13/image_10122025_00_14_04_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/00/13/image_10122025_00_13_55_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/00/13/image_10122025_00_13_44_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/00/13/image_10122025_00_13_35_9607.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 00:15:32.421916 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/00/15/image_10122025_00_15_45_9612.jpg', 2), ('/home/nano/Desktop/images/10122025/00/15/image_10122025_00_15_35_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/00/15/image_10122025_00_15_15_10637.jpg', 2), ('/home/nano/Desktop/images/10122025/00/14/image_10122025_00_15_04_9630.jpg', 2), ('/home/nano/Desktop/images/10122025/00/14/image_10122025_00_14_55_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/00/14/image_10122025_00_14_45_10623.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 00:16:02.940761 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/00/15/image_10122025_00_15_45_9612.jpg', 2), ('/home/nano/Desktop/images/10122025/00/15/image_10122025_00_15_35_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/00/15/image_10122025_00_15_15_10637.jpg', 2), ('/home/nano/Desktop/images/10122025/00/14/image_10122025_00_15_04_9630.jpg', 2), ('/home/nano/Desktop/images/10122025/00/14/image_10122025_00_14_55_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/00/14/image_10122025_00_14_45_10623.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 00:16:32.556457 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/00/16/image_10122025_00_16_44_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/00/16/image_10122025_00_16_35_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/00/16/image_10122025_00_16_24_9669.jpg', 2), ('/home/nano/Desktop/images/10122025/00/16/image_10122025_00_16_15_9623.jpg', 2), ('/home/nano/Desktop/images/10122025/00/15/image_10122025_00_16_05_10629.jpg', 2), ('/home/nano/Desktop/images/10122025/00/15/image_10122025_00_15_54_9610.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 00:17:03.110569 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/00/16/image_10122025_00_16_44_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/00/16/image_10122025_00_16_35_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/00/16/image_10122025_00_16_24_9669.jpg', 2), ('/home/nano/Desktop/images/10122025/00/16/image_10122025_00_16_15_9623.jpg', 2), ('/home/nano/Desktop/images/10122025/00/15/image_10122025_00_16_05_10629.jpg', 2), ('/home/nano/Desktop/images/10122025/00/15/image_10122025_00_15_54_9610.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 00:17:32.640432 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/00/17/image_10122025_00_17_44_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/00/17/image_10122025_00_17_34_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/00/17/image_10122025_00_17_25_10621.jpg', 2), ('/home/nano/Desktop/images/10122025/00/16/image_10122025_00_17_05_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/00/16/image_10122025_00_16_55_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/00/16/image_10122025_00_16_44_9609.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 00:18:03.066518 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/00/17/image_10122025_00_17_44_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/00/17/image_10122025_00_17_34_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/00/17/image_10122025_00_17_25_10621.jpg', 2), ('/home/nano/Desktop/images/10122025/00/16/image_10122025_00_17_05_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/00/16/image_10122025_00_16_55_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/00/16/image_10122025_00_16_44_9609.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 00:18:32.754284 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/00/18/image_10122025_00_18_45_10619.jpg', 2), ('/home/nano/Desktop/images/10122025/00/18/image_10122025_00_18_34_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/00/18/image_10122025_00_18_25_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/00/18/image_10122025_00_18_15_10633.jpg', 2), ('/home/nano/Desktop/images/10122025/00/17/image_10122025_00_18_04_9632.jpg', 2), ('/home/nano/Desktop/images/10122025/00/17/image_10122025_00_17_55_10617.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 00:19:02.689557 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/00/18/image_10122025_00_18_45_10619.jpg', 2), ('/home/nano/Desktop/images/10122025/00/18/image_10122025_00_18_34_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/00/18/image_10122025_00_18_25_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/00/18/image_10122025_00_18_15_10633.jpg', 2), ('/home/nano/Desktop/images/10122025/00/17/image_10122025_00_18_04_9632.jpg', 2), ('/home/nano/Desktop/images/10122025/00/17/image_10122025_00_17_55_10617.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 00:19:31.959265 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/00/19/image_10122025_00_19_45_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/00/19/image_10122025_00_19_35_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/00/19/image_10122025_00_19_24_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/00/19/image_10122025_00_19_15_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/00/18/image_10122025_00_18_54_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/00/18/image_10122025_00_18_45_10619.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 00:20:02.178669 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/00/19/image_10122025_00_19_45_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/00/19/image_10122025_00_19_35_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/00/19/image_10122025_00_19_24_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/00/19/image_10122025_00_19_15_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/00/18/image_10122025_00_18_54_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/00/18/image_10122025_00_18_45_10619.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 00:20:31.944195 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/00/20/image_10122025_00_20_35_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/00/20/image_10122025_00_20_14_9623.jpg', 2), ('/home/nano/Desktop/images/10122025/00/19/image_10122025_00_19_54_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/00/19/image_10122025_00_19_45_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/00/19/image_10122025_00_19_35_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/00/19/image_10122025_00_19_24_9606.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 00:21:02.373993 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/00/20/image_10122025_00_20_35_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/00/20/image_10122025_00_20_14_9623.jpg', 2), ('/home/nano/Desktop/images/10122025/00/19/image_10122025_00_19_54_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/00/19/image_10122025_00_19_45_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/00/19/image_10122025_00_19_35_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/00/19/image_10122025_00_19_24_9606.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 00:21:32.106619 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/00/21/image_10122025_00_21_45_10620.jpg', 2), ('/home/nano/Desktop/images/10122025/00/21/image_10122025_00_21_15_10629.jpg', 2), ('/home/nano/Desktop/images/10122025/00/20/image_10122025_00_20_44_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/00/20/image_10122025_00_20_35_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/00/20/image_10122025_00_20_14_9623.jpg', 2), ('/home/nano/Desktop/images/10122025/00/19/image_10122025_00_19_54_9605.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 00:22:02.537073 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/00/21/image_10122025_00_21_45_10620.jpg', 2), ('/home/nano/Desktop/images/10122025/00/21/image_10122025_00_21_15_10629.jpg', 2), ('/home/nano/Desktop/images/10122025/00/20/image_10122025_00_20_44_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/00/20/image_10122025_00_20_35_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/00/20/image_10122025_00_20_14_9623.jpg', 2), ('/home/nano/Desktop/images/10122025/00/19/image_10122025_00_19_54_9605.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 00:22:32.133171 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/00/22/image_10122025_00_22_45_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/00/22/image_10122025_00_22_35_10635.jpg', 2), ('/home/nano/Desktop/images/10122025/00/22/image_10122025_00_22_24_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/00/22/image_10122025_00_22_15_10634.jpg', 2), ('/home/nano/Desktop/images/10122025/00/21/image_10122025_00_22_04_9627.jpg', 2), ('/home/nano/Desktop/images/10122025/00/21/image_10122025_00_21_55_9609.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 00:23:02.771522 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/00/22/image_10122025_00_22_45_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/00/22/image_10122025_00_22_35_10635.jpg', 2), ('/home/nano/Desktop/images/10122025/00/22/image_10122025_00_22_24_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/00/22/image_10122025_00_22_15_10634.jpg', 2), ('/home/nano/Desktop/images/10122025/00/21/image_10122025_00_22_04_9627.jpg', 2), ('/home/nano/Desktop/images/10122025/00/21/image_10122025_00_21_55_9609.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 00:23:32.304583 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/00/23/image_10122025_00_23_35_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/00/23/image_10122025_00_23_24_9624.jpg', 2), ('/home/nano/Desktop/images/10122025/00/23/image_10122025_00_23_14_9616.jpg', 2), ('/home/nano/Desktop/images/10122025/00/22/image_10122025_00_23_05_10620.jpg', 2), ('/home/nano/Desktop/images/10122025/00/22/image_10122025_00_22_54_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/00/22/image_10122025_00_22_45_9607.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 00:24:02.924173 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/00/23/image_10122025_00_23_35_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/00/23/image_10122025_00_23_24_9624.jpg', 2), ('/home/nano/Desktop/images/10122025/00/23/image_10122025_00_23_14_9616.jpg', 2), ('/home/nano/Desktop/images/10122025/00/22/image_10122025_00_23_05_10620.jpg', 2), ('/home/nano/Desktop/images/10122025/00/22/image_10122025_00_22_54_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/00/22/image_10122025_00_22_45_9607.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 00:24:32.361772 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/00/24/image_10122025_00_24_25_10636.jpg', 2), ('/home/nano/Desktop/images/10122025/00/24/image_10122025_00_24_14_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/00/23/image_10122025_00_24_05_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/00/23/image_10122025_00_23_55_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/00/23/image_10122025_00_23_35_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/00/23/image_10122025_00_23_24_9624.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 00:25:02.985194 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/00/24/image_10122025_00_24_25_10636.jpg', 2), ('/home/nano/Desktop/images/10122025/00/24/image_10122025_00_24_14_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/00/23/image_10122025_00_24_05_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/00/23/image_10122025_00_23_55_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/00/23/image_10122025_00_23_35_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/00/23/image_10122025_00_23_24_9624.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 00:25:32.449049 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/00/25/image_10122025_00_25_15_10633.jpg', 2), ('/home/nano/Desktop/images/10122025/00/24/image_10122025_00_25_04_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/00/24/image_10122025_00_24_55_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/00/24/image_10122025_00_24_25_10636.jpg', 2), ('/home/nano/Desktop/images/10122025/00/24/image_10122025_00_24_14_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/00/23/image_10122025_00_24_05_9611.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 00:26:02.916068 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/00/25/image_10122025_00_25_15_10633.jpg', 2), ('/home/nano/Desktop/images/10122025/00/24/image_10122025_00_25_04_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/00/24/image_10122025_00_24_55_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/00/24/image_10122025_00_24_25_10636.jpg', 2), ('/home/nano/Desktop/images/10122025/00/24/image_10122025_00_24_14_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/00/23/image_10122025_00_24_05_9611.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 00:26:32.604309 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/00/26/image_10122025_00_26_45_9613.jpg', 2), ('/home/nano/Desktop/images/10122025/00/25/image_10122025_00_26_05_10627.jpg', 2), ('/home/nano/Desktop/images/10122025/00/25/image_10122025_00_25_45_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/00/25/image_10122025_00_25_15_10633.jpg', 2), ('/home/nano/Desktop/images/10122025/00/24/image_10122025_00_25_04_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/00/24/image_10122025_00_24_55_9606.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 00:27:03.132037 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/00/26/image_10122025_00_26_45_9613.jpg', 2), ('/home/nano/Desktop/images/10122025/00/25/image_10122025_00_26_05_10627.jpg', 2), ('/home/nano/Desktop/images/10122025/00/25/image_10122025_00_25_45_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/00/25/image_10122025_00_25_15_10633.jpg', 2), ('/home/nano/Desktop/images/10122025/00/24/image_10122025_00_25_04_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/00/24/image_10122025_00_24_55_9606.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 00:27:32.650731 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/00/27/image_10122025_00_27_44_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/00/27/image_10122025_00_27_35_9615.jpg', 2), ('/home/nano/Desktop/images/10122025/00/27/image_10122025_00_27_25_10619.jpg', 2), ('/home/nano/Desktop/images/10122025/00/26/image_10122025_00_27_05_10622.jpg', 2), ('/home/nano/Desktop/images/10122025/00/26/image_10122025_00_26_54_9624.jpg', 2), ('/home/nano/Desktop/images/10122025/00/26/image_10122025_00_26_45_9613.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 00:28:02.075472 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/00/27/image_10122025_00_27_44_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/00/27/image_10122025_00_27_35_9615.jpg', 2), ('/home/nano/Desktop/images/10122025/00/27/image_10122025_00_27_25_10619.jpg', 2), ('/home/nano/Desktop/images/10122025/00/26/image_10122025_00_27_05_10622.jpg', 2), ('/home/nano/Desktop/images/10122025/00/26/image_10122025_00_26_54_9624.jpg', 2), ('/home/nano/Desktop/images/10122025/00/26/image_10122025_00_26_45_9613.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 00:28:31.750412 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/00/28/image_10122025_00_28_34_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/00/28/image_10122025_00_28_25_10635.jpg', 2), ('/home/nano/Desktop/images/10122025/00/27/image_10122025_00_28_05_9640.jpg', 2), ('/home/nano/Desktop/images/10122025/00/27/image_10122025_00_27_55_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/00/27/image_10122025_00_27_44_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/00/27/image_10122025_00_27_35_9615.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 00:29:02.680070 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/00/28/image_10122025_00_28_34_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/00/28/image_10122025_00_28_25_10635.jpg', 2), ('/home/nano/Desktop/images/10122025/00/27/image_10122025_00_28_05_9640.jpg', 2), ('/home/nano/Desktop/images/10122025/00/27/image_10122025_00_27_55_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/00/27/image_10122025_00_27_44_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/00/27/image_10122025_00_27_35_9615.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 00:29:31.844981 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/00/29/image_10122025_00_29_24_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/00/29/image_10122025_00_29_15_10634.jpg', 2), ('/home/nano/Desktop/images/10122025/00/28/image_10122025_00_29_04_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/00/28/image_10122025_00_28_45_10635.jpg', 2), ('/home/nano/Desktop/images/10122025/00/28/image_10122025_00_28_34_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/00/28/image_10122025_00_28_25_10635.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 00:30:02.319043 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/00/29/image_10122025_00_29_24_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/00/29/image_10122025_00_29_15_10634.jpg', 2), ('/home/nano/Desktop/images/10122025/00/28/image_10122025_00_29_04_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/00/28/image_10122025_00_28_45_10635.jpg', 2), ('/home/nano/Desktop/images/10122025/00/28/image_10122025_00_28_34_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/00/28/image_10122025_00_28_25_10635.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 00:30:31.934157 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/00/30/image_10122025_00_30_35_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/00/30/image_10122025_00_30_24_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/00/29/image_10122025_00_30_05_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/00/29/image_10122025_00_29_45_10619.jpg', 2), ('/home/nano/Desktop/images/10122025/00/29/image_10122025_00_29_24_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/00/29/image_10122025_00_29_15_10634.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 00:31:02.611574 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/00/30/image_10122025_00_30_35_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/00/30/image_10122025_00_30_24_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/00/29/image_10122025_00_30_05_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/00/29/image_10122025_00_29_45_10619.jpg', 2), ('/home/nano/Desktop/images/10122025/00/29/image_10122025_00_29_24_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/00/29/image_10122025_00_29_15_10634.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 00:31:32.050935 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/00/31/image_10122025_00_31_45_10620.jpg', 2), ('/home/nano/Desktop/images/10122025/00/31/image_10122025_00_31_34_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/00/31/image_10122025_00_31_25_10621.jpg', 2), ('/home/nano/Desktop/images/10122025/00/31/image_10122025_00_31_14_9615.jpg', 2), ('/home/nano/Desktop/images/10122025/00/30/image_10122025_00_30_55_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/00/30/image_10122025_00_30_35_10615.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 00:32:02.443557 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/00/31/image_10122025_00_31_45_10620.jpg', 2), ('/home/nano/Desktop/images/10122025/00/31/image_10122025_00_31_34_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/00/31/image_10122025_00_31_25_10621.jpg', 2), ('/home/nano/Desktop/images/10122025/00/31/image_10122025_00_31_14_9615.jpg', 2), ('/home/nano/Desktop/images/10122025/00/30/image_10122025_00_30_55_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/00/30/image_10122025_00_30_35_10615.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 00:32:32.149131 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/00/32/image_10122025_00_32_34_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/00/31/image_10122025_00_32_04_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/00/31/image_10122025_00_31_55_9626.jpg', 2), ('/home/nano/Desktop/images/10122025/00/31/image_10122025_00_31_45_10620.jpg', 2), ('/home/nano/Desktop/images/10122025/00/31/image_10122025_00_31_34_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/00/31/image_10122025_00_31_25_10621.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 00:33:02.789228 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/00/32/image_10122025_00_32_34_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/00/31/image_10122025_00_32_04_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/00/31/image_10122025_00_31_55_9626.jpg', 2), ('/home/nano/Desktop/images/10122025/00/31/image_10122025_00_31_45_10620.jpg', 2), ('/home/nano/Desktop/images/10122025/00/31/image_10122025_00_31_34_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/00/31/image_10122025_00_31_25_10621.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 00:33:32.263033 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/00/32/image_10122025_00_33_05_10633.jpg', 2), ('/home/nano/Desktop/images/10122025/00/32/image_10122025_00_32_45_10625.jpg', 2), ('/home/nano/Desktop/images/10122025/00/32/image_10122025_00_32_34_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/00/31/image_10122025_00_32_04_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/00/31/image_10122025_00_31_55_9626.jpg', 2), ('/home/nano/Desktop/images/10122025/00/31/image_10122025_00_31_45_10620.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 00:34:03.061988 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/00/32/image_10122025_00_33_05_10633.jpg', 2), ('/home/nano/Desktop/images/10122025/00/32/image_10122025_00_32_45_10625.jpg', 2), ('/home/nano/Desktop/images/10122025/00/32/image_10122025_00_32_34_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/00/31/image_10122025_00_32_04_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/00/31/image_10122025_00_31_55_9626.jpg', 2), ('/home/nano/Desktop/images/10122025/00/31/image_10122025_00_31_45_10620.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 00:34:32.367161 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/00/34/image_10122025_00_34_35_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/00/34/image_10122025_00_34_14_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/00/33/image_10122025_00_34_05_10622.jpg', 2), ('/home/nano/Desktop/images/10122025/00/33/image_10122025_00_33_24_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/00/32/image_10122025_00_33_05_10633.jpg', 2), ('/home/nano/Desktop/images/10122025/00/32/image_10122025_00_32_45_10625.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 00:35:02.977446 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/00/34/image_10122025_00_34_35_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/00/34/image_10122025_00_34_14_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/00/33/image_10122025_00_34_05_10622.jpg', 2), ('/home/nano/Desktop/images/10122025/00/33/image_10122025_00_33_24_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/00/32/image_10122025_00_33_05_10633.jpg', 2), ('/home/nano/Desktop/images/10122025/00/32/image_10122025_00_32_45_10625.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 00:35:32.443988 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/00/35/image_10122025_00_35_25_10621.jpg', 2), ('/home/nano/Desktop/images/10122025/00/35/image_10122025_00_35_14_9623.jpg', 2), ('/home/nano/Desktop/images/10122025/00/34/image_10122025_00_35_04_9633.jpg', 2), ('/home/nano/Desktop/images/10122025/00/34/image_10122025_00_34_44_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/00/34/image_10122025_00_34_35_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/00/34/image_10122025_00_34_14_9622.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 00:36:02.689989 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/00/35/image_10122025_00_35_25_10621.jpg', 2), ('/home/nano/Desktop/images/10122025/00/35/image_10122025_00_35_14_9623.jpg', 2), ('/home/nano/Desktop/images/10122025/00/34/image_10122025_00_35_04_9633.jpg', 2), ('/home/nano/Desktop/images/10122025/00/34/image_10122025_00_34_44_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/00/34/image_10122025_00_34_35_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/00/34/image_10122025_00_34_14_9622.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 00:36:32.546992 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/00/36/image_10122025_00_36_45_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/00/36/image_10122025_00_36_35_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/00/36/image_10122025_00_36_24_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/00/36/image_10122025_00_36_15_10635.jpg', 2), ('/home/nano/Desktop/images/10122025/00/35/image_10122025_00_36_04_9615.jpg', 2), ('/home/nano/Desktop/images/10122025/00/35/image_10122025_00_35_45_10616.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 00:37:03.161499 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/00/36/image_10122025_00_36_45_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/00/36/image_10122025_00_36_35_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/00/36/image_10122025_00_36_24_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/00/36/image_10122025_00_36_15_10635.jpg', 2), ('/home/nano/Desktop/images/10122025/00/35/image_10122025_00_36_04_9615.jpg', 2), ('/home/nano/Desktop/images/10122025/00/35/image_10122025_00_35_45_10616.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 00:37:32.683527 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/00/37/image_10122025_00_37_44_9612.jpg', 2), ('/home/nano/Desktop/images/10122025/00/37/image_10122025_00_37_35_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/00/36/image_10122025_00_36_54_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/00/36/image_10122025_00_36_45_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/00/36/image_10122025_00_36_35_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/00/36/image_10122025_00_36_24_9607.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 00:38:02.164585 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/00/37/image_10122025_00_37_44_9612.jpg', 2), ('/home/nano/Desktop/images/10122025/00/37/image_10122025_00_37_35_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/00/36/image_10122025_00_36_54_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/00/36/image_10122025_00_36_45_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/00/36/image_10122025_00_36_35_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/00/36/image_10122025_00_36_24_9607.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 00:38:31.781438 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/00/38/image_10122025_00_38_45_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/00/38/image_10122025_00_38_34_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/00/38/image_10122025_00_38_25_10619.jpg', 2), ('/home/nano/Desktop/images/10122025/00/38/image_10122025_00_38_14_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/00/37/image_10122025_00_38_05_9624.jpg', 2), ('/home/nano/Desktop/images/10122025/00/37/image_10122025_00_37_55_10616.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 00:39:02.528315 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/00/38/image_10122025_00_38_45_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/00/38/image_10122025_00_38_34_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/00/38/image_10122025_00_38_25_10619.jpg', 2), ('/home/nano/Desktop/images/10122025/00/38/image_10122025_00_38_14_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/00/37/image_10122025_00_38_05_9624.jpg', 2), ('/home/nano/Desktop/images/10122025/00/37/image_10122025_00_37_55_10616.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 00:39:31.886690 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/00/39/image_10122025_00_39_45_10619.jpg', 2), ('/home/nano/Desktop/images/10122025/00/39/image_10122025_00_39_25_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/00/39/image_10122025_00_39_15_10629.jpg', 2), ('/home/nano/Desktop/images/10122025/00/38/image_10122025_00_39_04_9613.jpg', 2), ('/home/nano/Desktop/images/10122025/00/38/image_10122025_00_38_55_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/00/38/image_10122025_00_38_45_10616.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 00:40:02.302803 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/00/39/image_10122025_00_39_45_10619.jpg', 2), ('/home/nano/Desktop/images/10122025/00/39/image_10122025_00_39_25_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/00/39/image_10122025_00_39_15_10629.jpg', 2), ('/home/nano/Desktop/images/10122025/00/38/image_10122025_00_39_04_9613.jpg', 2), ('/home/nano/Desktop/images/10122025/00/38/image_10122025_00_38_55_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/00/38/image_10122025_00_38_45_10616.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 00:40:31.995929 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/00/40/image_10122025_00_40_44_9612.jpg', 2), ('/home/nano/Desktop/images/10122025/00/40/image_10122025_00_40_24_9623.jpg', 2), ('/home/nano/Desktop/images/10122025/00/40/image_10122025_00_40_15_9614.jpg', 2), ('/home/nano/Desktop/images/10122025/00/39/image_10122025_00_40_05_10646.jpg', 2), ('/home/nano/Desktop/images/10122025/00/39/image_10122025_00_39_54_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/00/39/image_10122025_00_39_45_10619.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 00:41:02.576687 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/00/40/image_10122025_00_40_44_9612.jpg', 2), ('/home/nano/Desktop/images/10122025/00/40/image_10122025_00_40_24_9623.jpg', 2), ('/home/nano/Desktop/images/10122025/00/40/image_10122025_00_40_15_9614.jpg', 2), ('/home/nano/Desktop/images/10122025/00/39/image_10122025_00_40_05_10646.jpg', 2), ('/home/nano/Desktop/images/10122025/00/39/image_10122025_00_39_54_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/00/39/image_10122025_00_39_45_10619.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 00:41:32.088317 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/00/41/image_10122025_00_41_44_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/00/41/image_10122025_00_41_35_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/00/41/image_10122025_00_41_25_10623.jpg', 2), ('/home/nano/Desktop/images/10122025/00/40/image_10122025_00_40_54_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/00/40/image_10122025_00_40_44_9612.jpg', 2), ('/home/nano/Desktop/images/10122025/00/40/image_10122025_00_40_24_9623.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 00:42:02.641722 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/00/41/image_10122025_00_41_44_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/00/41/image_10122025_00_41_35_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/00/41/image_10122025_00_41_25_10623.jpg', 2), ('/home/nano/Desktop/images/10122025/00/40/image_10122025_00_40_54_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/00/40/image_10122025_00_40_44_9612.jpg', 2), ('/home/nano/Desktop/images/10122025/00/40/image_10122025_00_40_24_9623.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 00:42:32.281242 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/00/42/image_10122025_00_42_45_10638.jpg', 2), ('/home/nano/Desktop/images/10122025/00/42/image_10122025_00_42_25_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/00/41/image_10122025_00_42_04_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/00/41/image_10122025_00_41_55_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/00/41/image_10122025_00_41_44_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/00/41/image_10122025_00_41_35_9607.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 00:43:02.934356 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/00/42/image_10122025_00_42_45_10638.jpg', 2), ('/home/nano/Desktop/images/10122025/00/42/image_10122025_00_42_25_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/00/41/image_10122025_00_42_04_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/00/41/image_10122025_00_41_55_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/00/41/image_10122025_00_41_44_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/00/41/image_10122025_00_41_35_9607.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 00:43:32.401070 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/00/43/image_10122025_00_43_35_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/00/43/image_10122025_00_43_24_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/00/42/image_10122025_00_42_55_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/00/42/image_10122025_00_42_45_10638.jpg', 2), ('/home/nano/Desktop/images/10122025/00/42/image_10122025_00_42_25_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/00/41/image_10122025_00_42_04_9620.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 00:44:03.077476 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/00/43/image_10122025_00_43_35_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/00/43/image_10122025_00_43_24_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/00/42/image_10122025_00_42_55_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/00/42/image_10122025_00_42_45_10638.jpg', 2), ('/home/nano/Desktop/images/10122025/00/42/image_10122025_00_42_25_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/00/41/image_10122025_00_42_04_9620.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 00:44:32.498622 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/00/44/image_10122025_00_44_44_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/00/44/image_10122025_00_44_35_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/00/43/image_10122025_00_44_05_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/00/43/image_10122025_00_43_54_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/00/43/image_10122025_00_43_35_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/00/43/image_10122025_00_43_24_9609.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 00:45:03.069908 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/00/44/image_10122025_00_44_44_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/00/44/image_10122025_00_44_35_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/00/43/image_10122025_00_44_05_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/00/43/image_10122025_00_43_54_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/00/43/image_10122025_00_43_35_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/00/43/image_10122025_00_43_24_9609.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 00:45:32.613253 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/00/44/image_10122025_00_45_05_9614.jpg', 2), ('/home/nano/Desktop/images/10122025/00/44/image_10122025_00_44_55_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/00/44/image_10122025_00_44_44_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/00/44/image_10122025_00_44_35_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/00/43/image_10122025_00_44_05_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/00/43/image_10122025_00_43_54_9606.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 00:46:03.076844 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/00/44/image_10122025_00_45_05_9614.jpg', 2), ('/home/nano/Desktop/images/10122025/00/44/image_10122025_00_44_55_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/00/44/image_10122025_00_44_44_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/00/44/image_10122025_00_44_35_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/00/43/image_10122025_00_44_05_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/00/43/image_10122025_00_43_54_9606.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 00:46:32.736966 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/00/46/image_10122025_00_46_54_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/00/46/image_10122025_00_46_34_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/00/46/image_10122025_00_46_15_10651.jpg', 2), ('/home/nano/Desktop/images/10122025/00/45/image_10122025_00_46_04_9633.jpg', 2), ('/home/nano/Desktop/images/10122025/00/45/image_10122025_00_45_55_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/00/44/image_10122025_00_45_05_9614.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 00:47:02.167537 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/00/46/image_10122025_00_46_54_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/00/46/image_10122025_00_46_34_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/00/46/image_10122025_00_46_15_10651.jpg', 2), ('/home/nano/Desktop/images/10122025/00/45/image_10122025_00_46_04_9633.jpg', 2), ('/home/nano/Desktop/images/10122025/00/45/image_10122025_00_45_55_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/00/44/image_10122025_00_45_05_9614.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 00:47:31.835523 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/00/47/image_10122025_00_47_45_9613.jpg', 2), ('/home/nano/Desktop/images/10122025/00/47/image_10122025_00_47_35_10633.jpg', 2), ('/home/nano/Desktop/images/10122025/00/47/image_10122025_00_47_24_9626.jpg', 2), ('/home/nano/Desktop/images/10122025/00/47/image_10122025_00_47_15_9642.jpg', 2), ('/home/nano/Desktop/images/10122025/00/46/image_10122025_00_47_05_10625.jpg', 2), ('/home/nano/Desktop/images/10122025/00/46/image_10122025_00_46_54_9622.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 00:48:02.140232 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/00/47/image_10122025_00_47_45_9613.jpg', 2), ('/home/nano/Desktop/images/10122025/00/47/image_10122025_00_47_35_10633.jpg', 2), ('/home/nano/Desktop/images/10122025/00/47/image_10122025_00_47_24_9626.jpg', 2), ('/home/nano/Desktop/images/10122025/00/47/image_10122025_00_47_15_9642.jpg', 2), ('/home/nano/Desktop/images/10122025/00/46/image_10122025_00_47_05_10625.jpg', 2), ('/home/nano/Desktop/images/10122025/00/46/image_10122025_00_46_54_9622.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 00:48:31.906457 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/00/48/image_10122025_00_48_35_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/00/48/image_10122025_00_48_14_9615.jpg', 2), ('/home/nano/Desktop/images/10122025/00/47/image_10122025_00_48_05_10639.jpg', 2), ('/home/nano/Desktop/images/10122025/00/47/image_10122025_00_47_54_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/00/47/image_10122025_00_47_45_9613.jpg', 2), ('/home/nano/Desktop/images/10122025/00/47/image_10122025_00_47_35_10633.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 00:49:02.715893 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/00/48/image_10122025_00_48_35_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/00/48/image_10122025_00_48_14_9615.jpg', 2), ('/home/nano/Desktop/images/10122025/00/47/image_10122025_00_48_05_10639.jpg', 2), ('/home/nano/Desktop/images/10122025/00/47/image_10122025_00_47_54_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/00/47/image_10122025_00_47_45_9613.jpg', 2), ('/home/nano/Desktop/images/10122025/00/47/image_10122025_00_47_35_10633.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 00:49:32.007730 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/00/49/image_10122025_00_49_45_10621.jpg', 2), ('/home/nano/Desktop/images/10122025/00/49/image_10122025_00_49_34_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/00/49/image_10122025_00_49_25_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/00/49/image_10122025_00_49_15_10629.jpg', 2), ('/home/nano/Desktop/images/10122025/00/48/image_10122025_00_49_04_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/00/48/image_10122025_00_48_55_10617.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 00:50:02.365541 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/00/49/image_10122025_00_49_45_10621.jpg', 2), ('/home/nano/Desktop/images/10122025/00/49/image_10122025_00_49_34_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/00/49/image_10122025_00_49_25_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/00/49/image_10122025_00_49_15_10629.jpg', 2), ('/home/nano/Desktop/images/10122025/00/48/image_10122025_00_49_04_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/00/48/image_10122025_00_48_55_10617.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 00:50:32.119178 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/00/50/image_10122025_00_50_35_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/00/50/image_10122025_00_50_24_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/00/50/image_10122025_00_50_15_10650.jpg', 2), ('/home/nano/Desktop/images/10122025/00/49/image_10122025_00_50_04_9627.jpg', 2), ('/home/nano/Desktop/images/10122025/00/49/image_10122025_00_49_55_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/00/49/image_10122025_00_49_45_10621.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 00:51:02.775326 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/00/50/image_10122025_00_50_35_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/00/50/image_10122025_00_50_24_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/00/50/image_10122025_00_50_15_10650.jpg', 2), ('/home/nano/Desktop/images/10122025/00/49/image_10122025_00_50_04_9627.jpg', 2), ('/home/nano/Desktop/images/10122025/00/49/image_10122025_00_49_55_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/00/49/image_10122025_00_49_45_10621.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 00:51:32.289438 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/00/51/image_10122025_00_51_44_9624.jpg', 2), ('/home/nano/Desktop/images/10122025/00/51/image_10122025_00_51_24_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/00/51/image_10122025_00_51_15_9629.jpg', 2), ('/home/nano/Desktop/images/10122025/00/50/image_10122025_00_51_05_10625.jpg', 2), ('/home/nano/Desktop/images/10122025/00/50/image_10122025_00_50_54_9623.jpg', 2), ('/home/nano/Desktop/images/10122025/00/50/image_10122025_00_50_35_10617.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 00:52:02.704585 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/00/51/image_10122025_00_51_44_9624.jpg', 2), ('/home/nano/Desktop/images/10122025/00/51/image_10122025_00_51_24_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/00/51/image_10122025_00_51_15_9629.jpg', 2), ('/home/nano/Desktop/images/10122025/00/50/image_10122025_00_51_05_10625.jpg', 2), ('/home/nano/Desktop/images/10122025/00/50/image_10122025_00_50_54_9623.jpg', 2), ('/home/nano/Desktop/images/10122025/00/50/image_10122025_00_50_35_10617.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 00:52:32.310509 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/00/52/image_10122025_00_52_34_9627.jpg', 2), ('/home/nano/Desktop/images/10122025/00/52/image_10122025_00_52_25_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/00/52/image_10122025_00_52_14_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/00/51/image_10122025_00_52_05_9630.jpg', 2), ('/home/nano/Desktop/images/10122025/00/51/image_10122025_00_51_55_10636.jpg', 2), ('/home/nano/Desktop/images/10122025/00/51/image_10122025_00_51_44_9624.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 00:53:02.885096 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/00/52/image_10122025_00_52_34_9627.jpg', 2), ('/home/nano/Desktop/images/10122025/00/52/image_10122025_00_52_25_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/00/52/image_10122025_00_52_14_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/00/51/image_10122025_00_52_05_9630.jpg', 2), ('/home/nano/Desktop/images/10122025/00/51/image_10122025_00_51_55_10636.jpg', 2), ('/home/nano/Desktop/images/10122025/00/51/image_10122025_00_51_44_9624.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 00:53:32.404992 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/00/53/image_10122025_00_53_34_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/00/53/image_10122025_00_53_25_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/00/52/image_10122025_00_53_04_9614.jpg', 2), ('/home/nano/Desktop/images/10122025/00/52/image_10122025_00_52_44_9613.jpg', 2), ('/home/nano/Desktop/images/10122025/00/52/image_10122025_00_52_34_9627.jpg', 2), ('/home/nano/Desktop/images/10122025/00/52/image_10122025_00_52_25_10614.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 00:54:03.053690 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/00/53/image_10122025_00_53_34_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/00/53/image_10122025_00_53_25_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/00/52/image_10122025_00_53_04_9614.jpg', 2), ('/home/nano/Desktop/images/10122025/00/52/image_10122025_00_52_44_9613.jpg', 2), ('/home/nano/Desktop/images/10122025/00/52/image_10122025_00_52_34_9627.jpg', 2), ('/home/nano/Desktop/images/10122025/00/52/image_10122025_00_52_25_10614.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 00:54:32.485277 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/00/54/image_10122025_00_54_45_9613.jpg', 2), ('/home/nano/Desktop/images/10122025/00/54/image_10122025_00_54_24_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/00/54/image_10122025_00_54_15_9637.jpg', 2), ('/home/nano/Desktop/images/10122025/00/53/image_10122025_00_54_05_10638.jpg', 2), ('/home/nano/Desktop/images/10122025/00/53/image_10122025_00_53_45_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/00/53/image_10122025_00_53_34_9608.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 00:55:03.080582 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/00/54/image_10122025_00_54_45_9613.jpg', 2), ('/home/nano/Desktop/images/10122025/00/54/image_10122025_00_54_24_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/00/54/image_10122025_00_54_15_9637.jpg', 2), ('/home/nano/Desktop/images/10122025/00/53/image_10122025_00_54_05_10638.jpg', 2), ('/home/nano/Desktop/images/10122025/00/53/image_10122025_00_53_45_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/00/53/image_10122025_00_53_34_9608.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 00:55:32.584083 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/00/55/image_10122025_00_55_35_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/00/55/image_10122025_00_55_25_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/00/55/image_10122025_00_55_14_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/00/54/image_10122025_00_55_05_10625.jpg', 2), ('/home/nano/Desktop/images/10122025/00/54/image_10122025_00_54_54_9612.jpg', 2), ('/home/nano/Desktop/images/10122025/00/54/image_10122025_00_54_45_9613.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 00:56:03.054412 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/00/55/image_10122025_00_55_35_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/00/55/image_10122025_00_55_25_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/00/55/image_10122025_00_55_14_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/00/54/image_10122025_00_55_05_10625.jpg', 2), ('/home/nano/Desktop/images/10122025/00/54/image_10122025_00_54_54_9612.jpg', 2), ('/home/nano/Desktop/images/10122025/00/54/image_10122025_00_54_45_9613.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 00:56:32.743720 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/00/56/image_10122025_00_56_45_10635.jpg', 2), ('/home/nano/Desktop/images/10122025/00/56/image_10122025_00_56_34_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/00/56/image_10122025_00_56_25_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/00/56/image_10122025_00_56_15_10631.jpg', 2), ('/home/nano/Desktop/images/10122025/00/55/image_10122025_00_55_55_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/00/55/image_10122025_00_55_35_9606.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 00:57:02.397471 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/00/56/image_10122025_00_56_45_10635.jpg', 2), ('/home/nano/Desktop/images/10122025/00/56/image_10122025_00_56_34_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/00/56/image_10122025_00_56_25_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/00/56/image_10122025_00_56_15_10631.jpg', 2), ('/home/nano/Desktop/images/10122025/00/55/image_10122025_00_55_55_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/00/55/image_10122025_00_55_35_9606.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 00:57:31.810690 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/00/57/image_10122025_00_57_24_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/00/57/image_10122025_00_57_15_10634.jpg', 2), ('/home/nano/Desktop/images/10122025/00/56/image_10122025_00_57_04_9614.jpg', 2), ('/home/nano/Desktop/images/10122025/00/56/image_10122025_00_56_55_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/00/56/image_10122025_00_56_45_10635.jpg', 2), ('/home/nano/Desktop/images/10122025/00/56/image_10122025_00_56_34_9608.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 00:58:02.274840 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/00/57/image_10122025_00_57_24_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/00/57/image_10122025_00_57_15_10634.jpg', 2), ('/home/nano/Desktop/images/10122025/00/56/image_10122025_00_57_04_9614.jpg', 2), ('/home/nano/Desktop/images/10122025/00/56/image_10122025_00_56_55_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/00/56/image_10122025_00_56_45_10635.jpg', 2), ('/home/nano/Desktop/images/10122025/00/56/image_10122025_00_56_34_9608.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 00:58:31.892208 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/00/58/image_10122025_00_58_44_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/00/58/image_10122025_00_58_35_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/00/58/image_10122025_00_58_14_9612.jpg', 2), ('/home/nano/Desktop/images/10122025/00/57/image_10122025_00_58_05_10635.jpg', 2), ('/home/nano/Desktop/images/10122025/00/57/image_10122025_00_57_54_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/00/57/image_10122025_00_57_24_9606.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 00:59:02.794351 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/00/58/image_10122025_00_58_44_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/00/58/image_10122025_00_58_35_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/00/58/image_10122025_00_58_14_9612.jpg', 2), ('/home/nano/Desktop/images/10122025/00/57/image_10122025_00_58_05_10635.jpg', 2), ('/home/nano/Desktop/images/10122025/00/57/image_10122025_00_57_54_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/00/57/image_10122025_00_57_24_9606.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 00:59:32.015761 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/00/59/image_10122025_00_59_45_10621.jpg', 2), ('/home/nano/Desktop/images/10122025/00/58/image_10122025_00_59_05_9637.jpg', 2), ('/home/nano/Desktop/images/10122025/00/58/image_10122025_00_58_55_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/00/58/image_10122025_00_58_44_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/00/58/image_10122025_00_58_35_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/00/58/image_10122025_00_58_14_9612.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 01:00:02.377352 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/00/59/image_10122025_00_59_45_10621.jpg', 2), ('/home/nano/Desktop/images/10122025/00/58/image_10122025_00_59_05_9637.jpg', 2), ('/home/nano/Desktop/images/10122025/00/58/image_10122025_00_58_55_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/00/58/image_10122025_00_58_44_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/00/58/image_10122025_00_58_35_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/00/58/image_10122025_00_58_14_9612.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 01:00:32.097443 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/01/00/image_10122025_01_00_45_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/01/00/image_10122025_01_00_34_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/01/00/image_10122025_01_00_25_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/01/00/image_10122025_01_00_15_10651.jpg', 2), ('/home/nano/Desktop/images/10122025/00/59/image_10122025_01_00_04_9612.jpg', 2), ('/home/nano/Desktop/images/10122025/00/59/image_10122025_00_59_55_9608.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 01:01:02.721552 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/01/00/image_10122025_01_00_45_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/01/00/image_10122025_01_00_34_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/01/00/image_10122025_01_00_25_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/01/00/image_10122025_01_00_15_10651.jpg', 2), ('/home/nano/Desktop/images/10122025/00/59/image_10122025_01_00_04_9612.jpg', 2), ('/home/nano/Desktop/images/10122025/00/59/image_10122025_00_59_55_9608.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 01:01:32.201456 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/01/01/image_10122025_01_01_35_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/01/01/image_10122025_01_01_24_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/01/00/image_10122025_01_00_54_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/01/00/image_10122025_01_00_45_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/01/00/image_10122025_01_00_34_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/01/00/image_10122025_01_00_25_9608.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 01:02:02.627860 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/01/01/image_10122025_01_01_35_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/01/01/image_10122025_01_01_24_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/01/00/image_10122025_01_00_54_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/01/00/image_10122025_01_00_45_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/01/00/image_10122025_01_00_34_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/01/00/image_10122025_01_00_25_9608.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 01:02:32.325092 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/01/02/image_10122025_01_02_44_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/01/02/image_10122025_01_02_35_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/01/01/image_10122025_01_02_05_9612.jpg', 2), ('/home/nano/Desktop/images/10122025/01/01/image_10122025_01_01_55_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/01/01/image_10122025_01_01_35_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/01/01/image_10122025_01_01_24_9610.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 01:03:03.016313 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/01/02/image_10122025_01_02_44_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/01/02/image_10122025_01_02_35_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/01/01/image_10122025_01_02_05_9612.jpg', 2), ('/home/nano/Desktop/images/10122025/01/01/image_10122025_01_01_55_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/01/01/image_10122025_01_01_35_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/01/01/image_10122025_01_01_24_9610.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 01:03:32.418224 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/01/03/image_10122025_01_03_34_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/01/03/image_10122025_01_03_25_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/01/02/image_10122025_01_03_04_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/01/02/image_10122025_01_02_55_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/01/02/image_10122025_01_02_44_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/01/02/image_10122025_01_02_35_9608.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 01:04:03.219328 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/01/03/image_10122025_01_03_34_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/01/03/image_10122025_01_03_25_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/01/02/image_10122025_01_03_04_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/01/02/image_10122025_01_02_55_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/01/02/image_10122025_01_02_44_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/01/02/image_10122025_01_02_35_9608.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 01:04:32.562302 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/01/04/image_10122025_01_04_45_9613.jpg', 2), ('/home/nano/Desktop/images/10122025/01/04/image_10122025_01_04_35_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/01/04/image_10122025_01_04_24_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/01/04/image_10122025_01_04_15_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/01/03/image_10122025_01_03_45_10619.jpg', 2), ('/home/nano/Desktop/images/10122025/01/03/image_10122025_01_03_34_9605.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 01:05:03.179670 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/01/04/image_10122025_01_04_45_9613.jpg', 2), ('/home/nano/Desktop/images/10122025/01/04/image_10122025_01_04_35_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/01/04/image_10122025_01_04_24_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/01/04/image_10122025_01_04_15_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/01/03/image_10122025_01_03_45_10619.jpg', 2), ('/home/nano/Desktop/images/10122025/01/03/image_10122025_01_03_34_9605.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 01:05:32.623728 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/01/04/image_10122025_01_04_54_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/01/04/image_10122025_01_04_45_9613.jpg', 2), ('/home/nano/Desktop/images/10122025/01/04/image_10122025_01_04_35_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/01/04/image_10122025_01_04_24_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/01/04/image_10122025_01_04_15_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/01/03/image_10122025_01_03_45_10619.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 01:06:03.107826 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/01/04/image_10122025_01_04_54_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/01/04/image_10122025_01_04_45_9613.jpg', 2), ('/home/nano/Desktop/images/10122025/01/04/image_10122025_01_04_35_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/01/04/image_10122025_01_04_24_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/01/04/image_10122025_01_04_15_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/01/03/image_10122025_01_03_45_10619.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 01:06:32.763294 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/01/06/image_10122025_01_06_45_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/01/06/image_10122025_01_06_14_9625.jpg', 2), ('/home/nano/Desktop/images/10122025/01/05/image_10122025_01_06_04_9632.jpg', 2), ('/home/nano/Desktop/images/10122025/01/04/image_10122025_01_05_05_10631.jpg', 2), ('/home/nano/Desktop/images/10122025/01/04/image_10122025_01_04_54_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/01/04/image_10122025_01_04_45_9613.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 01:07:02.262618 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/01/06/image_10122025_01_06_45_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/01/06/image_10122025_01_06_14_9625.jpg', 2), ('/home/nano/Desktop/images/10122025/01/05/image_10122025_01_06_04_9632.jpg', 2), ('/home/nano/Desktop/images/10122025/01/04/image_10122025_01_05_05_10631.jpg', 2), ('/home/nano/Desktop/images/10122025/01/04/image_10122025_01_04_54_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/01/04/image_10122025_01_04_45_9613.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 01:07:31.872730 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/01/07/image_10122025_01_07_45_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/01/07/image_10122025_01_07_24_9631.jpg', 2), ('/home/nano/Desktop/images/10122025/01/07/image_10122025_01_07_15_10651.jpg', 2), ('/home/nano/Desktop/images/10122025/01/06/image_10122025_01_07_04_9630.jpg', 2), ('/home/nano/Desktop/images/10122025/01/06/image_10122025_01_06_55_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/01/06/image_10122025_01_06_45_10615.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 01:08:02.161616 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/01/07/image_10122025_01_07_45_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/01/07/image_10122025_01_07_24_9631.jpg', 2), ('/home/nano/Desktop/images/10122025/01/07/image_10122025_01_07_15_10651.jpg', 2), ('/home/nano/Desktop/images/10122025/01/06/image_10122025_01_07_04_9630.jpg', 2), ('/home/nano/Desktop/images/10122025/01/06/image_10122025_01_06_55_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/01/06/image_10122025_01_06_45_10615.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 01:08:31.958605 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/01/08/image_10122025_01_08_35_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/01/08/image_10122025_01_08_24_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/01/08/image_10122025_01_08_15_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/01/07/image_10122025_01_07_54_9627.jpg', 2), ('/home/nano/Desktop/images/10122025/01/07/image_10122025_01_07_45_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/01/07/image_10122025_01_07_24_9631.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 01:09:02.853781 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/01/08/image_10122025_01_08_35_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/01/08/image_10122025_01_08_24_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/01/08/image_10122025_01_08_15_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/01/07/image_10122025_01_07_54_9627.jpg', 2), ('/home/nano/Desktop/images/10122025/01/07/image_10122025_01_07_45_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/01/07/image_10122025_01_07_24_9631.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 01:09:32.028309 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/01/09/image_10122025_01_09_25_10620.jpg', 2), ('/home/nano/Desktop/images/10122025/01/09/image_10122025_01_09_14_9615.jpg', 2), ('/home/nano/Desktop/images/10122025/01/08/image_10122025_01_08_44_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/01/08/image_10122025_01_08_35_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/01/08/image_10122025_01_08_24_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/01/08/image_10122025_01_08_15_9608.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 01:10:02.547824 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/01/09/image_10122025_01_09_25_10620.jpg', 2), ('/home/nano/Desktop/images/10122025/01/09/image_10122025_01_09_14_9615.jpg', 2), ('/home/nano/Desktop/images/10122025/01/08/image_10122025_01_08_44_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/01/08/image_10122025_01_08_35_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/01/08/image_10122025_01_08_24_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/01/08/image_10122025_01_08_15_9608.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 01:10:32.161718 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/01/10/image_10122025_01_10_34_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/01/10/image_10122025_01_10_25_9615.jpg', 2), ('/home/nano/Desktop/images/10122025/01/10/image_10122025_01_10_15_10632.jpg', 2), ('/home/nano/Desktop/images/10122025/01/09/image_10122025_01_10_04_9635.jpg', 2), ('/home/nano/Desktop/images/10122025/01/09/image_10122025_01_09_34_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/01/09/image_10122025_01_09_25_10620.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 01:11:02.620908 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/01/10/image_10122025_01_10_34_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/01/10/image_10122025_01_10_25_9615.jpg', 2), ('/home/nano/Desktop/images/10122025/01/10/image_10122025_01_10_15_10632.jpg', 2), ('/home/nano/Desktop/images/10122025/01/09/image_10122025_01_10_04_9635.jpg', 2), ('/home/nano/Desktop/images/10122025/01/09/image_10122025_01_09_34_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/01/09/image_10122025_01_09_25_10620.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 01:11:32.255973 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/01/11/image_10122025_01_11_35_10628.jpg', 2), ('/home/nano/Desktop/images/10122025/01/11/image_10122025_01_11_15_10632.jpg', 2), ('/home/nano/Desktop/images/10122025/01/10/image_10122025_01_11_04_9633.jpg', 2), ('/home/nano/Desktop/images/10122025/01/10/image_10122025_01_10_45_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/01/10/image_10122025_01_10_34_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/01/10/image_10122025_01_10_25_9615.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 01:12:02.740275 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/01/11/image_10122025_01_11_35_10628.jpg', 2), ('/home/nano/Desktop/images/10122025/01/11/image_10122025_01_11_15_10632.jpg', 2), ('/home/nano/Desktop/images/10122025/01/10/image_10122025_01_11_04_9633.jpg', 2), ('/home/nano/Desktop/images/10122025/01/10/image_10122025_01_10_45_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/01/10/image_10122025_01_10_34_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/01/10/image_10122025_01_10_25_9615.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 01:12:32.371735 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/01/12/image_10122025_01_12_44_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/01/12/image_10122025_01_12_35_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/01/12/image_10122025_01_12_25_10619.jpg', 2), ('/home/nano/Desktop/images/10122025/01/12/image_10122025_01_12_14_9624.jpg', 2), ('/home/nano/Desktop/images/10122025/01/11/image_10122025_01_12_05_10620.jpg', 2), ('/home/nano/Desktop/images/10122025/01/11/image_10122025_01_11_45_9626.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 01:13:03.025080 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/01/12/image_10122025_01_12_44_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/01/12/image_10122025_01_12_35_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/01/12/image_10122025_01_12_25_10619.jpg', 2), ('/home/nano/Desktop/images/10122025/01/12/image_10122025_01_12_14_9624.jpg', 2), ('/home/nano/Desktop/images/10122025/01/11/image_10122025_01_12_05_10620.jpg', 2), ('/home/nano/Desktop/images/10122025/01/11/image_10122025_01_11_45_9626.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 01:13:32.456095 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/01/13/image_10122025_01_13_34_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/01/13/image_10122025_01_13_25_10620.jpg', 2), ('/home/nano/Desktop/images/10122025/01/13/image_10122025_01_13_14_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/01/12/image_10122025_01_13_05_9625.jpg', 2), ('/home/nano/Desktop/images/10122025/01/12/image_10122025_01_12_55_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/01/12/image_10122025_01_12_44_9611.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 01:14:03.084927 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/01/13/image_10122025_01_13_34_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/01/13/image_10122025_01_13_25_10620.jpg', 2), ('/home/nano/Desktop/images/10122025/01/13/image_10122025_01_13_14_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/01/12/image_10122025_01_13_05_9625.jpg', 2), ('/home/nano/Desktop/images/10122025/01/12/image_10122025_01_12_55_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/01/12/image_10122025_01_12_44_9611.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 01:14:32.616490 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/01/14/image_10122025_01_14_24_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/01/14/image_10122025_01_14_15_10632.jpg', 2), ('/home/nano/Desktop/images/10122025/01/13/image_10122025_01_13_55_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/01/13/image_10122025_01_13_34_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/01/13/image_10122025_01_13_25_10620.jpg', 2), ('/home/nano/Desktop/images/10122025/01/13/image_10122025_01_13_14_9620.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 01:15:03.028470 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/01/14/image_10122025_01_14_24_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/01/14/image_10122025_01_14_15_10632.jpg', 2), ('/home/nano/Desktop/images/10122025/01/13/image_10122025_01_13_55_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/01/13/image_10122025_01_13_34_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/01/13/image_10122025_01_13_25_10620.jpg', 2), ('/home/nano/Desktop/images/10122025/01/13/image_10122025_01_13_14_9620.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 01:15:32.669395 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/01/15/image_10122025_01_15_15_9623.jpg', 2), ('/home/nano/Desktop/images/10122025/01/14/image_10122025_01_15_05_10636.jpg', 2), ('/home/nano/Desktop/images/10122025/01/14/image_10122025_01_14_34_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/01/14/image_10122025_01_14_24_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/01/14/image_10122025_01_14_15_10632.jpg', 2), ('/home/nano/Desktop/images/10122025/01/13/image_10122025_01_13_55_9607.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 01:16:03.153724 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/01/15/image_10122025_01_15_15_9623.jpg', 2), ('/home/nano/Desktop/images/10122025/01/14/image_10122025_01_15_05_10636.jpg', 2), ('/home/nano/Desktop/images/10122025/01/14/image_10122025_01_14_34_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/01/14/image_10122025_01_14_24_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/01/14/image_10122025_01_14_15_10632.jpg', 2), ('/home/nano/Desktop/images/10122025/01/13/image_10122025_01_13_55_9607.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 01:16:32.736157 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/01/16/image_10122025_01_16_35_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/01/16/image_10122025_01_16_25_10621.jpg', 2), ('/home/nano/Desktop/images/10122025/01/16/image_10122025_01_16_14_9638.jpg', 2), ('/home/nano/Desktop/images/10122025/01/15/image_10122025_01_16_05_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/01/15/image_10122025_01_15_35_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/01/15/image_10122025_01_15_15_9623.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 01:17:02.344962 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/01/16/image_10122025_01_16_35_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/01/16/image_10122025_01_16_25_10621.jpg', 2), ('/home/nano/Desktop/images/10122025/01/16/image_10122025_01_16_14_9638.jpg', 2), ('/home/nano/Desktop/images/10122025/01/15/image_10122025_01_16_05_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/01/15/image_10122025_01_15_35_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/01/15/image_10122025_01_15_15_9623.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 01:17:31.856119 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/01/17/image_10122025_01_17_34_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/01/17/image_10122025_01_17_25_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/01/17/image_10122025_01_17_15_10632.jpg', 2), ('/home/nano/Desktop/images/10122025/01/16/image_10122025_01_16_55_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/01/16/image_10122025_01_16_35_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/01/16/image_10122025_01_16_25_10621.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 01:18:02.325690 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/01/17/image_10122025_01_17_34_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/01/17/image_10122025_01_17_25_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/01/17/image_10122025_01_17_15_10632.jpg', 2), ('/home/nano/Desktop/images/10122025/01/16/image_10122025_01_16_55_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/01/16/image_10122025_01_16_35_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/01/16/image_10122025_01_16_25_10621.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 01:18:31.941094 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/01/18/image_10122025_01_18_24_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/01/18/image_10122025_01_18_15_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/01/17/image_10122025_01_17_54_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/01/17/image_10122025_01_17_34_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/01/17/image_10122025_01_17_25_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/01/17/image_10122025_01_17_15_10632.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 01:19:02.826444 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/01/18/image_10122025_01_18_24_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/01/18/image_10122025_01_18_15_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/01/17/image_10122025_01_17_54_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/01/17/image_10122025_01_17_34_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/01/17/image_10122025_01_17_25_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/01/17/image_10122025_01_17_15_10632.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 01:19:32.114245 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/01/19/image_10122025_01_19_44_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/01/19/image_10122025_01_19_35_9624.jpg', 2), ('/home/nano/Desktop/images/10122025/01/19/image_10122025_01_19_25_10620.jpg', 2), ('/home/nano/Desktop/images/10122025/01/19/image_10122025_01_19_14_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/01/18/image_10122025_01_18_35_10633.jpg', 2), ('/home/nano/Desktop/images/10122025/01/18/image_10122025_01_18_24_9608.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 01:20:02.597495 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/01/19/image_10122025_01_19_44_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/01/19/image_10122025_01_19_35_9624.jpg', 2), ('/home/nano/Desktop/images/10122025/01/19/image_10122025_01_19_25_10620.jpg', 2), ('/home/nano/Desktop/images/10122025/01/19/image_10122025_01_19_14_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/01/18/image_10122025_01_18_35_10633.jpg', 2), ('/home/nano/Desktop/images/10122025/01/18/image_10122025_01_18_24_9608.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 01:20:32.185285 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/01/20/image_10122025_01_20_34_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/01/20/image_10122025_01_20_15_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/01/19/image_10122025_01_20_04_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/01/19/image_10122025_01_19_55_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/01/19/image_10122025_01_19_44_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/01/19/image_10122025_01_19_35_9624.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 01:21:02.879052 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/01/20/image_10122025_01_20_34_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/01/20/image_10122025_01_20_15_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/01/19/image_10122025_01_20_04_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/01/19/image_10122025_01_19_55_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/01/19/image_10122025_01_19_44_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/01/19/image_10122025_01_19_35_9624.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 01:21:32.294363 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/01/21/image_10122025_01_21_45_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/01/21/image_10122025_01_21_35_10623.jpg', 2), ('/home/nano/Desktop/images/10122025/01/21/image_10122025_01_21_15_10652.jpg', 2), ('/home/nano/Desktop/images/10122025/01/20/image_10122025_01_21_04_9627.jpg', 2), ('/home/nano/Desktop/images/10122025/01/20/image_10122025_01_20_45_10633.jpg', 2), ('/home/nano/Desktop/images/10122025/01/20/image_10122025_01_20_34_9607.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 01:22:02.699757 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/01/21/image_10122025_01_21_45_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/01/21/image_10122025_01_21_35_10623.jpg', 2), ('/home/nano/Desktop/images/10122025/01/21/image_10122025_01_21_15_10652.jpg', 2), ('/home/nano/Desktop/images/10122025/01/20/image_10122025_01_21_04_9627.jpg', 2), ('/home/nano/Desktop/images/10122025/01/20/image_10122025_01_20_45_10633.jpg', 2), ('/home/nano/Desktop/images/10122025/01/20/image_10122025_01_20_34_9607.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 01:22:32.445934 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/01/22/image_10122025_01_22_15_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/01/21/image_10122025_01_22_05_10622.jpg', 2), ('/home/nano/Desktop/images/10122025/01/21/image_10122025_01_21_54_9603.jpg', 2), ('/home/nano/Desktop/images/10122025/01/21/image_10122025_01_21_45_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/01/21/image_10122025_01_21_35_10623.jpg', 2), ('/home/nano/Desktop/images/10122025/01/21/image_10122025_01_21_15_10652.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 01:23:02.912571 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/01/22/image_10122025_01_22_15_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/01/21/image_10122025_01_22_05_10622.jpg', 2), ('/home/nano/Desktop/images/10122025/01/21/image_10122025_01_21_54_9603.jpg', 2), ('/home/nano/Desktop/images/10122025/01/21/image_10122025_01_21_45_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/01/21/image_10122025_01_21_35_10623.jpg', 2), ('/home/nano/Desktop/images/10122025/01/21/image_10122025_01_21_15_10652.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 01:23:32.485000 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/01/23/image_10122025_01_23_45_10622.jpg', 2), ('/home/nano/Desktop/images/10122025/01/23/image_10122025_01_23_34_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/01/23/image_10122025_01_23_25_10613.jpg', 2), ('/home/nano/Desktop/images/10122025/01/23/image_10122025_01_23_14_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/01/22/image_10122025_01_22_24_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/01/22/image_10122025_01_22_15_9620.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 01:24:03.347446 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/01/23/image_10122025_01_23_45_10622.jpg', 2), ('/home/nano/Desktop/images/10122025/01/23/image_10122025_01_23_34_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/01/23/image_10122025_01_23_25_10613.jpg', 2), ('/home/nano/Desktop/images/10122025/01/23/image_10122025_01_23_14_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/01/22/image_10122025_01_22_24_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/01/22/image_10122025_01_22_15_9620.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 01:24:32.612042 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/01/24/image_10122025_01_24_45_10619.jpg', 2), ('/home/nano/Desktop/images/10122025/01/24/image_10122025_01_24_34_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/01/24/image_10122025_01_24_25_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/01/24/image_10122025_01_24_15_10631.jpg', 2), ('/home/nano/Desktop/images/10122025/01/23/image_10122025_01_24_04_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/01/23/image_10122025_01_23_55_9609.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 01:25:03.234359 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/01/24/image_10122025_01_24_45_10619.jpg', 2), ('/home/nano/Desktop/images/10122025/01/24/image_10122025_01_24_34_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/01/24/image_10122025_01_24_25_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/01/24/image_10122025_01_24_15_10631.jpg', 2), ('/home/nano/Desktop/images/10122025/01/23/image_10122025_01_24_04_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/01/23/image_10122025_01_23_55_9609.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 01:25:32.724184 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/01/25/image_10122025_01_25_44_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/01/25/image_10122025_01_25_15_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/01/24/image_10122025_01_25_05_10625.jpg', 2), ('/home/nano/Desktop/images/10122025/01/24/image_10122025_01_24_54_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/01/24/image_10122025_01_24_45_10619.jpg', 2), ('/home/nano/Desktop/images/10122025/01/24/image_10122025_01_24_34_9607.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 01:26:02.081117 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/01/25/image_10122025_01_25_44_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/01/25/image_10122025_01_25_15_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/01/24/image_10122025_01_25_05_10625.jpg', 2), ('/home/nano/Desktop/images/10122025/01/24/image_10122025_01_24_54_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/01/24/image_10122025_01_24_45_10619.jpg', 2), ('/home/nano/Desktop/images/10122025/01/24/image_10122025_01_24_34_9607.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 01:26:31.796412 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/01/26/image_10122025_01_26_35_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/01/26/image_10122025_01_26_25_10619.jpg', 2), ('/home/nano/Desktop/images/10122025/01/25/image_10122025_01_25_55_10620.jpg', 2), ('/home/nano/Desktop/images/10122025/01/25/image_10122025_01_25_44_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/01/25/image_10122025_01_25_15_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/01/24/image_10122025_01_25_05_10625.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 01:27:02.460557 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/01/26/image_10122025_01_26_35_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/01/26/image_10122025_01_26_25_10619.jpg', 2), ('/home/nano/Desktop/images/10122025/01/25/image_10122025_01_25_55_10620.jpg', 2), ('/home/nano/Desktop/images/10122025/01/25/image_10122025_01_25_44_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/01/25/image_10122025_01_25_15_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/01/24/image_10122025_01_25_05_10625.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 01:27:31.877721 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/01/27/image_10122025_01_27_45_10621.jpg', 2), ('/home/nano/Desktop/images/10122025/01/27/image_10122025_01_27_25_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/01/27/image_10122025_01_27_15_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/01/26/image_10122025_01_26_44_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/01/26/image_10122025_01_26_35_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/01/26/image_10122025_01_26_25_10619.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 01:28:02.388514 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/01/27/image_10122025_01_27_45_10621.jpg', 2), ('/home/nano/Desktop/images/10122025/01/27/image_10122025_01_27_25_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/01/27/image_10122025_01_27_15_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/01/26/image_10122025_01_26_44_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/01/26/image_10122025_01_26_35_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/01/26/image_10122025_01_26_25_10619.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 01:28:32.021859 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/01/28/image_10122025_01_28_45_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/01/28/image_10122025_01_28_35_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/01/28/image_10122025_01_28_24_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/01/27/image_10122025_01_27_54_9623.jpg', 2), ('/home/nano/Desktop/images/10122025/01/27/image_10122025_01_27_45_10621.jpg', 2), ('/home/nano/Desktop/images/10122025/01/27/image_10122025_01_27_25_9606.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 01:29:02.845551 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/01/28/image_10122025_01_28_45_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/01/28/image_10122025_01_28_35_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/01/28/image_10122025_01_28_24_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/01/27/image_10122025_01_27_54_9623.jpg', 2), ('/home/nano/Desktop/images/10122025/01/27/image_10122025_01_27_45_10621.jpg', 2), ('/home/nano/Desktop/images/10122025/01/27/image_10122025_01_27_25_9606.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 01:29:32.141909 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/01/29/image_10122025_01_29_44_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/01/29/image_10122025_01_29_35_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/01/29/image_10122025_01_29_25_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/01/28/image_10122025_01_28_54_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/01/28/image_10122025_01_28_45_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/01/28/image_10122025_01_28_35_10617.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 01:30:02.598755 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/01/29/image_10122025_01_29_44_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/01/29/image_10122025_01_29_35_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/01/29/image_10122025_01_29_25_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/01/28/image_10122025_01_28_54_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/01/28/image_10122025_01_28_45_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/01/28/image_10122025_01_28_35_10617.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 01:30:32.264322 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/01/30/image_10122025_01_30_34_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/01/30/image_10122025_01_30_25_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/01/30/image_10122025_01_30_14_9640.jpg', 2), ('/home/nano/Desktop/images/10122025/01/29/image_10122025_01_30_05_9652.jpg', 2), ('/home/nano/Desktop/images/10122025/01/29/image_10122025_01_29_55_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/01/29/image_10122025_01_29_44_9606.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 01:31:02.814978 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/01/30/image_10122025_01_30_34_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/01/30/image_10122025_01_30_25_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/01/30/image_10122025_01_30_14_9640.jpg', 2), ('/home/nano/Desktop/images/10122025/01/29/image_10122025_01_30_05_9652.jpg', 2), ('/home/nano/Desktop/images/10122025/01/29/image_10122025_01_29_55_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/01/29/image_10122025_01_29_44_9606.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 01:31:32.355211 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/01/31/image_10122025_01_31_34_9643.jpg', 2), ('/home/nano/Desktop/images/10122025/01/31/image_10122025_01_31_24_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/01/31/image_10122025_01_31_15_10631.jpg', 2), ('/home/nano/Desktop/images/10122025/01/30/image_10122025_01_30_45_10619.jpg', 2), ('/home/nano/Desktop/images/10122025/01/30/image_10122025_01_30_34_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/01/30/image_10122025_01_30_25_10618.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 01:32:02.830347 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/01/31/image_10122025_01_31_34_9643.jpg', 2), ('/home/nano/Desktop/images/10122025/01/31/image_10122025_01_31_24_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/01/31/image_10122025_01_31_15_10631.jpg', 2), ('/home/nano/Desktop/images/10122025/01/30/image_10122025_01_30_45_10619.jpg', 2), ('/home/nano/Desktop/images/10122025/01/30/image_10122025_01_30_34_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/01/30/image_10122025_01_30_25_10618.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 01:32:32.466973 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/01/32/image_10122025_01_32_44_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/01/32/image_10122025_01_32_35_10636.jpg', 2), ('/home/nano/Desktop/images/10122025/01/32/image_10122025_01_32_24_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/01/32/image_10122025_01_32_15_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/01/31/image_10122025_01_31_54_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/01/31/image_10122025_01_31_34_9643.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 01:33:03.209513 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/01/32/image_10122025_01_32_44_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/01/32/image_10122025_01_32_35_10636.jpg', 2), ('/home/nano/Desktop/images/10122025/01/32/image_10122025_01_32_24_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/01/32/image_10122025_01_32_15_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/01/31/image_10122025_01_31_54_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/01/31/image_10122025_01_31_34_9643.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 01:33:32.662593 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/01/33/image_10122025_01_33_25_10632.jpg', 2), ('/home/nano/Desktop/images/10122025/01/33/image_10122025_01_33_14_9643.jpg', 2), ('/home/nano/Desktop/images/10122025/01/32/image_10122025_01_33_05_10634.jpg', 2), ('/home/nano/Desktop/images/10122025/01/32/image_10122025_01_32_54_9624.jpg', 2), ('/home/nano/Desktop/images/10122025/01/32/image_10122025_01_32_44_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/01/32/image_10122025_01_32_35_10636.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 01:34:02.376058 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/01/33/image_10122025_01_33_25_10632.jpg', 2), ('/home/nano/Desktop/images/10122025/01/33/image_10122025_01_33_14_9643.jpg', 2), ('/home/nano/Desktop/images/10122025/01/32/image_10122025_01_33_05_10634.jpg', 2), ('/home/nano/Desktop/images/10122025/01/32/image_10122025_01_32_54_9624.jpg', 2), ('/home/nano/Desktop/images/10122025/01/32/image_10122025_01_32_44_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/01/32/image_10122025_01_32_35_10636.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 01:34:31.777808 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/01/34/image_10122025_01_34_45_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/01/34/image_10122025_01_34_34_9624.jpg', 2), ('/home/nano/Desktop/images/10122025/01/34/image_10122025_01_34_25_10620.jpg', 2), ('/home/nano/Desktop/images/10122025/01/34/image_10122025_01_34_14_9646.jpg', 2), ('/home/nano/Desktop/images/10122025/01/33/image_10122025_01_34_04_9625.jpg', 2), ('/home/nano/Desktop/images/10122025/01/33/image_10122025_01_33_55_10618.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 01:35:02.381303 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/01/34/image_10122025_01_34_45_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/01/34/image_10122025_01_34_34_9624.jpg', 2), ('/home/nano/Desktop/images/10122025/01/34/image_10122025_01_34_25_10620.jpg', 2), ('/home/nano/Desktop/images/10122025/01/34/image_10122025_01_34_14_9646.jpg', 2), ('/home/nano/Desktop/images/10122025/01/33/image_10122025_01_34_04_9625.jpg', 2), ('/home/nano/Desktop/images/10122025/01/33/image_10122025_01_33_55_10618.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 01:35:31.876338 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/01/35/image_10122025_01_35_24_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/01/35/image_10122025_01_35_15_10634.jpg', 2), ('/home/nano/Desktop/images/10122025/01/34/image_10122025_01_35_04_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/01/34/image_10122025_01_34_55_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/01/34/image_10122025_01_34_45_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/01/34/image_10122025_01_34_34_9624.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 01:36:02.404209 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/01/35/image_10122025_01_35_24_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/01/35/image_10122025_01_35_15_10634.jpg', 2), ('/home/nano/Desktop/images/10122025/01/34/image_10122025_01_35_04_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/01/34/image_10122025_01_34_55_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/01/34/image_10122025_01_34_45_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/01/34/image_10122025_01_34_34_9624.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 01:36:31.968778 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/01/36/image_10122025_01_36_24_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/01/36/image_10122025_01_36_15_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/01/35/image_10122025_01_36_05_10633.jpg', 2), ('/home/nano/Desktop/images/10122025/01/35/image_10122025_01_35_54_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/01/35/image_10122025_01_35_24_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/01/35/image_10122025_01_35_15_10634.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 01:37:02.385074 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/01/36/image_10122025_01_36_24_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/01/36/image_10122025_01_36_15_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/01/35/image_10122025_01_36_05_10633.jpg', 2), ('/home/nano/Desktop/images/10122025/01/35/image_10122025_01_35_54_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/01/35/image_10122025_01_35_24_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/01/35/image_10122025_01_35_15_10634.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 01:37:32.050061 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/01/37/image_10122025_01_37_44_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/01/37/image_10122025_01_37_34_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/01/37/image_10122025_01_37_14_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/01/36/image_10122025_01_36_35_10621.jpg', 2), ('/home/nano/Desktop/images/10122025/01/36/image_10122025_01_36_24_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/01/36/image_10122025_01_36_15_9606.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 01:38:02.539296 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/01/37/image_10122025_01_37_44_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/01/37/image_10122025_01_37_34_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/01/37/image_10122025_01_37_14_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/01/36/image_10122025_01_36_35_10621.jpg', 2), ('/home/nano/Desktop/images/10122025/01/36/image_10122025_01_36_24_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/01/36/image_10122025_01_36_15_9606.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 01:38:32.172593 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/01/38/image_10122025_01_38_45_10619.jpg', 2), ('/home/nano/Desktop/images/10122025/01/38/image_10122025_01_38_34_9630.jpg', 2), ('/home/nano/Desktop/images/10122025/01/38/image_10122025_01_38_15_10654.jpg', 2), ('/home/nano/Desktop/images/10122025/01/37/image_10122025_01_38_04_9629.jpg', 2), ('/home/nano/Desktop/images/10122025/01/37/image_10122025_01_37_55_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/01/37/image_10122025_01_37_44_9609.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 01:39:03.166737 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/01/38/image_10122025_01_38_45_10619.jpg', 2), ('/home/nano/Desktop/images/10122025/01/38/image_10122025_01_38_34_9630.jpg', 2), ('/home/nano/Desktop/images/10122025/01/38/image_10122025_01_38_15_10654.jpg', 2), ('/home/nano/Desktop/images/10122025/01/37/image_10122025_01_38_04_9629.jpg', 2), ('/home/nano/Desktop/images/10122025/01/37/image_10122025_01_37_55_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/01/37/image_10122025_01_37_44_9609.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 01:39:32.256455 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/01/39/image_10122025_01_39_45_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/01/39/image_10122025_01_39_24_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/01/38/image_10122025_01_39_05_10635.jpg', 2), ('/home/nano/Desktop/images/10122025/01/38/image_10122025_01_38_54_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/01/38/image_10122025_01_38_45_10619.jpg', 2), ('/home/nano/Desktop/images/10122025/01/38/image_10122025_01_38_34_9630.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 01:40:02.713589 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/01/39/image_10122025_01_39_45_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/01/39/image_10122025_01_39_24_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/01/38/image_10122025_01_39_05_10635.jpg', 2), ('/home/nano/Desktop/images/10122025/01/38/image_10122025_01_38_54_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/01/38/image_10122025_01_38_45_10619.jpg', 2), ('/home/nano/Desktop/images/10122025/01/38/image_10122025_01_38_34_9630.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 01:40:32.359127 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/01/40/image_10122025_01_40_44_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/01/40/image_10122025_01_40_35_9628.jpg', 2), ('/home/nano/Desktop/images/10122025/01/40/image_10122025_01_40_25_10620.jpg', 2), ('/home/nano/Desktop/images/10122025/01/40/image_10122025_01_40_14_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/01/39/image_10122025_01_40_05_10625.jpg', 2), ('/home/nano/Desktop/images/10122025/01/39/image_10122025_01_39_54_9609.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 01:41:03.076360 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/01/40/image_10122025_01_41_05_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/01/40/image_10122025_01_40_44_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/01/40/image_10122025_01_40_35_9628.jpg', 2), ('/home/nano/Desktop/images/10122025/01/40/image_10122025_01_40_25_10620.jpg', 2), ('/home/nano/Desktop/images/10122025/01/40/image_10122025_01_40_14_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/01/39/image_10122025_01_40_05_10625.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 01:41:32.459345 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/01/41/image_10122025_01_41_45_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/01/41/image_10122025_01_41_34_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/01/41/image_10122025_01_41_25_10619.jpg', 2), ('/home/nano/Desktop/images/10122025/01/41/image_10122025_01_41_14_9623.jpg', 2), ('/home/nano/Desktop/images/10122025/01/40/image_10122025_01_41_05_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/01/40/image_10122025_01_40_55_10622.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 01:42:02.883078 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/01/41/image_10122025_01_41_45_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/01/41/image_10122025_01_41_34_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/01/41/image_10122025_01_41_25_10619.jpg', 2), ('/home/nano/Desktop/images/10122025/01/41/image_10122025_01_41_14_9623.jpg', 2), ('/home/nano/Desktop/images/10122025/01/40/image_10122025_01_41_05_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/01/40/image_10122025_01_40_55_10622.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 01:42:32.554684 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/01/42/image_10122025_01_42_35_10633.jpg', 2), ('/home/nano/Desktop/images/10122025/01/42/image_10122025_01_42_24_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/01/41/image_10122025_01_42_04_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/01/41/image_10122025_01_41_55_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/01/41/image_10122025_01_41_45_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/01/41/image_10122025_01_41_34_9609.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 01:43:03.120386 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/01/42/image_10122025_01_42_35_10633.jpg', 2), ('/home/nano/Desktop/images/10122025/01/42/image_10122025_01_42_24_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/01/41/image_10122025_01_42_04_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/01/41/image_10122025_01_41_55_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/01/41/image_10122025_01_41_45_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/01/41/image_10122025_01_41_34_9609.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 01:43:32.632784 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/01/43/image_10122025_01_43_44_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/01/43/image_10122025_01_43_35_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/01/43/image_10122025_01_43_15_9623.jpg', 2), ('/home/nano/Desktop/images/10122025/01/42/image_10122025_01_43_05_10625.jpg', 2), ('/home/nano/Desktop/images/10122025/01/42/image_10122025_01_42_45_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/01/42/image_10122025_01_42_35_10633.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 01:44:03.100126 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/01/43/image_10122025_01_43_44_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/01/43/image_10122025_01_43_35_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/01/43/image_10122025_01_43_15_9623.jpg', 2), ('/home/nano/Desktop/images/10122025/01/42/image_10122025_01_43_05_10625.jpg', 2), ('/home/nano/Desktop/images/10122025/01/42/image_10122025_01_42_45_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/01/42/image_10122025_01_42_35_10633.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 01:44:32.737459 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/01/44/image_10122025_01_44_44_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/01/44/image_10122025_01_44_34_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/01/44/image_10122025_01_44_25_10621.jpg', 2), ('/home/nano/Desktop/images/10122025/01/43/image_10122025_01_44_05_9627.jpg', 2), ('/home/nano/Desktop/images/10122025/01/43/image_10122025_01_43_55_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/01/43/image_10122025_01_43_44_9609.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 01:45:02.337220 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/01/44/image_10122025_01_44_44_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/01/44/image_10122025_01_44_34_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/01/44/image_10122025_01_44_25_10621.jpg', 2), ('/home/nano/Desktop/images/10122025/01/43/image_10122025_01_44_05_9627.jpg', 2), ('/home/nano/Desktop/images/10122025/01/43/image_10122025_01_43_55_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/01/43/image_10122025_01_43_44_9609.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 01:45:31.828770 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/01/45/image_10122025_01_45_34_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/01/45/image_10122025_01_45_25_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/01/45/image_10122025_01_45_15_10657.jpg', 2), ('/home/nano/Desktop/images/10122025/01/44/image_10122025_01_45_04_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/01/44/image_10122025_01_44_55_10632.jpg', 2), ('/home/nano/Desktop/images/10122025/01/44/image_10122025_01_44_44_9608.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 01:46:02.286784 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/01/45/image_10122025_01_45_34_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/01/45/image_10122025_01_45_25_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/01/45/image_10122025_01_45_15_10657.jpg', 2), ('/home/nano/Desktop/images/10122025/01/44/image_10122025_01_45_04_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/01/44/image_10122025_01_44_55_10632.jpg', 2), ('/home/nano/Desktop/images/10122025/01/44/image_10122025_01_44_44_9608.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 01:46:31.940932 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/01/46/image_10122025_01_46_45_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/01/46/image_10122025_01_46_35_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/01/46/image_10122025_01_46_24_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/01/46/image_10122025_01_46_15_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/01/45/image_10122025_01_46_05_10620.jpg', 2), ('/home/nano/Desktop/images/10122025/01/45/image_10122025_01_45_54_9608.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 01:47:02.489744 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/01/46/image_10122025_01_46_45_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/01/46/image_10122025_01_46_35_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/01/46/image_10122025_01_46_24_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/01/46/image_10122025_01_46_15_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/01/45/image_10122025_01_46_05_10620.jpg', 2), ('/home/nano/Desktop/images/10122025/01/45/image_10122025_01_45_54_9608.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 01:47:32.068492 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/01/47/image_10122025_01_47_35_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/01/47/image_10122025_01_47_25_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/01/47/image_10122025_01_47_14_9614.jpg', 2), ('/home/nano/Desktop/images/10122025/01/46/image_10122025_01_47_05_10619.jpg', 2), ('/home/nano/Desktop/images/10122025/01/46/image_10122025_01_46_54_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/01/46/image_10122025_01_46_45_9608.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 01:48:02.502992 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/01/47/image_10122025_01_47_35_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/01/47/image_10122025_01_47_25_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/01/47/image_10122025_01_47_14_9614.jpg', 2), ('/home/nano/Desktop/images/10122025/01/46/image_10122025_01_47_05_10619.jpg', 2), ('/home/nano/Desktop/images/10122025/01/46/image_10122025_01_46_54_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/01/46/image_10122025_01_46_45_9608.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 01:48:32.122890 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/01/48/image_10122025_01_48_45_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/01/48/image_10122025_01_48_34_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/01/48/image_10122025_01_48_25_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/01/47/image_10122025_01_48_04_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/01/47/image_10122025_01_47_44_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/01/47/image_10122025_01_47_35_9606.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 01:49:03.106762 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/01/48/image_10122025_01_48_45_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/01/48/image_10122025_01_48_34_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/01/48/image_10122025_01_48_25_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/01/47/image_10122025_01_48_04_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/01/47/image_10122025_01_47_44_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/01/47/image_10122025_01_47_35_9606.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 01:49:32.260593 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/01/49/image_10122025_01_49_45_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/01/49/image_10122025_01_49_35_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/01/49/image_10122025_01_49_24_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/01/49/image_10122025_01_49_15_10632.jpg', 2), ('/home/nano/Desktop/images/10122025/01/48/image_10122025_01_49_04_9616.jpg', 2), ('/home/nano/Desktop/images/10122025/01/48/image_10122025_01_48_55_9607.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 01:50:02.700513 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/01/49/image_10122025_01_49_45_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/01/49/image_10122025_01_49_35_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/01/49/image_10122025_01_49_24_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/01/49/image_10122025_01_49_15_10632.jpg', 2), ('/home/nano/Desktop/images/10122025/01/48/image_10122025_01_49_04_9616.jpg', 2), ('/home/nano/Desktop/images/10122025/01/48/image_10122025_01_48_55_9607.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 01:50:32.336537 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/01/50/image_10122025_01_50_44_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/01/50/image_10122025_01_50_35_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/01/50/image_10122025_01_50_25_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/01/50/image_10122025_01_50_14_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/01/49/image_10122025_01_50_05_10620.jpg', 2), ('/home/nano/Desktop/images/10122025/01/49/image_10122025_01_49_54_9607.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 01:51:02.972592 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/01/50/image_10122025_01_50_44_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/01/50/image_10122025_01_50_35_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/01/50/image_10122025_01_50_25_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/01/50/image_10122025_01_50_14_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/01/49/image_10122025_01_50_05_10620.jpg', 2), ('/home/nano/Desktop/images/10122025/01/49/image_10122025_01_49_54_9607.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 01:51:32.460086 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/01/51/image_10122025_01_51_34_9625.jpg', 2), ('/home/nano/Desktop/images/10122025/01/51/image_10122025_01_51_25_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/01/51/image_10122025_01_51_14_9640.jpg', 2), ('/home/nano/Desktop/images/10122025/01/50/image_10122025_01_51_05_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/01/50/image_10122025_01_50_55_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/01/50/image_10122025_01_50_44_9609.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 01:52:02.950809 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/01/51/image_10122025_01_51_34_9625.jpg', 2), ('/home/nano/Desktop/images/10122025/01/51/image_10122025_01_51_25_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/01/51/image_10122025_01_51_14_9640.jpg', 2), ('/home/nano/Desktop/images/10122025/01/50/image_10122025_01_51_05_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/01/50/image_10122025_01_50_55_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/01/50/image_10122025_01_50_44_9609.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 01:52:32.607645 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/01/52/image_10122025_01_52_45_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/01/52/image_10122025_01_52_35_10634.jpg', 2), ('/home/nano/Desktop/images/10122025/01/52/image_10122025_01_52_15_10629.jpg', 2), ('/home/nano/Desktop/images/10122025/01/51/image_10122025_01_52_04_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/01/51/image_10122025_01_51_55_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/01/51/image_10122025_01_51_34_9625.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 01:53:03.025320 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/01/52/image_10122025_01_52_45_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/01/52/image_10122025_01_52_35_10634.jpg', 2), ('/home/nano/Desktop/images/10122025/01/52/image_10122025_01_52_15_10629.jpg', 2), ('/home/nano/Desktop/images/10122025/01/51/image_10122025_01_52_04_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/01/51/image_10122025_01_51_55_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/01/51/image_10122025_01_51_34_9625.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 01:53:32.679056 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/01/53/image_10122025_01_53_44_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/01/53/image_10122025_01_53_35_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/01/53/image_10122025_01_53_24_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/01/52/image_10122025_01_53_05_10626.jpg', 2), ('/home/nano/Desktop/images/10122025/01/52/image_10122025_01_52_54_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/01/52/image_10122025_01_52_45_9607.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 01:54:02.432921 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/01/53/image_10122025_01_53_44_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/01/53/image_10122025_01_53_35_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/01/53/image_10122025_01_53_24_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/01/52/image_10122025_01_53_05_10626.jpg', 2), ('/home/nano/Desktop/images/10122025/01/52/image_10122025_01_52_54_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/01/52/image_10122025_01_52_45_9607.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 01:54:31.774179 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/01/54/image_10122025_01_54_44_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/01/54/image_10122025_01_54_35_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/01/54/image_10122025_01_54_14_9623.jpg', 2), ('/home/nano/Desktop/images/10122025/01/53/image_10122025_01_54_05_9624.jpg', 2), ('/home/nano/Desktop/images/10122025/01/53/image_10122025_01_53_55_10619.jpg', 2), ('/home/nano/Desktop/images/10122025/01/53/image_10122025_01_53_44_9611.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 01:55:02.557119 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/01/54/image_10122025_01_54_44_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/01/54/image_10122025_01_54_35_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/01/54/image_10122025_01_54_14_9623.jpg', 2), ('/home/nano/Desktop/images/10122025/01/53/image_10122025_01_54_05_9624.jpg', 2), ('/home/nano/Desktop/images/10122025/01/53/image_10122025_01_53_55_10619.jpg', 2), ('/home/nano/Desktop/images/10122025/01/53/image_10122025_01_53_44_9611.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 01:55:31.977114 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/01/55/image_10122025_01_55_45_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/01/55/image_10122025_01_55_15_10651.jpg', 2), ('/home/nano/Desktop/images/10122025/01/54/image_10122025_01_55_04_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/01/54/image_10122025_01_54_55_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/01/54/image_10122025_01_54_44_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/01/54/image_10122025_01_54_35_9608.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 01:56:02.448409 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/01/55/image_10122025_01_55_45_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/01/55/image_10122025_01_55_15_10651.jpg', 2), ('/home/nano/Desktop/images/10122025/01/54/image_10122025_01_55_04_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/01/54/image_10122025_01_54_55_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/01/54/image_10122025_01_54_44_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/01/54/image_10122025_01_54_35_9608.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 01:56:32.051899 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/01/56/image_10122025_01_56_35_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/01/56/image_10122025_01_56_24_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/01/56/image_10122025_01_56_15_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/01/55/image_10122025_01_56_05_10645.jpg', 2), ('/home/nano/Desktop/images/10122025/01/55/image_10122025_01_55_54_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/01/55/image_10122025_01_55_45_10618.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 01:57:02.596237 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/01/56/image_10122025_01_56_35_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/01/56/image_10122025_01_56_24_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/01/56/image_10122025_01_56_15_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/01/55/image_10122025_01_56_05_10645.jpg', 2), ('/home/nano/Desktop/images/10122025/01/55/image_10122025_01_55_54_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/01/55/image_10122025_01_55_45_10618.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 01:57:32.152462 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/01/57/image_10122025_01_57_44_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/01/57/image_10122025_01_57_25_10620.jpg', 2), ('/home/nano/Desktop/images/10122025/01/57/image_10122025_01_57_14_9613.jpg', 2), ('/home/nano/Desktop/images/10122025/01/56/image_10122025_01_56_54_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/01/56/image_10122025_01_56_35_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/01/56/image_10122025_01_56_24_9607.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 01:58:02.490525 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/01/57/image_10122025_01_57_44_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/01/57/image_10122025_01_57_25_10620.jpg', 2), ('/home/nano/Desktop/images/10122025/01/57/image_10122025_01_57_14_9613.jpg', 2), ('/home/nano/Desktop/images/10122025/01/56/image_10122025_01_56_54_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/01/56/image_10122025_01_56_35_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/01/56/image_10122025_01_56_24_9607.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 01:58:32.296107 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/01/58/image_10122025_01_58_45_10619.jpg', 2), ('/home/nano/Desktop/images/10122025/01/58/image_10122025_01_58_34_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/01/58/image_10122025_01_58_25_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/01/58/image_10122025_01_58_14_9640.jpg', 2), ('/home/nano/Desktop/images/10122025/01/57/image_10122025_01_58_04_9615.jpg', 2), ('/home/nano/Desktop/images/10122025/01/57/image_10122025_01_57_55_10636.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 01:59:03.180676 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/01/59/image_10122025_01_59_24_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/01/58/image_10122025_01_58_45_10619.jpg', 2), ('/home/nano/Desktop/images/10122025/01/58/image_10122025_01_58_34_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/01/58/image_10122025_01_58_25_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/01/58/image_10122025_01_58_14_9640.jpg', 2), ('/home/nano/Desktop/images/10122025/01/57/image_10122025_01_58_04_9615.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 01:59:32.356613 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/01/59/image_10122025_01_59_45_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/01/59/image_10122025_01_59_35_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/01/59/image_10122025_01_59_24_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/01/59/image_10122025_01_59_15_10629.jpg', 2), ('/home/nano/Desktop/images/10122025/01/58/image_10122025_01_59_04_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/01/58/image_10122025_01_58_55_9606.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 02:00:02.899035 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/01/59/image_10122025_01_59_45_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/01/59/image_10122025_01_59_35_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/01/59/image_10122025_01_59_24_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/01/59/image_10122025_01_59_15_10629.jpg', 2), ('/home/nano/Desktop/images/10122025/01/58/image_10122025_01_59_04_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/01/58/image_10122025_01_58_55_9606.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 02:00:32.504501 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/02/00/image_10122025_02_00_35_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/02/00/image_10122025_02_00_24_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/02/00/image_10122025_02_00_15_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/01/59/image_10122025_02_00_05_10643.jpg', 2), ('/home/nano/Desktop/images/10122025/01/59/image_10122025_01_59_54_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/01/59/image_10122025_01_59_45_9605.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 02:01:03.196737 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/02/00/image_10122025_02_00_35_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/02/00/image_10122025_02_00_24_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/02/00/image_10122025_02_00_15_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/01/59/image_10122025_02_00_05_10643.jpg', 2), ('/home/nano/Desktop/images/10122025/01/59/image_10122025_01_59_54_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/01/59/image_10122025_01_59_45_9605.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 02:01:32.597415 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/02/01/image_10122025_02_01_34_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/02/01/image_10122025_02_01_14_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/02/00/image_10122025_02_00_44_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/02/00/image_10122025_02_00_35_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/02/00/image_10122025_02_00_24_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/02/00/image_10122025_02_00_15_9622.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 02:02:03.047469 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/02/01/image_10122025_02_01_34_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/02/01/image_10122025_02_01_14_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/02/00/image_10122025_02_00_44_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/02/00/image_10122025_02_00_35_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/02/00/image_10122025_02_00_24_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/02/00/image_10122025_02_00_15_9622.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 02:02:32.695633 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/02/02/image_10122025_02_02_34_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/02/02/image_10122025_02_02_25_9623.jpg', 2), ('/home/nano/Desktop/images/10122025/02/02/image_10122025_02_02_15_10633.jpg', 2), ('/home/nano/Desktop/images/10122025/02/01/image_10122025_02_01_55_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/02/01/image_10122025_02_01_34_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/02/01/image_10122025_02_01_14_9622.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 02:03:02.337389 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/02/02/image_10122025_02_02_34_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/02/02/image_10122025_02_02_25_9623.jpg', 2), ('/home/nano/Desktop/images/10122025/02/02/image_10122025_02_02_15_10633.jpg', 2), ('/home/nano/Desktop/images/10122025/02/01/image_10122025_02_01_55_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/02/01/image_10122025_02_01_34_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/02/01/image_10122025_02_01_14_9622.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 02:03:31.827146 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/02/03/image_10122025_02_03_45_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/02/03/image_10122025_02_03_35_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/02/03/image_10122025_02_03_24_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/02/03/image_10122025_02_03_15_9623.jpg', 2), ('/home/nano/Desktop/images/10122025/02/02/image_10122025_02_03_05_10642.jpg', 2), ('/home/nano/Desktop/images/10122025/02/02/image_10122025_02_02_54_9608.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 02:04:02.646013 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/02/03/image_10122025_02_03_45_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/02/03/image_10122025_02_03_35_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/02/03/image_10122025_02_03_24_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/02/03/image_10122025_02_03_15_9623.jpg', 2), ('/home/nano/Desktop/images/10122025/02/02/image_10122025_02_03_05_10642.jpg', 2), ('/home/nano/Desktop/images/10122025/02/02/image_10122025_02_02_54_9608.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 02:04:31.916624 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/02/04/image_10122025_02_04_14_9613.jpg', 2), ('/home/nano/Desktop/images/10122025/02/03/image_10122025_02_04_05_10650.jpg', 2), ('/home/nano/Desktop/images/10122025/02/03/image_10122025_02_03_54_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/02/03/image_10122025_02_03_45_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/02/03/image_10122025_02_03_35_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/02/03/image_10122025_02_03_24_9607.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 02:05:02.630718 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/02/04/image_10122025_02_04_14_9613.jpg', 2), ('/home/nano/Desktop/images/10122025/02/03/image_10122025_02_04_05_10650.jpg', 2), ('/home/nano/Desktop/images/10122025/02/03/image_10122025_02_03_54_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/02/03/image_10122025_02_03_45_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/02/03/image_10122025_02_03_35_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/02/03/image_10122025_02_03_24_9607.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 02:05:32.130403 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/02/05/image_10122025_02_05_34_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/02/05/image_10122025_02_05_25_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/02/05/image_10122025_02_05_15_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/02/04/image_10122025_02_05_04_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/02/04/image_10122025_02_04_25_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/02/04/image_10122025_02_04_14_9613.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 02:06:02.653158 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/02/05/image_10122025_02_05_34_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/02/05/image_10122025_02_05_25_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/02/05/image_10122025_02_05_15_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/02/04/image_10122025_02_05_04_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/02/04/image_10122025_02_04_25_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/02/04/image_10122025_02_04_14_9613.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 02:06:32.189695 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/02/06/image_10122025_02_06_45_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/02/06/image_10122025_02_06_15_10640.jpg', 2), ('/home/nano/Desktop/images/10122025/02/05/image_10122025_02_06_04_9628.jpg', 2), ('/home/nano/Desktop/images/10122025/02/05/image_10122025_02_05_55_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/02/05/image_10122025_02_05_34_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/02/05/image_10122025_02_05_25_9606.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 02:07:02.787519 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/02/06/image_10122025_02_06_45_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/02/06/image_10122025_02_06_15_10640.jpg', 2), ('/home/nano/Desktop/images/10122025/02/05/image_10122025_02_06_04_9628.jpg', 2), ('/home/nano/Desktop/images/10122025/02/05/image_10122025_02_05_55_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/02/05/image_10122025_02_05_34_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/02/05/image_10122025_02_05_25_9606.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 02:07:32.291433 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/02/07/image_10122025_02_07_24_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/02/06/image_10122025_02_07_05_10635.jpg', 2), ('/home/nano/Desktop/images/10122025/02/06/image_10122025_02_06_54_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/02/06/image_10122025_02_06_45_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/02/06/image_10122025_02_06_15_10640.jpg', 2), ('/home/nano/Desktop/images/10122025/02/05/image_10122025_02_06_04_9628.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 02:08:02.841142 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/02/08/image_10122025_02_08_34_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/02/07/image_10122025_02_07_24_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/02/06/image_10122025_02_07_05_10635.jpg', 2), ('/home/nano/Desktop/images/10122025/02/06/image_10122025_02_06_54_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/02/06/image_10122025_02_06_45_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/02/06/image_10122025_02_06_15_10640.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 02:08:32.410150 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/02/08/image_10122025_02_08_45_10619.jpg', 2), ('/home/nano/Desktop/images/10122025/02/08/image_10122025_02_08_34_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/02/08/image_10122025_02_08_25_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/02/08/image_10122025_02_08_14_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/02/07/image_10122025_02_08_05_9614.jpg', 2), ('/home/nano/Desktop/images/10122025/02/07/image_10122025_02_07_44_9606.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 02:09:03.202478 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/02/08/image_10122025_02_08_45_10619.jpg', 2), ('/home/nano/Desktop/images/10122025/02/08/image_10122025_02_08_34_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/02/08/image_10122025_02_08_25_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/02/08/image_10122025_02_08_14_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/02/07/image_10122025_02_08_05_9614.jpg', 2), ('/home/nano/Desktop/images/10122025/02/07/image_10122025_02_07_44_9606.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 02:09:32.531064 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/02/09/image_10122025_02_09_45_10637.jpg', 2), ('/home/nano/Desktop/images/10122025/02/09/image_10122025_02_09_34_9624.jpg', 2), ('/home/nano/Desktop/images/10122025/02/08/image_10122025_02_09_04_9635.jpg', 2), ('/home/nano/Desktop/images/10122025/02/08/image_10122025_02_08_55_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/02/08/image_10122025_02_08_45_10619.jpg', 2), ('/home/nano/Desktop/images/10122025/02/08/image_10122025_02_08_34_9607.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 02:10:02.963057 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/02/09/image_10122025_02_09_45_10637.jpg', 2), ('/home/nano/Desktop/images/10122025/02/09/image_10122025_02_09_34_9624.jpg', 2), ('/home/nano/Desktop/images/10122025/02/08/image_10122025_02_09_04_9635.jpg', 2), ('/home/nano/Desktop/images/10122025/02/08/image_10122025_02_08_55_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/02/08/image_10122025_02_08_45_10619.jpg', 2), ('/home/nano/Desktop/images/10122025/02/08/image_10122025_02_08_34_9607.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 02:10:32.623573 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/02/10/image_10122025_02_10_45_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/02/10/image_10122025_02_10_35_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/02/10/image_10122025_02_10_24_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/02/10/image_10122025_02_10_15_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/02/09/image_10122025_02_10_05_10627.jpg', 2), ('/home/nano/Desktop/images/10122025/02/09/image_10122025_02_09_54_9606.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 02:11:03.176811 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/02/10/image_10122025_02_10_45_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/02/10/image_10122025_02_10_35_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/02/10/image_10122025_02_10_24_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/02/10/image_10122025_02_10_15_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/02/09/image_10122025_02_10_05_10627.jpg', 2), ('/home/nano/Desktop/images/10122025/02/09/image_10122025_02_09_54_9606.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 02:11:32.825366 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/02/11/image_10122025_02_11_35_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/02/11/image_10122025_02_11_14_9624.jpg', 2), ('/home/nano/Desktop/images/10122025/02/10/image_10122025_02_11_05_10627.jpg', 2), ('/home/nano/Desktop/images/10122025/02/10/image_10122025_02_10_54_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/02/10/image_10122025_02_10_45_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/02/10/image_10122025_02_10_35_10617.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 02:12:02.190764 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/02/11/image_10122025_02_11_35_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/02/11/image_10122025_02_11_14_9624.jpg', 2), ('/home/nano/Desktop/images/10122025/02/10/image_10122025_02_11_05_10627.jpg', 2), ('/home/nano/Desktop/images/10122025/02/10/image_10122025_02_10_54_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/02/10/image_10122025_02_10_45_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/02/10/image_10122025_02_10_35_10617.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 02:12:31.819949 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/02/12/image_10122025_02_12_45_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/02/12/image_10122025_02_12_25_9624.jpg', 2), ('/home/nano/Desktop/images/10122025/02/12/image_10122025_02_12_15_10633.jpg', 2), ('/home/nano/Desktop/images/10122025/02/11/image_10122025_02_12_04_9615.jpg', 2), ('/home/nano/Desktop/images/10122025/02/11/image_10122025_02_11_55_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/02/11/image_10122025_02_11_35_9605.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 02:13:02.269590 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/02/12/image_10122025_02_12_45_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/02/12/image_10122025_02_12_25_9624.jpg', 2), ('/home/nano/Desktop/images/10122025/02/12/image_10122025_02_12_15_10633.jpg', 2), ('/home/nano/Desktop/images/10122025/02/11/image_10122025_02_12_04_9615.jpg', 2), ('/home/nano/Desktop/images/10122025/02/11/image_10122025_02_11_55_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/02/11/image_10122025_02_11_35_9605.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 02:13:31.940435 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/02/13/image_10122025_02_13_45_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/02/13/image_10122025_02_13_35_10620.jpg', 2), ('/home/nano/Desktop/images/10122025/02/13/image_10122025_02_13_24_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/02/13/image_10122025_02_13_15_10652.jpg', 2), ('/home/nano/Desktop/images/10122025/02/12/image_10122025_02_12_55_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/02/12/image_10122025_02_12_45_10614.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 02:14:02.618008 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/02/13/image_10122025_02_13_45_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/02/13/image_10122025_02_13_35_10620.jpg', 2), ('/home/nano/Desktop/images/10122025/02/13/image_10122025_02_13_24_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/02/13/image_10122025_02_13_15_10652.jpg', 2), ('/home/nano/Desktop/images/10122025/02/12/image_10122025_02_12_55_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/02/12/image_10122025_02_12_45_10614.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 02:14:32.037381 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/02/14/image_10122025_02_14_24_9626.jpg', 2), ('/home/nano/Desktop/images/10122025/02/14/image_10122025_02_14_15_9627.jpg', 2), ('/home/nano/Desktop/images/10122025/02/13/image_10122025_02_13_54_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/02/13/image_10122025_02_13_45_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/02/13/image_10122025_02_13_35_10620.jpg', 2), ('/home/nano/Desktop/images/10122025/02/13/image_10122025_02_13_24_9607.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 02:15:02.362656 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/02/14/image_10122025_02_14_24_9626.jpg', 2), ('/home/nano/Desktop/images/10122025/02/14/image_10122025_02_14_15_9627.jpg', 2), ('/home/nano/Desktop/images/10122025/02/13/image_10122025_02_13_54_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/02/13/image_10122025_02_13_45_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/02/13/image_10122025_02_13_35_10620.jpg', 2), ('/home/nano/Desktop/images/10122025/02/13/image_10122025_02_13_24_9607.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 02:15:32.140684 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/02/15/image_10122025_02_15_34_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/02/15/image_10122025_02_15_25_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/02/15/image_10122025_02_15_14_9637.jpg', 2), ('/home/nano/Desktop/images/10122025/02/14/image_10122025_02_14_35_10613.jpg', 2), ('/home/nano/Desktop/images/10122025/02/14/image_10122025_02_14_24_9626.jpg', 2), ('/home/nano/Desktop/images/10122025/02/14/image_10122025_02_14_15_9627.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 02:16:02.627296 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/02/15/image_10122025_02_15_34_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/02/15/image_10122025_02_15_25_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/02/15/image_10122025_02_15_14_9637.jpg', 2), ('/home/nano/Desktop/images/10122025/02/14/image_10122025_02_14_35_10613.jpg', 2), ('/home/nano/Desktop/images/10122025/02/14/image_10122025_02_14_24_9626.jpg', 2), ('/home/nano/Desktop/images/10122025/02/14/image_10122025_02_14_15_9627.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 02:16:32.228188 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/02/16/image_10122025_02_16_45_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/02/16/image_10122025_02_16_34_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/02/16/image_10122025_02_16_25_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/02/16/image_10122025_02_16_15_10634.jpg', 2), ('/home/nano/Desktop/images/10122025/02/15/image_10122025_02_15_44_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/02/15/image_10122025_02_15_34_9611.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 02:17:02.914285 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/02/17/image_10122025_02_17_44_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/02/16/image_10122025_02_16_45_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/02/16/image_10122025_02_16_34_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/02/16/image_10122025_02_16_25_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/02/16/image_10122025_02_16_15_10634.jpg', 2), ('/home/nano/Desktop/images/10122025/02/15/image_10122025_02_15_44_9607.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 02:17:32.308754 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/02/17/image_10122025_02_17_44_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/02/17/image_10122025_02_17_24_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/02/17/image_10122025_02_17_15_9614.jpg', 2), ('/home/nano/Desktop/images/10122025/02/16/image_10122025_02_17_05_10621.jpg', 2), ('/home/nano/Desktop/images/10122025/02/16/image_10122025_02_16_54_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/02/16/image_10122025_02_16_45_10616.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 02:18:02.791824 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/02/17/image_10122025_02_17_44_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/02/17/image_10122025_02_17_24_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/02/17/image_10122025_02_17_15_9614.jpg', 2), ('/home/nano/Desktop/images/10122025/02/16/image_10122025_02_17_05_10621.jpg', 2), ('/home/nano/Desktop/images/10122025/02/16/image_10122025_02_16_54_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/02/16/image_10122025_02_16_45_10616.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 02:18:32.408708 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/02/18/image_10122025_02_18_44_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/02/18/image_10122025_02_18_25_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/02/18/image_10122025_02_18_14_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/02/17/image_10122025_02_18_05_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/02/17/image_10122025_02_17_44_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/02/17/image_10122025_02_17_35_10616.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 02:19:03.299181 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/02/18/image_10122025_02_18_44_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/02/18/image_10122025_02_18_25_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/02/18/image_10122025_02_18_14_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/02/17/image_10122025_02_18_05_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/02/17/image_10122025_02_17_44_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/02/17/image_10122025_02_17_35_10616.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 02:19:32.518791 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/02/19/image_10122025_02_19_45_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/02/19/image_10122025_02_19_25_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/02/19/image_10122025_02_19_15_10631.jpg', 2), ('/home/nano/Desktop/images/10122025/02/18/image_10122025_02_19_04_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/02/18/image_10122025_02_18_55_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/02/18/image_10122025_02_18_44_9610.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 02:20:03.036871 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/02/19/image_10122025_02_19_45_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/02/19/image_10122025_02_19_25_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/02/19/image_10122025_02_19_15_10631.jpg', 2), ('/home/nano/Desktop/images/10122025/02/18/image_10122025_02_19_04_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/02/18/image_10122025_02_18_55_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/02/18/image_10122025_02_18_44_9610.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 02:20:32.609039 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/02/20/image_10122025_02_20_45_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/02/20/image_10122025_02_20_35_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/02/20/image_10122025_02_20_15_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/02/19/image_10122025_02_20_05_10627.jpg', 2), ('/home/nano/Desktop/images/10122025/02/19/image_10122025_02_19_54_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/02/19/image_10122025_02_19_45_10615.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 02:21:03.134822 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/02/20/image_10122025_02_20_45_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/02/20/image_10122025_02_20_35_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/02/20/image_10122025_02_20_15_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/02/19/image_10122025_02_20_05_10627.jpg', 2), ('/home/nano/Desktop/images/10122025/02/19/image_10122025_02_19_54_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/02/19/image_10122025_02_19_45_10615.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 02:21:32.730571 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/02/21/image_10122025_02_21_25_10619.jpg', 2), ('/home/nano/Desktop/images/10122025/02/21/image_10122025_02_21_14_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/02/20/image_10122025_02_20_54_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/02/20/image_10122025_02_20_45_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/02/20/image_10122025_02_20_35_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/02/20/image_10122025_02_20_15_9622.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 02:22:02.212304 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/02/21/image_10122025_02_21_25_10619.jpg', 2), ('/home/nano/Desktop/images/10122025/02/21/image_10122025_02_21_14_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/02/20/image_10122025_02_20_54_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/02/20/image_10122025_02_20_45_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/02/20/image_10122025_02_20_35_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/02/20/image_10122025_02_20_15_9622.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 02:22:31.813209 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/02/22/image_10122025_02_22_45_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/02/22/image_10122025_02_22_34_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/02/22/image_10122025_02_22_25_10635.jpg', 2), ('/home/nano/Desktop/images/10122025/02/22/image_10122025_02_22_14_9623.jpg', 2), ('/home/nano/Desktop/images/10122025/02/21/image_10122025_02_21_44_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/02/21/image_10122025_02_21_25_10619.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 02:23:02.385751 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/02/22/image_10122025_02_22_45_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/02/22/image_10122025_02_22_34_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/02/22/image_10122025_02_22_25_10635.jpg', 2), ('/home/nano/Desktop/images/10122025/02/22/image_10122025_02_22_14_9623.jpg', 2), ('/home/nano/Desktop/images/10122025/02/21/image_10122025_02_21_44_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/02/21/image_10122025_02_21_25_10619.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 02:23:31.903935 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/02/23/image_10122025_02_23_35_10623.jpg', 2), ('/home/nano/Desktop/images/10122025/02/23/image_10122025_02_23_15_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/02/22/image_10122025_02_23_04_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/02/22/image_10122025_02_22_55_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/02/22/image_10122025_02_22_45_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/02/22/image_10122025_02_22_34_9606.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 02:24:02.570456 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/02/23/image_10122025_02_23_35_10623.jpg', 2), ('/home/nano/Desktop/images/10122025/02/23/image_10122025_02_23_15_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/02/22/image_10122025_02_23_04_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/02/22/image_10122025_02_22_55_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/02/22/image_10122025_02_22_45_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/02/22/image_10122025_02_22_34_9606.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 02:24:31.999716 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/02/24/image_10122025_02_24_15_9614.jpg', 2), ('/home/nano/Desktop/images/10122025/02/23/image_10122025_02_24_05_10633.jpg', 2), ('/home/nano/Desktop/images/10122025/02/23/image_10122025_02_23_45_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/02/23/image_10122025_02_23_35_10623.jpg', 2), ('/home/nano/Desktop/images/10122025/02/23/image_10122025_02_23_15_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/02/22/image_10122025_02_23_04_9609.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 02:25:02.475767 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/02/24/image_10122025_02_24_15_9614.jpg', 2), ('/home/nano/Desktop/images/10122025/02/23/image_10122025_02_24_05_10633.jpg', 2), ('/home/nano/Desktop/images/10122025/02/23/image_10122025_02_23_45_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/02/23/image_10122025_02_23_35_10623.jpg', 2), ('/home/nano/Desktop/images/10122025/02/23/image_10122025_02_23_15_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/02/22/image_10122025_02_23_04_9609.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 02:25:32.108103 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/02/25/image_10122025_02_25_34_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/02/25/image_10122025_02_25_25_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/02/25/image_10122025_02_25_14_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/02/24/image_10122025_02_25_05_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/02/24/image_10122025_02_24_55_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/02/24/image_10122025_02_24_15_9614.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 02:26:02.597791 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/02/26/image_10122025_02_26_54_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/02/25/image_10122025_02_25_34_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/02/25/image_10122025_02_25_25_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/02/25/image_10122025_02_25_14_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/02/24/image_10122025_02_25_05_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/02/24/image_10122025_02_24_55_10616.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 02:26:32.201145 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/02/26/image_10122025_02_26_54_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/02/26/image_10122025_02_26_34_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/02/26/image_10122025_02_26_25_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/02/26/image_10122025_02_26_15_10633.jpg', 2), ('/home/nano/Desktop/images/10122025/02/25/image_10122025_02_25_45_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/02/25/image_10122025_02_25_34_9608.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 02:27:02.694031 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/02/26/image_10122025_02_26_54_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/02/26/image_10122025_02_26_34_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/02/26/image_10122025_02_26_25_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/02/26/image_10122025_02_26_15_10633.jpg', 2), ('/home/nano/Desktop/images/10122025/02/25/image_10122025_02_25_45_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/02/25/image_10122025_02_25_34_9608.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 02:27:32.278726 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/02/27/image_10122025_02_27_35_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/02/27/image_10122025_02_27_15_9624.jpg', 2), ('/home/nano/Desktop/images/10122025/02/26/image_10122025_02_27_05_10623.jpg', 2), ('/home/nano/Desktop/images/10122025/02/26/image_10122025_02_26_54_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/02/26/image_10122025_02_26_45_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/02/26/image_10122025_02_26_34_9605.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 02:28:02.662121 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/02/27/image_10122025_02_27_35_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/02/27/image_10122025_02_27_15_9624.jpg', 2), ('/home/nano/Desktop/images/10122025/02/26/image_10122025_02_27_05_10623.jpg', 2), ('/home/nano/Desktop/images/10122025/02/26/image_10122025_02_26_54_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/02/26/image_10122025_02_26_45_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/02/26/image_10122025_02_26_34_9605.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 02:28:32.402858 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/02/28/image_10122025_02_28_44_9614.jpg', 2), ('/home/nano/Desktop/images/10122025/02/28/image_10122025_02_28_35_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/02/28/image_10122025_02_28_25_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/02/28/image_10122025_02_28_14_9638.jpg', 2), ('/home/nano/Desktop/images/10122025/02/27/image_10122025_02_28_05_9629.jpg', 2), ('/home/nano/Desktop/images/10122025/02/27/image_10122025_02_27_44_9605.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 02:29:03.107623 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/02/28/image_10122025_02_28_44_9614.jpg', 2), ('/home/nano/Desktop/images/10122025/02/28/image_10122025_02_28_35_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/02/28/image_10122025_02_28_25_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/02/28/image_10122025_02_28_14_9638.jpg', 2), ('/home/nano/Desktop/images/10122025/02/27/image_10122025_02_28_05_9629.jpg', 2), ('/home/nano/Desktop/images/10122025/02/27/image_10122025_02_27_44_9605.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 02:29:32.485750 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/02/29/image_10122025_02_29_45_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/02/29/image_10122025_02_29_34_9612.jpg', 2), ('/home/nano/Desktop/images/10122025/02/29/image_10122025_02_29_25_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/02/29/image_10122025_02_29_15_10632.jpg', 2), ('/home/nano/Desktop/images/10122025/02/28/image_10122025_02_28_55_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/02/28/image_10122025_02_28_44_9614.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 02:30:02.835473 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/02/29/image_10122025_02_29_45_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/02/29/image_10122025_02_29_34_9612.jpg', 2), ('/home/nano/Desktop/images/10122025/02/29/image_10122025_02_29_25_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/02/29/image_10122025_02_29_15_10632.jpg', 2), ('/home/nano/Desktop/images/10122025/02/28/image_10122025_02_28_55_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/02/28/image_10122025_02_28_44_9614.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 02:30:32.615835 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/02/30/image_10122025_02_30_35_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/02/30/image_10122025_02_30_24_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/02/30/image_10122025_02_30_15_10632.jpg', 2), ('/home/nano/Desktop/images/10122025/02/29/image_10122025_02_30_04_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/02/29/image_10122025_02_29_54_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/02/29/image_10122025_02_29_45_10617.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 02:31:03.263454 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/02/30/image_10122025_02_30_35_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/02/30/image_10122025_02_30_24_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/02/30/image_10122025_02_30_15_10632.jpg', 2), ('/home/nano/Desktop/images/10122025/02/29/image_10122025_02_30_04_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/02/29/image_10122025_02_29_54_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/02/29/image_10122025_02_29_45_10617.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 02:31:32.783745 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/02/31/image_10122025_02_31_25_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/02/30/image_10122025_02_30_54_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/02/30/image_10122025_02_30_35_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/02/30/image_10122025_02_30_24_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/02/30/image_10122025_02_30_15_10632.jpg', 2), ('/home/nano/Desktop/images/10122025/02/29/image_10122025_02_30_04_9608.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 02:32:02.148035 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/02/31/image_10122025_02_31_25_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/02/30/image_10122025_02_30_54_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/02/30/image_10122025_02_30_35_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/02/30/image_10122025_02_30_24_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/02/30/image_10122025_02_30_15_10632.jpg', 2), ('/home/nano/Desktop/images/10122025/02/29/image_10122025_02_30_04_9608.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 02:32:31.807992 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/02/32/image_10122025_02_32_34_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/02/32/image_10122025_02_32_14_9623.jpg', 2), ('/home/nano/Desktop/images/10122025/02/31/image_10122025_02_31_35_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/02/31/image_10122025_02_31_25_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/02/30/image_10122025_02_30_54_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/02/30/image_10122025_02_30_35_10617.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 02:33:02.422500 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/02/32/image_10122025_02_32_34_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/02/32/image_10122025_02_32_14_9623.jpg', 2), ('/home/nano/Desktop/images/10122025/02/31/image_10122025_02_31_35_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/02/31/image_10122025_02_31_25_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/02/30/image_10122025_02_30_54_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/02/30/image_10122025_02_30_35_10617.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 02:33:31.887174 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/02/33/image_10122025_02_33_45_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/02/33/image_10122025_02_33_24_9624.jpg', 2), ('/home/nano/Desktop/images/10122025/02/32/image_10122025_02_33_04_9637.jpg', 2), ('/home/nano/Desktop/images/10122025/02/32/image_10122025_02_32_45_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/02/32/image_10122025_02_32_34_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/02/32/image_10122025_02_32_14_9623.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 02:34:02.695956 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/02/33/image_10122025_02_33_45_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/02/33/image_10122025_02_33_24_9624.jpg', 2), ('/home/nano/Desktop/images/10122025/02/32/image_10122025_02_33_04_9637.jpg', 2), ('/home/nano/Desktop/images/10122025/02/32/image_10122025_02_32_45_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/02/32/image_10122025_02_32_34_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/02/32/image_10122025_02_32_14_9623.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 02:34:32.006356 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/02/34/image_10122025_02_34_35_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/02/34/image_10122025_02_34_24_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/02/34/image_10122025_02_34_15_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/02/33/image_10122025_02_34_05_10643.jpg', 2), ('/home/nano/Desktop/images/10122025/02/33/image_10122025_02_33_54_9624.jpg', 2), ('/home/nano/Desktop/images/10122025/02/33/image_10122025_02_33_45_9606.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 02:35:02.634877 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/02/34/image_10122025_02_34_35_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/02/34/image_10122025_02_34_24_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/02/34/image_10122025_02_34_15_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/02/33/image_10122025_02_34_05_10643.jpg', 2), ('/home/nano/Desktop/images/10122025/02/33/image_10122025_02_33_54_9624.jpg', 2), ('/home/nano/Desktop/images/10122025/02/33/image_10122025_02_33_45_9606.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 02:35:32.134456 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/02/35/image_10122025_02_35_44_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/02/35/image_10122025_02_35_14_9633.jpg', 2), ('/home/nano/Desktop/images/10122025/02/34/image_10122025_02_35_05_9615.jpg', 2), ('/home/nano/Desktop/images/10122025/02/34/image_10122025_02_34_55_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/02/34/image_10122025_02_34_35_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/02/34/image_10122025_02_34_24_9608.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 02:36:02.588808 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/02/35/image_10122025_02_35_44_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/02/35/image_10122025_02_35_14_9633.jpg', 2), ('/home/nano/Desktop/images/10122025/02/34/image_10122025_02_35_05_9615.jpg', 2), ('/home/nano/Desktop/images/10122025/02/34/image_10122025_02_34_55_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/02/34/image_10122025_02_34_35_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/02/34/image_10122025_02_34_24_9608.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 02:36:32.210095 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/02/36/image_10122025_02_36_45_10635.jpg', 2), ('/home/nano/Desktop/images/10122025/02/36/image_10122025_02_36_34_9614.jpg', 2), ('/home/nano/Desktop/images/10122025/02/36/image_10122025_02_36_15_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/02/35/image_10122025_02_36_04_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/02/35/image_10122025_02_35_55_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/02/35/image_10122025_02_35_44_9610.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 02:37:02.880331 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/02/36/image_10122025_02_36_45_10635.jpg', 2), ('/home/nano/Desktop/images/10122025/02/36/image_10122025_02_36_34_9614.jpg', 2), ('/home/nano/Desktop/images/10122025/02/36/image_10122025_02_36_15_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/02/35/image_10122025_02_36_04_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/02/35/image_10122025_02_35_55_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/02/35/image_10122025_02_35_44_9610.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 02:37:32.404452 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/02/37/image_10122025_02_37_44_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/02/37/image_10122025_02_37_35_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/02/37/image_10122025_02_37_24_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/02/36/image_10122025_02_37_05_10619.jpg', 2), ('/home/nano/Desktop/images/10122025/02/36/image_10122025_02_36_54_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/02/36/image_10122025_02_36_45_10635.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 02:38:02.686208 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/02/37/image_10122025_02_37_44_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/02/37/image_10122025_02_37_35_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/02/37/image_10122025_02_37_24_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/02/36/image_10122025_02_37_05_10619.jpg', 2), ('/home/nano/Desktop/images/10122025/02/36/image_10122025_02_36_54_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/02/36/image_10122025_02_36_45_10635.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 02:38:32.440463 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/02/38/image_10122025_02_38_44_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/02/38/image_10122025_02_38_35_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/02/38/image_10122025_02_38_25_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/02/37/image_10122025_02_37_54_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/02/37/image_10122025_02_37_44_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/02/37/image_10122025_02_37_35_10617.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 02:39:03.388330 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/02/38/image_10122025_02_38_44_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/02/38/image_10122025_02_38_35_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/02/38/image_10122025_02_38_25_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/02/37/image_10122025_02_37_54_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/02/37/image_10122025_02_37_44_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/02/37/image_10122025_02_37_35_10617.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 02:39:32.527435 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/02/38/image_10122025_02_38_44_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/02/38/image_10122025_02_38_35_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/02/38/image_10122025_02_38_25_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/02/37/image_10122025_02_37_54_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/02/37/image_10122025_02_37_44_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/02/37/image_10122025_02_37_35_10617.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 02:40:03.023569 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/02/38/image_10122025_02_38_44_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/02/38/image_10122025_02_38_35_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/02/38/image_10122025_02_38_25_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/02/37/image_10122025_02_37_54_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/02/37/image_10122025_02_37_44_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/02/37/image_10122025_02_37_35_10617.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 02:40:32.683512 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/02/40/image_10122025_02_40_45_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/02/40/image_10122025_02_40_35_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/02/40/image_10122025_02_40_24_9625.jpg', 2), ('/home/nano/Desktop/images/10122025/02/40/image_10122025_02_40_15_10634.jpg', 2), ('/home/nano/Desktop/images/10122025/02/39/image_10122025_02_40_04_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/02/38/image_10122025_02_38_55_10617.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 02:41:03.181561 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/02/40/image_10122025_02_40_45_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/02/40/image_10122025_02_40_35_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/02/40/image_10122025_02_40_24_9625.jpg', 2), ('/home/nano/Desktop/images/10122025/02/40/image_10122025_02_40_15_10634.jpg', 2), ('/home/nano/Desktop/images/10122025/02/39/image_10122025_02_40_04_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/02/38/image_10122025_02_38_55_10617.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 02:41:32.742055 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/02/41/image_10122025_02_41_44_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/02/41/image_10122025_02_41_35_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/02/41/image_10122025_02_41_25_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/02/41/image_10122025_02_41_14_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/02/40/image_10122025_02_41_05_10619.jpg', 2), ('/home/nano/Desktop/images/10122025/02/40/image_10122025_02_40_54_9608.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 02:42:02.220348 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/02/41/image_10122025_02_41_44_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/02/41/image_10122025_02_41_35_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/02/41/image_10122025_02_41_25_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/02/41/image_10122025_02_41_14_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/02/40/image_10122025_02_41_05_10619.jpg', 2), ('/home/nano/Desktop/images/10122025/02/40/image_10122025_02_40_54_9608.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 02:42:31.845607 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/02/42/image_10122025_02_42_34_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/02/42/image_10122025_02_42_14_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/02/41/image_10122025_02_42_05_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/02/41/image_10122025_02_41_55_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/02/41/image_10122025_02_41_44_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/02/41/image_10122025_02_41_35_9607.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 02:43:02.517852 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/02/42/image_10122025_02_42_34_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/02/42/image_10122025_02_42_14_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/02/41/image_10122025_02_42_05_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/02/41/image_10122025_02_41_55_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/02/41/image_10122025_02_41_44_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/02/41/image_10122025_02_41_35_9607.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 02:43:31.935919 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/02/43/image_10122025_02_43_34_9623.jpg', 2), ('/home/nano/Desktop/images/10122025/02/42/image_10122025_02_43_04_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/02/42/image_10122025_02_42_55_9625.jpg', 2), ('/home/nano/Desktop/images/10122025/02/42/image_10122025_02_42_34_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/02/42/image_10122025_02_42_14_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/02/41/image_10122025_02_42_05_9619.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 02:44:02.625146 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/02/43/image_10122025_02_43_34_9623.jpg', 2), ('/home/nano/Desktop/images/10122025/02/42/image_10122025_02_43_04_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/02/42/image_10122025_02_42_55_9625.jpg', 2), ('/home/nano/Desktop/images/10122025/02/42/image_10122025_02_42_34_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/02/42/image_10122025_02_42_14_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/02/41/image_10122025_02_42_05_9619.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 02:44:32.051596 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/02/44/image_10122025_02_44_44_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/02/44/image_10122025_02_44_35_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/02/44/image_10122025_02_44_24_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/02/44/image_10122025_02_44_15_9612.jpg', 2), ('/home/nano/Desktop/images/10122025/02/43/image_10122025_02_43_54_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/02/43/image_10122025_02_43_34_9623.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 02:45:02.707160 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/02/44/image_10122025_02_44_44_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/02/44/image_10122025_02_44_35_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/02/44/image_10122025_02_44_24_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/02/44/image_10122025_02_44_15_9612.jpg', 2), ('/home/nano/Desktop/images/10122025/02/43/image_10122025_02_43_54_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/02/43/image_10122025_02_43_34_9623.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 02:45:32.157467 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/02/45/image_10122025_02_45_14_9629.jpg', 2), ('/home/nano/Desktop/images/10122025/02/44/image_10122025_02_45_05_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/02/44/image_10122025_02_44_55_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/02/44/image_10122025_02_44_44_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/02/44/image_10122025_02_44_35_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/02/44/image_10122025_02_44_24_9609.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 02:46:02.618273 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/02/45/image_10122025_02_45_14_9629.jpg', 2), ('/home/nano/Desktop/images/10122025/02/44/image_10122025_02_45_05_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/02/44/image_10122025_02_44_55_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/02/44/image_10122025_02_44_44_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/02/44/image_10122025_02_44_35_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/02/44/image_10122025_02_44_24_9609.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 02:46:32.314131 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/02/46/image_10122025_02_46_15_10633.jpg', 2), ('/home/nano/Desktop/images/10122025/02/45/image_10122025_02_46_04_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/02/45/image_10122025_02_45_55_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/02/45/image_10122025_02_45_14_9629.jpg', 2), ('/home/nano/Desktop/images/10122025/02/44/image_10122025_02_45_05_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/02/44/image_10122025_02_44_55_10616.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 02:47:02.855487 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/02/46/image_10122025_02_46_15_10633.jpg', 2), ('/home/nano/Desktop/images/10122025/02/45/image_10122025_02_46_04_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/02/45/image_10122025_02_45_55_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/02/45/image_10122025_02_45_14_9629.jpg', 2), ('/home/nano/Desktop/images/10122025/02/44/image_10122025_02_45_05_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/02/44/image_10122025_02_44_55_10616.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 02:47:32.419477 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/02/46/image_10122025_02_47_05_10631.jpg', 2), ('/home/nano/Desktop/images/10122025/02/46/image_10122025_02_46_25_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/02/46/image_10122025_02_46_15_10633.jpg', 2), ('/home/nano/Desktop/images/10122025/02/45/image_10122025_02_46_04_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/02/45/image_10122025_02_45_55_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/02/45/image_10122025_02_45_14_9629.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 02:48:02.846867 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/02/46/image_10122025_02_47_05_10631.jpg', 2), ('/home/nano/Desktop/images/10122025/02/46/image_10122025_02_46_25_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/02/46/image_10122025_02_46_15_10633.jpg', 2), ('/home/nano/Desktop/images/10122025/02/45/image_10122025_02_46_04_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/02/45/image_10122025_02_45_55_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/02/45/image_10122025_02_45_14_9629.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 02:48:32.493925 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/02/48/image_10122025_02_48_44_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/02/48/image_10122025_02_48_25_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/02/48/image_10122025_02_48_14_9641.jpg', 2), ('/home/nano/Desktop/images/10122025/02/47/image_10122025_02_47_54_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/02/46/image_10122025_02_47_05_10631.jpg', 2), ('/home/nano/Desktop/images/10122025/02/46/image_10122025_02_46_25_9605.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 02:49:03.257009 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/02/48/image_10122025_02_48_44_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/02/48/image_10122025_02_48_25_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/02/48/image_10122025_02_48_14_9641.jpg', 2), ('/home/nano/Desktop/images/10122025/02/47/image_10122025_02_47_54_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/02/46/image_10122025_02_47_05_10631.jpg', 2), ('/home/nano/Desktop/images/10122025/02/46/image_10122025_02_46_25_9605.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 02:49:32.636628 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/02/49/image_10122025_02_49_34_9623.jpg', 2), ('/home/nano/Desktop/images/10122025/02/49/image_10122025_02_49_25_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/02/49/image_10122025_02_49_15_10629.jpg', 2), ('/home/nano/Desktop/images/10122025/02/48/image_10122025_02_49_04_9612.jpg', 2), ('/home/nano/Desktop/images/10122025/02/48/image_10122025_02_48_55_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/02/48/image_10122025_02_48_44_9608.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 02:50:03.094002 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/02/49/image_10122025_02_49_34_9623.jpg', 2), ('/home/nano/Desktop/images/10122025/02/49/image_10122025_02_49_25_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/02/49/image_10122025_02_49_15_10629.jpg', 2), ('/home/nano/Desktop/images/10122025/02/48/image_10122025_02_49_04_9612.jpg', 2), ('/home/nano/Desktop/images/10122025/02/48/image_10122025_02_48_55_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/02/48/image_10122025_02_48_44_9608.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 02:50:32.732431 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/02/50/image_10122025_02_50_35_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/02/49/image_10122025_02_50_04_9626.jpg', 2), ('/home/nano/Desktop/images/10122025/02/49/image_10122025_02_49_55_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/02/49/image_10122025_02_49_34_9623.jpg', 2), ('/home/nano/Desktop/images/10122025/02/49/image_10122025_02_49_25_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/02/49/image_10122025_02_49_15_10629.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 02:51:02.266460 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/02/50/image_10122025_02_50_35_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/02/49/image_10122025_02_50_04_9626.jpg', 2), ('/home/nano/Desktop/images/10122025/02/49/image_10122025_02_49_55_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/02/49/image_10122025_02_49_34_9623.jpg', 2), ('/home/nano/Desktop/images/10122025/02/49/image_10122025_02_49_25_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/02/49/image_10122025_02_49_15_10629.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 02:51:31.814064 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/02/51/image_10122025_02_51_24_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/02/51/image_10122025_02_51_14_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/02/50/image_10122025_02_50_54_9623.jpg', 2), ('/home/nano/Desktop/images/10122025/02/50/image_10122025_02_50_35_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/02/49/image_10122025_02_50_04_9626.jpg', 2), ('/home/nano/Desktop/images/10122025/02/49/image_10122025_02_49_55_9605.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 02:52:02.188406 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/02/51/image_10122025_02_51_24_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/02/51/image_10122025_02_51_14_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/02/50/image_10122025_02_50_54_9623.jpg', 2), ('/home/nano/Desktop/images/10122025/02/50/image_10122025_02_50_35_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/02/49/image_10122025_02_50_04_9626.jpg', 2), ('/home/nano/Desktop/images/10122025/02/49/image_10122025_02_49_55_9605.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 02:52:31.942388 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/02/52/image_10122025_02_52_34_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/02/52/image_10122025_02_52_14_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/02/51/image_10122025_02_52_05_9625.jpg', 2), ('/home/nano/Desktop/images/10122025/02/51/image_10122025_02_51_55_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/02/51/image_10122025_02_51_24_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/02/51/image_10122025_02_51_14_9622.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 02:53:02.260812 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/02/52/image_10122025_02_52_34_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/02/52/image_10122025_02_52_14_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/02/51/image_10122025_02_52_05_9625.jpg', 2), ('/home/nano/Desktop/images/10122025/02/51/image_10122025_02_51_55_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/02/51/image_10122025_02_51_24_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/02/51/image_10122025_02_51_14_9622.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 02:53:32.005013 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/02/53/image_10122025_02_53_15_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/02/52/image_10122025_02_52_45_10621.jpg', 2), ('/home/nano/Desktop/images/10122025/02/52/image_10122025_02_52_34_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/02/52/image_10122025_02_52_14_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/02/51/image_10122025_02_52_05_9625.jpg', 2), ('/home/nano/Desktop/images/10122025/02/51/image_10122025_02_51_55_10617.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 02:54:02.699474 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/02/53/image_10122025_02_53_15_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/02/52/image_10122025_02_52_45_10621.jpg', 2), ('/home/nano/Desktop/images/10122025/02/52/image_10122025_02_52_34_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/02/52/image_10122025_02_52_14_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/02/51/image_10122025_02_52_05_9625.jpg', 2), ('/home/nano/Desktop/images/10122025/02/51/image_10122025_02_51_55_10617.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 02:54:32.118491 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/02/54/image_10122025_02_54_24_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/02/53/image_10122025_02_54_05_10621.jpg', 2), ('/home/nano/Desktop/images/10122025/02/53/image_10122025_02_53_54_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/02/53/image_10122025_02_53_15_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/02/52/image_10122025_02_52_45_10621.jpg', 2), ('/home/nano/Desktop/images/10122025/02/52/image_10122025_02_52_34_9607.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 02:55:02.738551 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/02/54/image_10122025_02_54_24_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/02/53/image_10122025_02_54_05_10621.jpg', 2), ('/home/nano/Desktop/images/10122025/02/53/image_10122025_02_53_54_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/02/53/image_10122025_02_53_15_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/02/52/image_10122025_02_52_45_10621.jpg', 2), ('/home/nano/Desktop/images/10122025/02/52/image_10122025_02_52_34_9607.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 02:55:32.233661 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/02/55/image_10122025_02_55_44_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/02/55/image_10122025_02_55_35_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/02/55/image_10122025_02_55_25_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/02/55/image_10122025_02_55_14_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/02/54/image_10122025_02_55_05_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/02/54/image_10122025_02_54_55_10620.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 02:56:02.588768 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/02/55/image_10122025_02_55_44_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/02/55/image_10122025_02_55_35_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/02/55/image_10122025_02_55_25_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/02/55/image_10122025_02_55_14_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/02/54/image_10122025_02_55_05_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/02/54/image_10122025_02_54_55_10620.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 02:56:32.287790 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/02/56/image_10122025_02_56_25_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/02/55/image_10122025_02_56_04_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/02/55/image_10122025_02_55_55_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/02/55/image_10122025_02_55_44_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/02/55/image_10122025_02_55_35_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/02/55/image_10122025_02_55_25_10614.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 02:57:02.755362 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/02/56/image_10122025_02_56_25_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/02/55/image_10122025_02_56_04_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/02/55/image_10122025_02_55_55_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/02/55/image_10122025_02_55_44_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/02/55/image_10122025_02_55_35_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/02/55/image_10122025_02_55_25_10614.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 02:57:32.414985 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/02/57/image_10122025_02_57_45_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/02/57/image_10122025_02_57_35_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/02/57/image_10122025_02_57_24_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/02/57/image_10122025_02_57_15_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/02/56/image_10122025_02_56_54_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/02/56/image_10122025_02_56_25_9608.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 02:58:02.922465 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/02/57/image_10122025_02_57_45_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/02/57/image_10122025_02_57_35_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/02/57/image_10122025_02_57_24_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/02/57/image_10122025_02_57_15_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/02/56/image_10122025_02_56_54_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/02/56/image_10122025_02_56_25_9608.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 02:59:03.110391 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/02/58/image_10122025_02_58_44_9615.jpg', 2), ('/home/nano/Desktop/images/10122025/02/58/image_10122025_02_58_35_9603.jpg', 2), ('/home/nano/Desktop/images/10122025/02/58/image_10122025_02_58_25_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/02/57/image_10122025_02_58_05_10645.jpg', 2), ('/home/nano/Desktop/images/10122025/02/57/image_10122025_02_57_54_9635.jpg', 2), ('/home/nano/Desktop/images/10122025/02/57/image_10122025_02_57_45_9606.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 02:59:32.333115 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/02/59/image_10122025_02_59_45_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/02/59/image_10122025_02_59_34_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/02/59/image_10122025_02_59_25_10619.jpg', 2), ('/home/nano/Desktop/images/10122025/02/58/image_10122025_02_59_05_9639.jpg', 2), ('/home/nano/Desktop/images/10122025/02/58/image_10122025_02_58_55_10632.jpg', 2), ('/home/nano/Desktop/images/10122025/02/58/image_10122025_02_58_44_9615.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 03:00:02.859690 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/02/59/image_10122025_02_59_45_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/02/59/image_10122025_02_59_34_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/02/59/image_10122025_02_59_25_10619.jpg', 2), ('/home/nano/Desktop/images/10122025/02/58/image_10122025_02_59_05_9639.jpg', 2), ('/home/nano/Desktop/images/10122025/02/58/image_10122025_02_58_55_10632.jpg', 2), ('/home/nano/Desktop/images/10122025/02/58/image_10122025_02_58_44_9615.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 03:00:32.503889 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/03/00/image_10122025_03_00_45_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/03/00/image_10122025_03_00_35_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/03/00/image_10122025_03_00_15_10653.jpg', 2), ('/home/nano/Desktop/images/10122025/02/59/image_10122025_02_59_55_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/02/59/image_10122025_02_59_45_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/02/59/image_10122025_02_59_34_9608.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 03:01:03.078158 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/03/00/image_10122025_03_00_45_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/03/00/image_10122025_03_00_35_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/03/00/image_10122025_03_00_15_10653.jpg', 2), ('/home/nano/Desktop/images/10122025/02/59/image_10122025_02_59_55_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/02/59/image_10122025_02_59_45_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/02/59/image_10122025_02_59_34_9608.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 03:01:32.585234 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/03/01/image_10122025_03_01_35_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/03/01/image_10122025_03_01_24_9624.jpg', 2), ('/home/nano/Desktop/images/10122025/03/01/image_10122025_03_01_15_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/03/00/image_10122025_03_01_05_10620.jpg', 2), ('/home/nano/Desktop/images/10122025/03/00/image_10122025_03_00_54_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/03/00/image_10122025_03_00_45_9608.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 03:02:02.089222 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/03/01/image_10122025_03_01_35_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/03/01/image_10122025_03_01_24_9624.jpg', 2), ('/home/nano/Desktop/images/10122025/03/01/image_10122025_03_01_15_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/03/00/image_10122025_03_01_05_10620.jpg', 2), ('/home/nano/Desktop/images/10122025/03/00/image_10122025_03_00_54_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/03/00/image_10122025_03_00_45_9608.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 03:02:31.764544 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/03/02/image_10122025_03_02_44_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/03/02/image_10122025_03_02_35_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/03/02/image_10122025_03_02_14_9623.jpg', 2), ('/home/nano/Desktop/images/10122025/03/01/image_10122025_03_01_44_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/03/01/image_10122025_03_01_35_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/03/01/image_10122025_03_01_24_9624.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 03:03:02.292432 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/03/02/image_10122025_03_02_44_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/03/02/image_10122025_03_02_35_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/03/02/image_10122025_03_02_14_9623.jpg', 2), ('/home/nano/Desktop/images/10122025/03/01/image_10122025_03_01_44_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/03/01/image_10122025_03_01_35_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/03/01/image_10122025_03_01_24_9624.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 03:03:31.868192 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/03/03/image_10122025_03_03_45_10620.jpg', 2), ('/home/nano/Desktop/images/10122025/03/03/image_10122025_03_03_34_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/03/03/image_10122025_03_03_25_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/03/03/image_10122025_03_03_15_10626.jpg', 2), ('/home/nano/Desktop/images/10122025/03/02/image_10122025_03_03_04_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/03/02/image_10122025_03_02_55_10616.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 03:04:02.613344 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/03/03/image_10122025_03_03_45_10620.jpg', 2), ('/home/nano/Desktop/images/10122025/03/03/image_10122025_03_03_34_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/03/03/image_10122025_03_03_25_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/03/03/image_10122025_03_03_15_10626.jpg', 2), ('/home/nano/Desktop/images/10122025/03/02/image_10122025_03_03_04_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/03/02/image_10122025_03_02_55_10616.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 03:04:32.031957 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/03/04/image_10122025_03_04_45_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/03/04/image_10122025_03_04_24_9624.jpg', 2), ('/home/nano/Desktop/images/10122025/03/03/image_10122025_03_04_05_10627.jpg', 2), ('/home/nano/Desktop/images/10122025/03/03/image_10122025_03_03_54_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/03/03/image_10122025_03_03_45_10620.jpg', 2), ('/home/nano/Desktop/images/10122025/03/03/image_10122025_03_03_34_9607.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 03:05:02.616645 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/03/04/image_10122025_03_04_45_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/03/04/image_10122025_03_04_24_9624.jpg', 2), ('/home/nano/Desktop/images/10122025/03/03/image_10122025_03_04_05_10627.jpg', 2), ('/home/nano/Desktop/images/10122025/03/03/image_10122025_03_03_54_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/03/03/image_10122025_03_03_45_10620.jpg', 2), ('/home/nano/Desktop/images/10122025/03/03/image_10122025_03_03_34_9607.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 03:05:32.099562 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/03/05/image_10122025_03_05_25_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/03/04/image_10122025_03_04_54_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/03/04/image_10122025_03_04_45_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/03/04/image_10122025_03_04_24_9624.jpg', 2), ('/home/nano/Desktop/images/10122025/03/03/image_10122025_03_04_05_10627.jpg', 2), ('/home/nano/Desktop/images/10122025/03/03/image_10122025_03_03_54_9604.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 03:06:02.673717 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/03/05/image_10122025_03_05_25_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/03/04/image_10122025_03_04_54_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/03/04/image_10122025_03_04_45_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/03/04/image_10122025_03_04_24_9624.jpg', 2), ('/home/nano/Desktop/images/10122025/03/03/image_10122025_03_04_05_10627.jpg', 2), ('/home/nano/Desktop/images/10122025/03/03/image_10122025_03_03_54_9604.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 03:06:32.254983 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/03/06/image_10122025_03_06_45_10622.jpg', 2), ('/home/nano/Desktop/images/10122025/03/06/image_10122025_03_06_25_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/03/06/image_10122025_03_06_15_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/03/05/image_10122025_03_06_04_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/03/05/image_10122025_03_05_35_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/03/05/image_10122025_03_05_25_10617.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 03:07:02.848810 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/03/06/image_10122025_03_06_45_10622.jpg', 2), ('/home/nano/Desktop/images/10122025/03/06/image_10122025_03_06_25_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/03/06/image_10122025_03_06_15_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/03/05/image_10122025_03_06_04_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/03/05/image_10122025_03_05_35_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/03/05/image_10122025_03_05_25_10617.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 03:07:32.334334 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/03/07/image_10122025_03_07_45_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/03/07/image_10122025_03_07_24_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/03/07/image_10122025_03_07_15_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/03/06/image_10122025_03_06_55_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/03/06/image_10122025_03_06_45_10622.jpg', 2), ('/home/nano/Desktop/images/10122025/03/06/image_10122025_03_06_25_9606.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 03:08:02.808181 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/03/07/image_10122025_03_07_45_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/03/07/image_10122025_03_07_24_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/03/07/image_10122025_03_07_15_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/03/06/image_10122025_03_06_55_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/03/06/image_10122025_03_06_45_10622.jpg', 2), ('/home/nano/Desktop/images/10122025/03/06/image_10122025_03_06_25_9606.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 03:08:32.514280 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/03/08/image_10122025_03_08_44_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/03/08/image_10122025_03_08_25_10621.jpg', 2), ('/home/nano/Desktop/images/10122025/03/08/image_10122025_03_08_14_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/03/07/image_10122025_03_08_05_10620.jpg', 2), ('/home/nano/Desktop/images/10122025/03/07/image_10122025_03_07_54_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/03/07/image_10122025_03_07_45_9606.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 03:09:03.356500 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/03/08/image_10122025_03_08_44_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/03/08/image_10122025_03_08_25_10621.jpg', 2), ('/home/nano/Desktop/images/10122025/03/08/image_10122025_03_08_14_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/03/07/image_10122025_03_08_05_10620.jpg', 2), ('/home/nano/Desktop/images/10122025/03/07/image_10122025_03_07_54_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/03/07/image_10122025_03_07_45_9606.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 03:09:32.613217 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/03/09/image_10122025_03_09_45_10619.jpg', 2), ('/home/nano/Desktop/images/10122025/03/09/image_10122025_03_09_34_9612.jpg', 2), ('/home/nano/Desktop/images/10122025/03/09/image_10122025_03_09_25_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/03/08/image_10122025_03_09_05_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/03/08/image_10122025_03_08_55_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/03/08/image_10122025_03_08_44_9610.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 03:10:02.962542 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/03/09/image_10122025_03_09_45_10619.jpg', 2), ('/home/nano/Desktop/images/10122025/03/09/image_10122025_03_09_34_9612.jpg', 2), ('/home/nano/Desktop/images/10122025/03/09/image_10122025_03_09_25_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/03/08/image_10122025_03_09_05_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/03/08/image_10122025_03_08_55_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/03/08/image_10122025_03_08_44_9610.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 03:10:32.691816 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/03/10/image_10122025_03_10_35_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/03/10/image_10122025_03_10_24_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/03/10/image_10122025_03_10_15_10632.jpg', 2), ('/home/nano/Desktop/images/10122025/03/09/image_10122025_03_10_04_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/03/09/image_10122025_03_09_55_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/03/09/image_10122025_03_09_45_10619.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 03:11:02.415227 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/03/10/image_10122025_03_10_35_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/03/10/image_10122025_03_10_24_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/03/10/image_10122025_03_10_15_10632.jpg', 2), ('/home/nano/Desktop/images/10122025/03/09/image_10122025_03_10_04_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/03/09/image_10122025_03_09_55_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/03/09/image_10122025_03_09_45_10619.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 03:11:31.802904 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/03/11/image_10122025_03_11_44_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/03/11/image_10122025_03_11_35_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/03/11/image_10122025_03_11_24_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/03/10/image_10122025_03_11_05_10641.jpg', 2), ('/home/nano/Desktop/images/10122025/03/10/image_10122025_03_10_45_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/03/10/image_10122025_03_10_35_10617.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 03:12:02.316995 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/03/11/image_10122025_03_11_44_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/03/11/image_10122025_03_11_35_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/03/11/image_10122025_03_11_24_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/03/10/image_10122025_03_11_05_10641.jpg', 2), ('/home/nano/Desktop/images/10122025/03/10/image_10122025_03_10_45_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/03/10/image_10122025_03_10_35_10617.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 03:12:31.895553 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/03/12/image_10122025_03_12_45_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/03/12/image_10122025_03_12_34_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/03/12/image_10122025_03_12_25_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/03/12/image_10122025_03_12_14_9616.jpg', 2), ('/home/nano/Desktop/images/10122025/03/11/image_10122025_03_12_05_9612.jpg', 2), ('/home/nano/Desktop/images/10122025/03/11/image_10122025_03_11_55_10617.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 03:13:02.565379 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/03/12/image_10122025_03_12_45_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/03/12/image_10122025_03_12_34_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/03/12/image_10122025_03_12_25_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/03/12/image_10122025_03_12_14_9616.jpg', 2), ('/home/nano/Desktop/images/10122025/03/11/image_10122025_03_12_05_9612.jpg', 2), ('/home/nano/Desktop/images/10122025/03/11/image_10122025_03_11_55_10617.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 03:13:32.062506 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/03/13/image_10122025_03_13_25_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/03/13/image_10122025_03_13_15_10629.jpg', 2), ('/home/nano/Desktop/images/10122025/03/12/image_10122025_03_13_04_9613.jpg', 2), ('/home/nano/Desktop/images/10122025/03/12/image_10122025_03_12_55_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/03/12/image_10122025_03_12_45_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/03/12/image_10122025_03_12_34_9621.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 03:14:02.556889 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/03/13/image_10122025_03_13_25_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/03/13/image_10122025_03_13_15_10629.jpg', 2), ('/home/nano/Desktop/images/10122025/03/12/image_10122025_03_13_04_9613.jpg', 2), ('/home/nano/Desktop/images/10122025/03/12/image_10122025_03_12_55_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/03/12/image_10122025_03_12_45_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/03/12/image_10122025_03_12_34_9621.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 03:14:32.139134 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/03/14/image_10122025_03_14_35_10635.jpg', 2), ('/home/nano/Desktop/images/10122025/03/14/image_10122025_03_14_15_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/03/13/image_10122025_03_14_05_10625.jpg', 2), ('/home/nano/Desktop/images/10122025/03/13/image_10122025_03_13_34_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/03/13/image_10122025_03_13_25_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/03/13/image_10122025_03_13_15_10629.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 03:15:02.618425 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/03/14/image_10122025_03_14_35_10635.jpg', 2), ('/home/nano/Desktop/images/10122025/03/14/image_10122025_03_14_15_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/03/13/image_10122025_03_14_05_10625.jpg', 2), ('/home/nano/Desktop/images/10122025/03/13/image_10122025_03_13_34_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/03/13/image_10122025_03_13_25_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/03/13/image_10122025_03_13_15_10629.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 03:15:32.180744 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/03/15/image_10122025_03_15_44_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/03/15/image_10122025_03_15_35_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/03/15/image_10122025_03_15_25_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/03/15/image_10122025_03_15_14_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/03/14/image_10122025_03_15_05_10639.jpg', 2), ('/home/nano/Desktop/images/10122025/03/14/image_10122025_03_14_54_9623.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 03:16:02.552302 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/03/15/image_10122025_03_15_44_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/03/15/image_10122025_03_15_35_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/03/15/image_10122025_03_15_25_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/03/15/image_10122025_03_15_14_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/03/14/image_10122025_03_15_05_10639.jpg', 2), ('/home/nano/Desktop/images/10122025/03/14/image_10122025_03_14_54_9623.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 03:16:32.286676 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/03/16/image_10122025_03_16_34_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/03/16/image_10122025_03_16_25_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/03/16/image_10122025_03_16_15_10629.jpg', 2), ('/home/nano/Desktop/images/10122025/03/15/image_10122025_03_16_04_9613.jpg', 2), ('/home/nano/Desktop/images/10122025/03/15/image_10122025_03_15_55_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/03/15/image_10122025_03_15_44_9609.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 03:17:02.856015 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/03/16/image_10122025_03_16_34_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/03/16/image_10122025_03_16_25_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/03/16/image_10122025_03_16_15_10629.jpg', 2), ('/home/nano/Desktop/images/10122025/03/15/image_10122025_03_16_04_9613.jpg', 2), ('/home/nano/Desktop/images/10122025/03/15/image_10122025_03_15_55_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/03/15/image_10122025_03_15_44_9609.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 03:17:32.373887 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/03/17/image_10122025_03_17_45_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/03/17/image_10122025_03_17_35_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/03/17/image_10122025_03_17_24_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/03/16/image_10122025_03_17_04_9634.jpg', 2), ('/home/nano/Desktop/images/10122025/03/16/image_10122025_03_16_54_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/03/16/image_10122025_03_16_34_9605.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 03:18:02.722976 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/03/17/image_10122025_03_17_45_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/03/17/image_10122025_03_17_35_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/03/17/image_10122025_03_17_24_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/03/16/image_10122025_03_17_04_9634.jpg', 2), ('/home/nano/Desktop/images/10122025/03/16/image_10122025_03_16_54_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/03/16/image_10122025_03_16_34_9605.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 03:18:32.502748 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/03/18/image_10122025_03_18_44_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/03/18/image_10122025_03_18_35_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/03/18/image_10122025_03_18_25_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/03/17/image_10122025_03_18_05_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/03/17/image_10122025_03_17_54_9612.jpg', 2), ('/home/nano/Desktop/images/10122025/03/17/image_10122025_03_17_45_9604.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 03:19:03.349760 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/03/18/image_10122025_03_18_44_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/03/18/image_10122025_03_18_35_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/03/18/image_10122025_03_18_25_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/03/17/image_10122025_03_18_05_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/03/17/image_10122025_03_17_54_9612.jpg', 2), ('/home/nano/Desktop/images/10122025/03/17/image_10122025_03_17_45_9604.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 03:19:32.571634 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/03/19/image_10122025_03_19_45_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/03/19/image_10122025_03_19_14_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/03/18/image_10122025_03_19_05_9612.jpg', 2), ('/home/nano/Desktop/images/10122025/03/18/image_10122025_03_18_55_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/03/18/image_10122025_03_18_44_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/03/18/image_10122025_03_18_35_9609.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 03:20:02.045000 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/03/19/image_10122025_03_19_45_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/03/19/image_10122025_03_19_14_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/03/18/image_10122025_03_19_05_9612.jpg', 2), ('/home/nano/Desktop/images/10122025/03/18/image_10122025_03_18_55_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/03/18/image_10122025_03_18_44_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/03/18/image_10122025_03_18_35_9609.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 03:20:31.749793 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/03/20/image_10122025_03_20_24_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/03/19/image_10122025_03_20_04_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/03/19/image_10122025_03_19_55_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/03/19/image_10122025_03_19_45_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/03/19/image_10122025_03_19_14_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/03/18/image_10122025_03_19_05_9612.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 03:21:02.403804 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/03/20/image_10122025_03_21_05_10628.jpg', 2), ('/home/nano/Desktop/images/10122025/03/20/image_10122025_03_20_24_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/03/19/image_10122025_03_20_04_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/03/19/image_10122025_03_19_55_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/03/19/image_10122025_03_19_45_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/03/19/image_10122025_03_19_14_9620.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 03:21:31.846902 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/03/21/image_10122025_03_21_44_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/03/21/image_10122025_03_21_35_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/03/21/image_10122025_03_21_24_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/03/21/image_10122025_03_21_15_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/03/20/image_10122025_03_21_05_10628.jpg', 2), ('/home/nano/Desktop/images/10122025/03/20/image_10122025_03_20_35_10617.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 03:22:02.253954 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/03/21/image_10122025_03_21_44_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/03/21/image_10122025_03_21_35_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/03/21/image_10122025_03_21_24_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/03/21/image_10122025_03_21_15_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/03/20/image_10122025_03_21_05_10628.jpg', 2), ('/home/nano/Desktop/images/10122025/03/20/image_10122025_03_20_35_10617.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 03:22:31.997710 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/03/22/image_10122025_03_22_34_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/03/22/image_10122025_03_22_25_10619.jpg', 2), ('/home/nano/Desktop/images/10122025/03/21/image_10122025_03_21_55_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/03/21/image_10122025_03_21_44_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/03/21/image_10122025_03_21_35_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/03/21/image_10122025_03_21_24_9607.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 03:23:02.544993 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/03/22/image_10122025_03_22_34_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/03/22/image_10122025_03_22_25_10619.jpg', 2), ('/home/nano/Desktop/images/10122025/03/21/image_10122025_03_21_55_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/03/21/image_10122025_03_21_44_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/03/21/image_10122025_03_21_35_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/03/21/image_10122025_03_21_24_9607.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 03:23:32.055298 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/03/23/image_10122025_03_23_25_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/03/23/image_10122025_03_23_15_10629.jpg', 2), ('/home/nano/Desktop/images/10122025/03/22/image_10122025_03_22_45_10621.jpg', 2), ('/home/nano/Desktop/images/10122025/03/22/image_10122025_03_22_34_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/03/22/image_10122025_03_22_25_10619.jpg', 2), ('/home/nano/Desktop/images/10122025/03/21/image_10122025_03_21_55_10618.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 03:24:02.847740 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/03/23/image_10122025_03_23_25_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/03/23/image_10122025_03_23_15_10629.jpg', 2), ('/home/nano/Desktop/images/10122025/03/22/image_10122025_03_22_45_10621.jpg', 2), ('/home/nano/Desktop/images/10122025/03/22/image_10122025_03_22_34_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/03/22/image_10122025_03_22_25_10619.jpg', 2), ('/home/nano/Desktop/images/10122025/03/21/image_10122025_03_21_55_10618.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 03:24:32.138946 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/03/24/image_10122025_03_24_35_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/03/24/image_10122025_03_24_24_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/03/23/image_10122025_03_24_05_10623.jpg', 2), ('/home/nano/Desktop/images/10122025/03/23/image_10122025_03_23_34_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/03/23/image_10122025_03_23_25_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/03/23/image_10122025_03_23_15_10629.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 03:25:02.602801 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/03/24/image_10122025_03_24_35_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/03/24/image_10122025_03_24_24_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/03/23/image_10122025_03_24_05_10623.jpg', 2), ('/home/nano/Desktop/images/10122025/03/23/image_10122025_03_23_34_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/03/23/image_10122025_03_23_25_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/03/23/image_10122025_03_23_15_10629.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 03:25:32.243060 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/03/25/image_10122025_03_25_44_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/03/25/image_10122025_03_25_34_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/03/25/image_10122025_03_25_25_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/03/24/image_10122025_03_25_05_9613.jpg', 2), ('/home/nano/Desktop/images/10122025/03/24/image_10122025_03_24_55_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/03/24/image_10122025_03_24_35_10615.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 03:26:02.734397 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/03/25/image_10122025_03_25_44_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/03/25/image_10122025_03_25_34_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/03/25/image_10122025_03_25_25_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/03/24/image_10122025_03_25_05_9613.jpg', 2), ('/home/nano/Desktop/images/10122025/03/24/image_10122025_03_24_55_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/03/24/image_10122025_03_24_35_10615.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 03:26:32.411496 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/03/26/image_10122025_03_26_34_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/03/26/image_10122025_03_26_15_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/03/25/image_10122025_03_26_04_9625.jpg', 2), ('/home/nano/Desktop/images/10122025/03/25/image_10122025_03_25_55_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/03/25/image_10122025_03_25_44_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/03/25/image_10122025_03_25_34_9607.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 03:27:02.937666 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/03/26/image_10122025_03_26_34_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/03/26/image_10122025_03_26_15_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/03/25/image_10122025_03_26_04_9625.jpg', 2), ('/home/nano/Desktop/images/10122025/03/25/image_10122025_03_25_55_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/03/25/image_10122025_03_25_44_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/03/25/image_10122025_03_25_34_9607.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 03:27:32.446028 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/03/26/image_10122025_03_27_05_10625.jpg', 2), ('/home/nano/Desktop/images/10122025/03/26/image_10122025_03_26_45_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/03/26/image_10122025_03_26_34_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/03/26/image_10122025_03_26_15_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/03/25/image_10122025_03_26_04_9625.jpg', 2), ('/home/nano/Desktop/images/10122025/03/25/image_10122025_03_25_55_10614.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 03:28:02.853716 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/03/26/image_10122025_03_27_05_10625.jpg', 2), ('/home/nano/Desktop/images/10122025/03/26/image_10122025_03_26_45_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/03/26/image_10122025_03_26_34_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/03/26/image_10122025_03_26_15_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/03/25/image_10122025_03_26_04_9625.jpg', 2), ('/home/nano/Desktop/images/10122025/03/25/image_10122025_03_25_55_10614.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 03:28:32.523936 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/03/28/image_10122025_03_28_44_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/03/28/image_10122025_03_28_25_10613.jpg', 2), ('/home/nano/Desktop/images/10122025/03/28/image_10122025_03_28_14_9623.jpg', 2), ('/home/nano/Desktop/images/10122025/03/27/image_10122025_03_27_15_9614.jpg', 2), ('/home/nano/Desktop/images/10122025/03/26/image_10122025_03_27_05_10625.jpg', 2), ('/home/nano/Desktop/images/10122025/03/26/image_10122025_03_26_45_10615.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 03:29:03.452648 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/03/28/image_10122025_03_28_44_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/03/28/image_10122025_03_28_25_10613.jpg', 2), ('/home/nano/Desktop/images/10122025/03/28/image_10122025_03_28_14_9623.jpg', 2), ('/home/nano/Desktop/images/10122025/03/27/image_10122025_03_27_15_9614.jpg', 2), ('/home/nano/Desktop/images/10122025/03/26/image_10122025_03_27_05_10625.jpg', 2), ('/home/nano/Desktop/images/10122025/03/26/image_10122025_03_26_45_10615.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 03:29:32.664490 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/03/29/image_10122025_03_29_45_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/03/29/image_10122025_03_29_15_10651.jpg', 2), ('/home/nano/Desktop/images/10122025/03/28/image_10122025_03_29_04_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/03/28/image_10122025_03_28_55_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/03/28/image_10122025_03_28_44_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/03/28/image_10122025_03_28_25_10613.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 03:30:02.973208 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/03/29/image_10122025_03_29_45_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/03/29/image_10122025_03_29_15_10651.jpg', 2), ('/home/nano/Desktop/images/10122025/03/28/image_10122025_03_29_04_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/03/28/image_10122025_03_28_55_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/03/28/image_10122025_03_28_44_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/03/28/image_10122025_03_28_25_10613.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 03:30:32.735917 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/03/30/image_10122025_03_30_45_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/03/30/image_10122025_03_30_35_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/03/30/image_10122025_03_30_24_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/03/30/image_10122025_03_30_15_10650.jpg', 2), ('/home/nano/Desktop/images/10122025/03/29/image_10122025_03_30_04_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/03/29/image_10122025_03_29_55_9628.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 03:31:02.395383 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/03/30/image_10122025_03_30_45_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/03/30/image_10122025_03_30_35_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/03/30/image_10122025_03_30_24_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/03/30/image_10122025_03_30_15_10650.jpg', 2), ('/home/nano/Desktop/images/10122025/03/29/image_10122025_03_30_04_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/03/29/image_10122025_03_29_55_9628.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 03:31:31.819377 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/03/31/image_10122025_03_31_44_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/03/31/image_10122025_03_31_35_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/03/30/image_10122025_03_31_05_10620.jpg', 2), ('/home/nano/Desktop/images/10122025/03/30/image_10122025_03_30_54_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/03/30/image_10122025_03_30_45_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/03/30/image_10122025_03_30_35_10615.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 03:32:02.347016 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/03/31/image_10122025_03_31_44_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/03/31/image_10122025_03_31_35_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/03/30/image_10122025_03_31_05_10620.jpg', 2), ('/home/nano/Desktop/images/10122025/03/30/image_10122025_03_30_54_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/03/30/image_10122025_03_30_45_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/03/30/image_10122025_03_30_35_10615.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 03:32:31.902048 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/03/32/image_10122025_03_32_45_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/03/31/image_10122025_03_32_05_9612.jpg', 2), ('/home/nano/Desktop/images/10122025/03/31/image_10122025_03_31_55_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/03/31/image_10122025_03_31_44_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/03/31/image_10122025_03_31_35_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/03/30/image_10122025_03_31_05_10620.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 03:33:02.584231 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/03/32/image_10122025_03_32_45_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/03/31/image_10122025_03_32_05_9612.jpg', 2), ('/home/nano/Desktop/images/10122025/03/31/image_10122025_03_31_55_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/03/31/image_10122025_03_31_44_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/03/31/image_10122025_03_31_35_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/03/30/image_10122025_03_31_05_10620.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 03:33:32.090393 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/03/32/image_10122025_03_33_04_9632.jpg', 2), ('/home/nano/Desktop/images/10122025/03/32/image_10122025_03_32_55_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/03/32/image_10122025_03_32_45_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/03/31/image_10122025_03_32_05_9612.jpg', 2), ('/home/nano/Desktop/images/10122025/03/31/image_10122025_03_31_55_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/03/31/image_10122025_03_31_44_9608.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 03:34:02.548079 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/03/32/image_10122025_03_33_04_9632.jpg', 2), ('/home/nano/Desktop/images/10122025/03/32/image_10122025_03_32_55_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/03/32/image_10122025_03_32_45_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/03/31/image_10122025_03_32_05_9612.jpg', 2), ('/home/nano/Desktop/images/10122025/03/31/image_10122025_03_31_55_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/03/31/image_10122025_03_31_44_9608.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 03:34:32.120200 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/03/34/image_10122025_03_34_35_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/03/34/image_10122025_03_34_24_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/03/34/image_10122025_03_34_15_9602.jpg', 2), ('/home/nano/Desktop/images/10122025/03/33/image_10122025_03_33_25_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/03/32/image_10122025_03_33_04_9632.jpg', 2), ('/home/nano/Desktop/images/10122025/03/32/image_10122025_03_32_55_9609.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 03:35:02.792604 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/03/34/image_10122025_03_34_35_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/03/34/image_10122025_03_34_24_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/03/34/image_10122025_03_34_15_9602.jpg', 2), ('/home/nano/Desktop/images/10122025/03/33/image_10122025_03_33_25_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/03/32/image_10122025_03_33_04_9632.jpg', 2), ('/home/nano/Desktop/images/10122025/03/32/image_10122025_03_32_55_9609.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 03:35:32.261148 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/03/35/image_10122025_03_35_44_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/03/35/image_10122025_03_35_35_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/03/35/image_10122025_03_35_14_9640.jpg', 2), ('/home/nano/Desktop/images/10122025/03/34/image_10122025_03_35_05_9616.jpg', 2), ('/home/nano/Desktop/images/10122025/03/34/image_10122025_03_34_44_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/03/34/image_10122025_03_34_35_10614.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 03:36:02.725560 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/03/35/image_10122025_03_35_44_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/03/35/image_10122025_03_35_35_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/03/35/image_10122025_03_35_14_9640.jpg', 2), ('/home/nano/Desktop/images/10122025/03/34/image_10122025_03_35_05_9616.jpg', 2), ('/home/nano/Desktop/images/10122025/03/34/image_10122025_03_34_44_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/03/34/image_10122025_03_34_35_10614.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 03:36:32.317025 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/03/36/image_10122025_03_36_34_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/03/36/image_10122025_03_36_25_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/03/36/image_10122025_03_36_15_10631.jpg', 2), ('/home/nano/Desktop/images/10122025/03/35/image_10122025_03_36_04_9624.jpg', 2), ('/home/nano/Desktop/images/10122025/03/35/image_10122025_03_35_55_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/03/35/image_10122025_03_35_44_9611.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 03:37:02.810384 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/03/36/image_10122025_03_36_34_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/03/36/image_10122025_03_36_25_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/03/36/image_10122025_03_36_15_10631.jpg', 2), ('/home/nano/Desktop/images/10122025/03/35/image_10122025_03_36_04_9624.jpg', 2), ('/home/nano/Desktop/images/10122025/03/35/image_10122025_03_35_55_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/03/35/image_10122025_03_35_44_9611.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 03:37:32.430290 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/03/36/image_10122025_03_36_55_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/03/36/image_10122025_03_36_34_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/03/36/image_10122025_03_36_25_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/03/36/image_10122025_03_36_15_10631.jpg', 2), ('/home/nano/Desktop/images/10122025/03/35/image_10122025_03_36_04_9624.jpg', 2), ('/home/nano/Desktop/images/10122025/03/35/image_10122025_03_35_55_10616.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 03:38:02.876697 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/03/36/image_10122025_03_36_55_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/03/36/image_10122025_03_36_34_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/03/36/image_10122025_03_36_25_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/03/36/image_10122025_03_36_15_10631.jpg', 2), ('/home/nano/Desktop/images/10122025/03/35/image_10122025_03_36_04_9624.jpg', 2), ('/home/nano/Desktop/images/10122025/03/35/image_10122025_03_35_55_10616.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 03:38:32.515363 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/03/38/image_10122025_03_38_44_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/03/38/image_10122025_03_38_25_10613.jpg', 2), ('/home/nano/Desktop/images/10122025/03/38/image_10122025_03_38_14_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/03/37/image_10122025_03_38_05_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/03/37/image_10122025_03_37_45_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/03/36/image_10122025_03_36_55_9606.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 03:39:03.316834 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/03/38/image_10122025_03_38_44_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/03/38/image_10122025_03_38_25_10613.jpg', 2), ('/home/nano/Desktop/images/10122025/03/38/image_10122025_03_38_14_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/03/37/image_10122025_03_38_05_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/03/37/image_10122025_03_37_45_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/03/36/image_10122025_03_36_55_9606.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 03:39:32.605367 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/03/39/image_10122025_03_39_45_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/03/39/image_10122025_03_39_34_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/03/39/image_10122025_03_39_25_10619.jpg', 2), ('/home/nano/Desktop/images/10122025/03/39/image_10122025_03_39_14_9623.jpg', 2), ('/home/nano/Desktop/images/10122025/03/38/image_10122025_03_39_05_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/03/38/image_10122025_03_38_55_10616.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 03:40:03.013960 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/03/39/image_10122025_03_39_45_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/03/39/image_10122025_03_39_34_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/03/39/image_10122025_03_39_25_10619.jpg', 2), ('/home/nano/Desktop/images/10122025/03/39/image_10122025_03_39_14_9623.jpg', 2), ('/home/nano/Desktop/images/10122025/03/38/image_10122025_03_39_05_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/03/38/image_10122025_03_38_55_10616.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 03:40:32.709355 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/03/40/image_10122025_03_40_24_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/03/40/image_10122025_03_40_15_10632.jpg', 2), ('/home/nano/Desktop/images/10122025/03/39/image_10122025_03_39_55_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/03/39/image_10122025_03_39_45_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/03/39/image_10122025_03_39_34_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/03/39/image_10122025_03_39_25_10619.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 03:41:02.316202 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/03/40/image_10122025_03_40_24_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/03/40/image_10122025_03_40_15_10632.jpg', 2), ('/home/nano/Desktop/images/10122025/03/39/image_10122025_03_39_55_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/03/39/image_10122025_03_39_45_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/03/39/image_10122025_03_39_34_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/03/39/image_10122025_03_39_25_10619.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 03:41:31.832677 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/03/41/image_10122025_03_41_35_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/03/41/image_10122025_03_41_24_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/03/40/image_10122025_03_40_35_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/03/40/image_10122025_03_40_24_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/03/40/image_10122025_03_40_15_10632.jpg', 2), ('/home/nano/Desktop/images/10122025/03/39/image_10122025_03_39_55_9608.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 03:42:02.234943 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/03/41/image_10122025_03_41_35_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/03/41/image_10122025_03_41_24_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/03/40/image_10122025_03_40_35_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/03/40/image_10122025_03_40_24_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/03/40/image_10122025_03_40_15_10632.jpg', 2), ('/home/nano/Desktop/images/10122025/03/39/image_10122025_03_39_55_9608.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 03:42:31.917775 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/03/42/image_10122025_03_42_34_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/03/42/image_10122025_03_42_14_9615.jpg', 2), ('/home/nano/Desktop/images/10122025/03/41/image_10122025_03_42_05_9637.jpg', 2), ('/home/nano/Desktop/images/10122025/03/41/image_10122025_03_41_44_9627.jpg', 2), ('/home/nano/Desktop/images/10122025/03/41/image_10122025_03_41_35_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/03/41/image_10122025_03_41_24_9607.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 03:43:02.520769 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/03/42/image_10122025_03_42_34_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/03/42/image_10122025_03_42_14_9615.jpg', 2), ('/home/nano/Desktop/images/10122025/03/41/image_10122025_03_42_05_9637.jpg', 2), ('/home/nano/Desktop/images/10122025/03/41/image_10122025_03_41_44_9627.jpg', 2), ('/home/nano/Desktop/images/10122025/03/41/image_10122025_03_41_35_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/03/41/image_10122025_03_41_24_9607.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 03:43:32.023213 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/03/42/image_10122025_03_43_04_9614.jpg', 2), ('/home/nano/Desktop/images/10122025/03/42/image_10122025_03_42_55_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/03/42/image_10122025_03_42_34_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/03/42/image_10122025_03_42_14_9615.jpg', 2), ('/home/nano/Desktop/images/10122025/03/41/image_10122025_03_42_05_9637.jpg', 2), ('/home/nano/Desktop/images/10122025/03/41/image_10122025_03_41_44_9627.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 03:44:02.843310 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/03/42/image_10122025_03_43_04_9614.jpg', 2), ('/home/nano/Desktop/images/10122025/03/42/image_10122025_03_42_55_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/03/42/image_10122025_03_42_34_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/03/42/image_10122025_03_42_14_9615.jpg', 2), ('/home/nano/Desktop/images/10122025/03/41/image_10122025_03_42_05_9637.jpg', 2), ('/home/nano/Desktop/images/10122025/03/41/image_10122025_03_41_44_9627.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 03:44:32.252339 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/03/44/image_10122025_03_44_44_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/03/44/image_10122025_03_44_35_10619.jpg', 2), ('/home/nano/Desktop/images/10122025/03/44/image_10122025_03_44_24_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/03/43/image_10122025_03_44_05_10620.jpg', 2), ('/home/nano/Desktop/images/10122025/03/43/image_10122025_03_43_54_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/03/42/image_10122025_03_43_04_9614.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 03:45:02.895839 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/03/44/image_10122025_03_44_44_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/03/44/image_10122025_03_44_35_10619.jpg', 2), ('/home/nano/Desktop/images/10122025/03/44/image_10122025_03_44_24_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/03/43/image_10122025_03_44_05_10620.jpg', 2), ('/home/nano/Desktop/images/10122025/03/43/image_10122025_03_43_54_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/03/42/image_10122025_03_43_04_9614.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 03:45:32.358977 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/03/45/image_10122025_03_45_35_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/03/45/image_10122025_03_45_25_10619.jpg', 2), ('/home/nano/Desktop/images/10122025/03/45/image_10122025_03_45_14_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/03/44/image_10122025_03_45_05_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/03/44/image_10122025_03_44_54_9602.jpg', 2), ('/home/nano/Desktop/images/10122025/03/44/image_10122025_03_44_44_9607.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 03:46:02.695559 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/03/45/image_10122025_03_45_35_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/03/45/image_10122025_03_45_25_10619.jpg', 2), ('/home/nano/Desktop/images/10122025/03/45/image_10122025_03_45_14_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/03/44/image_10122025_03_45_05_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/03/44/image_10122025_03_44_54_9602.jpg', 2), ('/home/nano/Desktop/images/10122025/03/44/image_10122025_03_44_44_9607.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 03:46:32.458816 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/03/46/image_10122025_03_46_45_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/03/46/image_10122025_03_46_34_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/03/46/image_10122025_03_46_25_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/03/45/image_10122025_03_46_04_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/03/45/image_10122025_03_45_55_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/03/45/image_10122025_03_45_35_9608.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 03:47:03.004944 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/03/46/image_10122025_03_46_45_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/03/46/image_10122025_03_46_34_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/03/46/image_10122025_03_46_25_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/03/45/image_10122025_03_46_04_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/03/45/image_10122025_03_45_55_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/03/45/image_10122025_03_45_35_9608.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 03:47:32.597105 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/03/47/image_10122025_03_47_45_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/03/47/image_10122025_03_47_24_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/03/47/image_10122025_03_47_15_10636.jpg', 2), ('/home/nano/Desktop/images/10122025/03/46/image_10122025_03_47_04_9623.jpg', 2), ('/home/nano/Desktop/images/10122025/03/46/image_10122025_03_46_54_9623.jpg', 2), ('/home/nano/Desktop/images/10122025/03/46/image_10122025_03_46_45_10617.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 03:48:02.968153 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/03/47/image_10122025_03_47_45_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/03/47/image_10122025_03_47_24_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/03/47/image_10122025_03_47_15_10636.jpg', 2), ('/home/nano/Desktop/images/10122025/03/46/image_10122025_03_47_04_9623.jpg', 2), ('/home/nano/Desktop/images/10122025/03/46/image_10122025_03_46_54_9623.jpg', 2), ('/home/nano/Desktop/images/10122025/03/46/image_10122025_03_46_45_10617.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 03:48:32.628049 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/03/48/image_10122025_03_48_44_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/03/48/image_10122025_03_48_35_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/03/48/image_10122025_03_48_25_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/03/48/image_10122025_03_48_14_9623.jpg', 2), ('/home/nano/Desktop/images/10122025/03/47/image_10122025_03_48_05_10622.jpg', 2), ('/home/nano/Desktop/images/10122025/03/47/image_10122025_03_47_54_9605.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 03:49:03.387575 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/03/48/image_10122025_03_48_44_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/03/48/image_10122025_03_48_35_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/03/48/image_10122025_03_48_25_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/03/48/image_10122025_03_48_14_9623.jpg', 2), ('/home/nano/Desktop/images/10122025/03/47/image_10122025_03_48_05_10622.jpg', 2), ('/home/nano/Desktop/images/10122025/03/47/image_10122025_03_47_54_9605.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 03:49:32.751600 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/03/49/image_10122025_03_49_45_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/03/49/image_10122025_03_49_34_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/03/49/image_10122025_03_49_25_10632.jpg', 2), ('/home/nano/Desktop/images/10122025/03/48/image_10122025_03_49_05_9654.jpg', 2), ('/home/nano/Desktop/images/10122025/03/48/image_10122025_03_48_55_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/03/48/image_10122025_03_48_44_9607.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 03:50:02.111900 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/03/49/image_10122025_03_49_45_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/03/49/image_10122025_03_49_34_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/03/49/image_10122025_03_49_25_10632.jpg', 2), ('/home/nano/Desktop/images/10122025/03/48/image_10122025_03_49_05_9654.jpg', 2), ('/home/nano/Desktop/images/10122025/03/48/image_10122025_03_48_55_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/03/48/image_10122025_03_48_44_9607.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 03:50:31.856396 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/03/50/image_10122025_03_50_45_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/03/50/image_10122025_03_50_24_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/03/49/image_10122025_03_50_04_9612.jpg', 2), ('/home/nano/Desktop/images/10122025/03/49/image_10122025_03_49_55_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/03/49/image_10122025_03_49_45_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/03/49/image_10122025_03_49_34_9605.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 03:51:02.556097 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/03/50/image_10122025_03_50_45_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/03/50/image_10122025_03_50_24_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/03/49/image_10122025_03_50_04_9612.jpg', 2), ('/home/nano/Desktop/images/10122025/03/49/image_10122025_03_49_55_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/03/49/image_10122025_03_49_45_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/03/49/image_10122025_03_49_34_9605.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 03:51:31.981754 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/03/50/image_10122025_03_50_54_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/03/50/image_10122025_03_50_45_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/03/50/image_10122025_03_50_24_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/03/49/image_10122025_03_50_04_9612.jpg', 2), ('/home/nano/Desktop/images/10122025/03/49/image_10122025_03_49_55_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/03/49/image_10122025_03_49_45_10614.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 03:52:02.474598 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/03/50/image_10122025_03_50_54_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/03/50/image_10122025_03_50_45_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/03/50/image_10122025_03_50_24_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/03/49/image_10122025_03_50_04_9612.jpg', 2), ('/home/nano/Desktop/images/10122025/03/49/image_10122025_03_49_55_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/03/49/image_10122025_03_49_45_10614.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 03:52:32.056032 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/03/52/image_10122025_03_52_35_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/03/52/image_10122025_03_52_25_10619.jpg', 2), ('/home/nano/Desktop/images/10122025/03/51/image_10122025_03_52_05_9615.jpg', 2), ('/home/nano/Desktop/images/10122025/03/50/image_10122025_03_51_05_10622.jpg', 2), ('/home/nano/Desktop/images/10122025/03/50/image_10122025_03_50_54_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/03/50/image_10122025_03_50_45_10617.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 03:53:02.679410 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/03/52/image_10122025_03_52_35_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/03/52/image_10122025_03_52_25_10619.jpg', 2), ('/home/nano/Desktop/images/10122025/03/51/image_10122025_03_52_05_9615.jpg', 2), ('/home/nano/Desktop/images/10122025/03/50/image_10122025_03_51_05_10622.jpg', 2), ('/home/nano/Desktop/images/10122025/03/50/image_10122025_03_50_54_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/03/50/image_10122025_03_50_45_10617.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 03:53:32.183448 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/03/53/image_10122025_03_53_45_10621.jpg', 2), ('/home/nano/Desktop/images/10122025/03/53/image_10122025_03_53_34_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/03/53/image_10122025_03_53_25_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/03/52/image_10122025_03_52_44_9627.jpg', 2), ('/home/nano/Desktop/images/10122025/03/52/image_10122025_03_52_35_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/03/52/image_10122025_03_52_25_10619.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 03:54:02.915582 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/03/53/image_10122025_03_53_45_10621.jpg', 2), ('/home/nano/Desktop/images/10122025/03/53/image_10122025_03_53_34_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/03/53/image_10122025_03_53_25_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/03/52/image_10122025_03_52_44_9627.jpg', 2), ('/home/nano/Desktop/images/10122025/03/52/image_10122025_03_52_35_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/03/52/image_10122025_03_52_25_10619.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 03:54:32.289634 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/03/54/image_10122025_03_54_35_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/03/54/image_10122025_03_54_24_9613.jpg', 2), ('/home/nano/Desktop/images/10122025/03/54/image_10122025_03_54_15_9630.jpg', 2), ('/home/nano/Desktop/images/10122025/03/53/image_10122025_03_54_05_10641.jpg', 2), ('/home/nano/Desktop/images/10122025/03/53/image_10122025_03_53_54_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/03/53/image_10122025_03_53_45_10621.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 03:55:02.891488 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/03/54/image_10122025_03_54_35_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/03/54/image_10122025_03_54_24_9613.jpg', 2), ('/home/nano/Desktop/images/10122025/03/54/image_10122025_03_54_15_9630.jpg', 2), ('/home/nano/Desktop/images/10122025/03/53/image_10122025_03_54_05_10641.jpg', 2), ('/home/nano/Desktop/images/10122025/03/53/image_10122025_03_53_54_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/03/53/image_10122025_03_53_45_10621.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 03:55:32.424601 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/03/54/image_10122025_03_54_45_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/03/54/image_10122025_03_54_35_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/03/54/image_10122025_03_54_24_9613.jpg', 2), ('/home/nano/Desktop/images/10122025/03/54/image_10122025_03_54_15_9630.jpg', 2), ('/home/nano/Desktop/images/10122025/03/53/image_10122025_03_54_05_10641.jpg', 2), ('/home/nano/Desktop/images/10122025/03/53/image_10122025_03_53_54_9608.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 03:56:02.871578 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/03/54/image_10122025_03_54_45_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/03/54/image_10122025_03_54_35_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/03/54/image_10122025_03_54_24_9613.jpg', 2), ('/home/nano/Desktop/images/10122025/03/54/image_10122025_03_54_15_9630.jpg', 2), ('/home/nano/Desktop/images/10122025/03/53/image_10122025_03_54_05_10641.jpg', 2), ('/home/nano/Desktop/images/10122025/03/53/image_10122025_03_53_54_9608.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 03:56:32.491117 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/03/56/image_10122025_03_56_34_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/03/56/image_10122025_03_56_25_10632.jpg', 2), ('/home/nano/Desktop/images/10122025/03/56/image_10122025_03_56_14_9640.jpg', 2), ('/home/nano/Desktop/images/10122025/03/55/image_10122025_03_56_04_9616.jpg', 2), ('/home/nano/Desktop/images/10122025/03/55/image_10122025_03_55_55_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/03/54/image_10122025_03_54_45_9608.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 03:57:02.968263 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/03/56/image_10122025_03_56_34_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/03/56/image_10122025_03_56_25_10632.jpg', 2), ('/home/nano/Desktop/images/10122025/03/56/image_10122025_03_56_14_9640.jpg', 2), ('/home/nano/Desktop/images/10122025/03/55/image_10122025_03_56_04_9616.jpg', 2), ('/home/nano/Desktop/images/10122025/03/55/image_10122025_03_55_55_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/03/54/image_10122025_03_54_45_9608.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 03:57:32.602911 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/03/57/image_10122025_03_57_45_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/03/57/image_10122025_03_57_35_10620.jpg', 2), ('/home/nano/Desktop/images/10122025/03/57/image_10122025_03_57_24_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/03/56/image_10122025_03_57_04_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/03/56/image_10122025_03_56_45_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/03/56/image_10122025_03_56_34_9608.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 03:59:03.274921 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/03/57/image_10122025_03_57_45_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/03/57/image_10122025_03_57_35_10620.jpg', 2), ('/home/nano/Desktop/images/10122025/03/57/image_10122025_03_57_24_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/03/56/image_10122025_03_57_04_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/03/56/image_10122025_03_56_45_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/03/56/image_10122025_03_56_34_9608.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 03:59:32.401326 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/03/59/image_10122025_03_59_45_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/03/59/image_10122025_03_59_25_10632.jpg', 2), ('/home/nano/Desktop/images/10122025/03/59/image_10122025_03_59_14_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/03/58/image_10122025_03_59_05_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/03/58/image_10122025_03_58_55_10612.jpg', 2), ('/home/nano/Desktop/images/10122025/03/58/image_10122025_03_58_24_9603.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 04:00:02.845281 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/03/59/image_10122025_03_59_45_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/03/59/image_10122025_03_59_25_10632.jpg', 2), ('/home/nano/Desktop/images/10122025/03/59/image_10122025_03_59_14_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/03/58/image_10122025_03_59_05_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/03/58/image_10122025_03_58_55_10612.jpg', 2), ('/home/nano/Desktop/images/10122025/03/58/image_10122025_03_58_24_9603.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 04:00:32.476797 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/03/59/image_10122025_03_59_55_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/03/59/image_10122025_03_59_45_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/03/59/image_10122025_03_59_25_10632.jpg', 2), ('/home/nano/Desktop/images/10122025/03/59/image_10122025_03_59_14_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/03/58/image_10122025_03_59_05_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/03/58/image_10122025_03_58_55_10612.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 04:01:03.003714 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/03/59/image_10122025_03_59_55_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/03/59/image_10122025_03_59_45_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/03/59/image_10122025_03_59_25_10632.jpg', 2), ('/home/nano/Desktop/images/10122025/03/59/image_10122025_03_59_14_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/03/58/image_10122025_03_59_05_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/03/58/image_10122025_03_58_55_10612.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 04:01:32.596264 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/04/01/image_10122025_04_01_35_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/04/01/image_10122025_04_01_24_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/04/01/image_10122025_04_01_15_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/04/00/image_10122025_04_00_45_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/03/59/image_10122025_03_59_55_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/03/59/image_10122025_03_59_45_10616.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 04:02:03.127925 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/04/01/image_10122025_04_01_35_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/04/01/image_10122025_04_01_24_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/04/01/image_10122025_04_01_15_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/04/00/image_10122025_04_00_45_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/03/59/image_10122025_03_59_55_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/03/59/image_10122025_03_59_45_10616.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 04:02:32.661972 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/04/02/image_10122025_04_02_35_9627.jpg', 2), ('/home/nano/Desktop/images/10122025/04/02/image_10122025_04_02_25_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/04/02/image_10122025_04_02_14_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/04/01/image_10122025_04_02_05_9638.jpg', 2), ('/home/nano/Desktop/images/10122025/04/01/image_10122025_04_01_44_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/04/01/image_10122025_04_01_35_10615.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 04:03:02.320765 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/04/02/image_10122025_04_02_35_9627.jpg', 2), ('/home/nano/Desktop/images/10122025/04/02/image_10122025_04_02_25_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/04/02/image_10122025_04_02_14_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/04/01/image_10122025_04_02_05_9638.jpg', 2), ('/home/nano/Desktop/images/10122025/04/01/image_10122025_04_01_44_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/04/01/image_10122025_04_01_35_10615.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 04:03:31.777261 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/04/03/image_10122025_04_03_45_10620.jpg', 2), ('/home/nano/Desktop/images/10122025/04/03/image_10122025_04_03_25_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/04/03/image_10122025_04_03_15_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/04/02/image_10122025_04_03_04_9629.jpg', 2), ('/home/nano/Desktop/images/10122025/04/02/image_10122025_04_02_44_9623.jpg', 2), ('/home/nano/Desktop/images/10122025/04/02/image_10122025_04_02_35_9627.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 04:04:02.626752 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/04/03/image_10122025_04_03_45_10620.jpg', 2), ('/home/nano/Desktop/images/10122025/04/03/image_10122025_04_03_25_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/04/03/image_10122025_04_03_15_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/04/02/image_10122025_04_03_04_9629.jpg', 2), ('/home/nano/Desktop/images/10122025/04/02/image_10122025_04_02_44_9623.jpg', 2), ('/home/nano/Desktop/images/10122025/04/02/image_10122025_04_02_35_9627.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 04:04:31.897820 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/04/04/image_10122025_04_04_35_10619.jpg', 2), ('/home/nano/Desktop/images/10122025/04/04/image_10122025_04_04_24_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/04/04/image_10122025_04_04_15_10634.jpg', 2), ('/home/nano/Desktop/images/10122025/04/03/image_10122025_04_04_04_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/04/03/image_10122025_04_03_55_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/04/03/image_10122025_04_03_45_10620.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 04:05:02.509816 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/04/04/image_10122025_04_04_35_10619.jpg', 2), ('/home/nano/Desktop/images/10122025/04/04/image_10122025_04_04_24_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/04/04/image_10122025_04_04_15_10634.jpg', 2), ('/home/nano/Desktop/images/10122025/04/03/image_10122025_04_04_04_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/04/03/image_10122025_04_03_55_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/04/03/image_10122025_04_03_45_10620.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 04:05:31.968959 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/04/05/image_10122025_04_05_44_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/04/05/image_10122025_04_05_35_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/04/05/image_10122025_04_05_14_9613.jpg', 2), ('/home/nano/Desktop/images/10122025/04/04/image_10122025_04_04_45_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/04/04/image_10122025_04_04_35_10619.jpg', 2), ('/home/nano/Desktop/images/10122025/04/04/image_10122025_04_04_24_9611.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 04:06:02.383357 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/04/05/image_10122025_04_05_44_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/04/05/image_10122025_04_05_35_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/04/05/image_10122025_04_05_14_9613.jpg', 2), ('/home/nano/Desktop/images/10122025/04/04/image_10122025_04_04_45_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/04/04/image_10122025_04_04_35_10619.jpg', 2), ('/home/nano/Desktop/images/10122025/04/04/image_10122025_04_04_24_9611.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 04:06:32.082413 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/04/06/image_10122025_04_06_55_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/04/06/image_10122025_04_06_34_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/04/06/image_10122025_04_06_25_10613.jpg', 2), ('/home/nano/Desktop/images/10122025/04/06/image_10122025_04_06_14_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/04/05/image_10122025_04_05_55_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/04/05/image_10122025_04_05_44_9607.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 04:07:02.712545 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/04/06/image_10122025_04_06_55_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/04/06/image_10122025_04_06_34_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/04/06/image_10122025_04_06_25_10613.jpg', 2), ('/home/nano/Desktop/images/10122025/04/06/image_10122025_04_06_14_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/04/05/image_10122025_04_05_55_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/04/05/image_10122025_04_05_44_9607.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 04:07:32.130395 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/04/07/image_10122025_04_07_45_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/04/07/image_10122025_04_07_35_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/04/07/image_10122025_04_07_15_10628.jpg', 2), ('/home/nano/Desktop/images/10122025/04/06/image_10122025_04_07_04_9616.jpg', 2), ('/home/nano/Desktop/images/10122025/04/06/image_10122025_04_06_55_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/04/06/image_10122025_04_06_45_10619.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 04:08:02.569242 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/04/07/image_10122025_04_07_45_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/04/07/image_10122025_04_07_35_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/04/07/image_10122025_04_07_15_10628.jpg', 2), ('/home/nano/Desktop/images/10122025/04/06/image_10122025_04_07_04_9616.jpg', 2), ('/home/nano/Desktop/images/10122025/04/06/image_10122025_04_06_55_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/04/06/image_10122025_04_06_45_10619.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 04:08:32.257259 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/04/08/image_10122025_04_08_44_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/04/08/image_10122025_04_08_24_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/04/08/image_10122025_04_08_15_9613.jpg', 2), ('/home/nano/Desktop/images/10122025/04/07/image_10122025_04_08_05_10624.jpg', 2), ('/home/nano/Desktop/images/10122025/04/07/image_10122025_04_07_54_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/04/07/image_10122025_04_07_45_9604.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 04:09:03.249009 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/04/08/image_10122025_04_08_44_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/04/08/image_10122025_04_08_24_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/04/08/image_10122025_04_08_15_9613.jpg', 2), ('/home/nano/Desktop/images/10122025/04/07/image_10122025_04_08_05_10624.jpg', 2), ('/home/nano/Desktop/images/10122025/04/07/image_10122025_04_07_54_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/04/07/image_10122025_04_07_45_9604.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 04:09:32.430201 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/04/09/image_10122025_04_09_25_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/04/09/image_10122025_04_09_14_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/04/08/image_10122025_04_08_55_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/04/08/image_10122025_04_08_44_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/04/08/image_10122025_04_08_24_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/04/08/image_10122025_04_08_15_9613.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 04:10:02.810200 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/04/09/image_10122025_04_09_25_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/04/09/image_10122025_04_09_14_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/04/08/image_10122025_04_08_55_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/04/08/image_10122025_04_08_44_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/04/08/image_10122025_04_08_24_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/04/08/image_10122025_04_08_15_9613.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 04:10:32.514861 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/04/10/image_10122025_04_10_45_10619.jpg', 2), ('/home/nano/Desktop/images/10122025/04/10/image_10122025_04_10_34_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/04/10/image_10122025_04_10_15_10633.jpg', 2), ('/home/nano/Desktop/images/10122025/04/09/image_10122025_04_10_04_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/04/09/image_10122025_04_09_34_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/04/09/image_10122025_04_09_25_10614.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 04:11:03.003807 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/04/10/image_10122025_04_10_45_10619.jpg', 2), ('/home/nano/Desktop/images/10122025/04/10/image_10122025_04_10_34_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/04/10/image_10122025_04_10_15_10633.jpg', 2), ('/home/nano/Desktop/images/10122025/04/09/image_10122025_04_10_04_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/04/09/image_10122025_04_09_34_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/04/09/image_10122025_04_09_25_10614.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 04:11:32.607077 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/04/11/image_10122025_04_11_35_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/04/11/image_10122025_04_11_24_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/04/11/image_10122025_04_11_15_9623.jpg', 2), ('/home/nano/Desktop/images/10122025/04/10/image_10122025_04_11_05_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/04/10/image_10122025_04_10_54_9623.jpg', 2), ('/home/nano/Desktop/images/10122025/04/10/image_10122025_04_10_45_10619.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 04:12:03.030439 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/04/11/image_10122025_04_11_35_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/04/11/image_10122025_04_11_24_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/04/11/image_10122025_04_11_15_9623.jpg', 2), ('/home/nano/Desktop/images/10122025/04/10/image_10122025_04_11_05_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/04/10/image_10122025_04_10_54_9623.jpg', 2), ('/home/nano/Desktop/images/10122025/04/10/image_10122025_04_10_45_10619.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 04:12:32.702275 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/04/12/image_10122025_04_12_44_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/04/12/image_10122025_04_12_35_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/04/12/image_10122025_04_12_14_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/04/11/image_10122025_04_11_55_10613.jpg', 2), ('/home/nano/Desktop/images/10122025/04/11/image_10122025_04_11_35_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/04/11/image_10122025_04_11_24_9607.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 04:13:02.309222 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/04/12/image_10122025_04_12_44_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/04/12/image_10122025_04_12_35_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/04/12/image_10122025_04_12_14_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/04/11/image_10122025_04_11_55_10613.jpg', 2), ('/home/nano/Desktop/images/10122025/04/11/image_10122025_04_11_35_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/04/11/image_10122025_04_11_24_9607.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 04:13:31.840020 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/04/13/image_10122025_04_13_45_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/04/13/image_10122025_04_13_25_9623.jpg', 2), ('/home/nano/Desktop/images/10122025/04/12/image_10122025_04_12_55_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/04/12/image_10122025_04_12_44_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/04/12/image_10122025_04_12_35_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/04/12/image_10122025_04_12_14_9618.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 04:14:02.510278 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/04/13/image_10122025_04_13_45_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/04/13/image_10122025_04_13_25_9623.jpg', 2), ('/home/nano/Desktop/images/10122025/04/12/image_10122025_04_12_55_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/04/12/image_10122025_04_12_44_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/04/12/image_10122025_04_12_35_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/04/12/image_10122025_04_12_14_9618.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 04:14:31.923818 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/04/14/image_10122025_04_14_44_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/04/14/image_10122025_04_14_35_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/04/14/image_10122025_04_14_24_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/04/14/image_10122025_04_14_15_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/04/13/image_10122025_04_14_05_10628.jpg', 2), ('/home/nano/Desktop/images/10122025/04/13/image_10122025_04_13_54_9605.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 04:15:02.616838 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/04/14/image_10122025_04_14_44_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/04/14/image_10122025_04_14_35_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/04/14/image_10122025_04_14_24_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/04/14/image_10122025_04_14_15_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/04/13/image_10122025_04_14_05_10628.jpg', 2), ('/home/nano/Desktop/images/10122025/04/13/image_10122025_04_13_54_9605.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 04:15:32.066725 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/04/15/image_10122025_04_15_35_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/04/15/image_10122025_04_15_25_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/04/15/image_10122025_04_15_14_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/04/14/image_10122025_04_15_05_10637.jpg', 2), ('/home/nano/Desktop/images/10122025/04/14/image_10122025_04_14_54_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/04/14/image_10122025_04_14_44_9608.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 04:16:02.589905 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/04/15/image_10122025_04_15_35_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/04/15/image_10122025_04_15_25_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/04/15/image_10122025_04_15_14_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/04/14/image_10122025_04_15_05_10637.jpg', 2), ('/home/nano/Desktop/images/10122025/04/14/image_10122025_04_14_54_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/04/14/image_10122025_04_14_44_9608.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 04:16:32.132710 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/04/16/image_10122025_04_16_25_9603.jpg', 2), ('/home/nano/Desktop/images/10122025/04/15/image_10122025_04_16_04_9613.jpg', 2), ('/home/nano/Desktop/images/10122025/04/15/image_10122025_04_15_55_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/04/15/image_10122025_04_15_35_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/04/15/image_10122025_04_15_25_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/04/15/image_10122025_04_15_14_9621.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 04:17:02.820709 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/04/16/image_10122025_04_16_25_9603.jpg', 2), ('/home/nano/Desktop/images/10122025/04/15/image_10122025_04_16_04_9613.jpg', 2), ('/home/nano/Desktop/images/10122025/04/15/image_10122025_04_15_55_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/04/15/image_10122025_04_15_35_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/04/15/image_10122025_04_15_25_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/04/15/image_10122025_04_15_14_9621.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 04:17:32.234191 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/04/17/image_10122025_04_17_15_10652.jpg', 2), ('/home/nano/Desktop/images/10122025/04/16/image_10122025_04_16_45_10622.jpg', 2), ('/home/nano/Desktop/images/10122025/04/16/image_10122025_04_16_25_9603.jpg', 2), ('/home/nano/Desktop/images/10122025/04/15/image_10122025_04_16_04_9613.jpg', 2), ('/home/nano/Desktop/images/10122025/04/15/image_10122025_04_15_55_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/04/15/image_10122025_04_15_35_9605.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 04:18:02.702590 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/04/17/image_10122025_04_17_15_10652.jpg', 2), ('/home/nano/Desktop/images/10122025/04/16/image_10122025_04_16_45_10622.jpg', 2), ('/home/nano/Desktop/images/10122025/04/16/image_10122025_04_16_25_9603.jpg', 2), ('/home/nano/Desktop/images/10122025/04/15/image_10122025_04_16_04_9613.jpg', 2), ('/home/nano/Desktop/images/10122025/04/15/image_10122025_04_15_55_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/04/15/image_10122025_04_15_35_9605.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 04:18:32.377227 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/04/18/image_10122025_04_18_44_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/04/18/image_10122025_04_18_35_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/04/18/image_10122025_04_18_25_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/04/18/image_10122025_04_18_14_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/04/17/image_10122025_04_18_05_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/04/17/image_10122025_04_17_24_9610.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 04:19:03.408046 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/04/18/image_10122025_04_18_44_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/04/18/image_10122025_04_18_35_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/04/18/image_10122025_04_18_25_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/04/18/image_10122025_04_18_14_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/04/17/image_10122025_04_18_05_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/04/17/image_10122025_04_17_24_9610.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 04:19:32.480664 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/04/19/image_10122025_04_19_34_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/04/18/image_10122025_04_18_55_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/04/18/image_10122025_04_18_44_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/04/18/image_10122025_04_18_35_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/04/18/image_10122025_04_18_25_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/04/18/image_10122025_04_18_14_9619.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 04:20:02.998612 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/04/19/image_10122025_04_19_34_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/04/18/image_10122025_04_18_55_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/04/18/image_10122025_04_18_44_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/04/18/image_10122025_04_18_35_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/04/18/image_10122025_04_18_25_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/04/18/image_10122025_04_18_14_9619.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 04:20:32.635780 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/04/20/image_10122025_04_20_24_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/04/19/image_10122025_04_20_04_9629.jpg', 2), ('/home/nano/Desktop/images/10122025/04/19/image_10122025_04_19_45_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/04/19/image_10122025_04_19_34_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/04/18/image_10122025_04_18_55_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/04/18/image_10122025_04_18_44_9608.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 04:21:02.330346 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/04/20/image_10122025_04_20_24_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/04/19/image_10122025_04_20_04_9629.jpg', 2), ('/home/nano/Desktop/images/10122025/04/19/image_10122025_04_19_45_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/04/19/image_10122025_04_19_34_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/04/18/image_10122025_04_18_55_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/04/18/image_10122025_04_18_44_9608.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 04:21:31.773508 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/04/21/image_10122025_04_21_35_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/04/21/image_10122025_04_21_24_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/04/21/image_10122025_04_21_15_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/04/20/image_10122025_04_21_05_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/04/20/image_10122025_04_20_35_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/04/20/image_10122025_04_20_24_9606.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 04:22:02.205636 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/04/21/image_10122025_04_21_35_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/04/21/image_10122025_04_21_24_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/04/21/image_10122025_04_21_15_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/04/20/image_10122025_04_21_05_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/04/20/image_10122025_04_20_35_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/04/20/image_10122025_04_20_24_9606.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 04:22:31.906439 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/04/22/image_10122025_04_22_45_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/04/21/image_10122025_04_21_44_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/04/21/image_10122025_04_21_35_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/04/21/image_10122025_04_21_24_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/04/21/image_10122025_04_21_15_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/04/20/image_10122025_04_21_05_10618.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 04:23:02.544082 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/04/22/image_10122025_04_22_45_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/04/21/image_10122025_04_21_44_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/04/21/image_10122025_04_21_35_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/04/21/image_10122025_04_21_24_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/04/21/image_10122025_04_21_15_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/04/20/image_10122025_04_21_05_10618.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 04:23:32.004837 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/04/23/image_10122025_04_23_45_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/04/23/image_10122025_04_23_25_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/04/23/image_10122025_04_23_15_10628.jpg', 2), ('/home/nano/Desktop/images/10122025/04/22/image_10122025_04_22_55_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/04/22/image_10122025_04_22_45_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/04/21/image_10122025_04_21_44_9608.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 04:24:02.822813 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/04/23/image_10122025_04_23_45_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/04/23/image_10122025_04_23_25_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/04/23/image_10122025_04_23_15_10628.jpg', 2), ('/home/nano/Desktop/images/10122025/04/22/image_10122025_04_22_55_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/04/22/image_10122025_04_22_45_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/04/21/image_10122025_04_21_44_9608.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 04:24:32.133822 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/04/24/image_10122025_04_24_44_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/04/24/image_10122025_04_24_35_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/04/24/image_10122025_04_24_24_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/04/23/image_10122025_04_24_05_10619.jpg', 2), ('/home/nano/Desktop/images/10122025/04/23/image_10122025_04_23_54_9603.jpg', 2), ('/home/nano/Desktop/images/10122025/04/23/image_10122025_04_23_45_10618.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 04:25:02.640627 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/04/24/image_10122025_04_24_44_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/04/24/image_10122025_04_24_35_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/04/24/image_10122025_04_24_24_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/04/23/image_10122025_04_24_05_10619.jpg', 2), ('/home/nano/Desktop/images/10122025/04/23/image_10122025_04_23_54_9603.jpg', 2), ('/home/nano/Desktop/images/10122025/04/23/image_10122025_04_23_45_10618.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 04:25:32.208565 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/04/25/image_10122025_04_25_44_9612.jpg', 2), ('/home/nano/Desktop/images/10122025/04/25/image_10122025_04_25_35_9624.jpg', 2), ('/home/nano/Desktop/images/10122025/04/25/image_10122025_04_25_25_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/04/25/image_10122025_04_25_14_9642.jpg', 2), ('/home/nano/Desktop/images/10122025/04/24/image_10122025_04_25_05_9623.jpg', 2), ('/home/nano/Desktop/images/10122025/04/24/image_10122025_04_24_55_10631.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 04:26:02.745812 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/04/25/image_10122025_04_25_44_9612.jpg', 2), ('/home/nano/Desktop/images/10122025/04/25/image_10122025_04_25_35_9624.jpg', 2), ('/home/nano/Desktop/images/10122025/04/25/image_10122025_04_25_25_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/04/25/image_10122025_04_25_14_9642.jpg', 2), ('/home/nano/Desktop/images/10122025/04/24/image_10122025_04_25_05_9623.jpg', 2), ('/home/nano/Desktop/images/10122025/04/24/image_10122025_04_24_55_10631.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 04:26:32.332333 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/04/26/image_10122025_04_26_45_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/04/26/image_10122025_04_26_34_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/04/26/image_10122025_04_26_15_10629.jpg', 2), ('/home/nano/Desktop/images/10122025/04/25/image_10122025_04_26_04_9614.jpg', 2), ('/home/nano/Desktop/images/10122025/04/25/image_10122025_04_25_55_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/04/25/image_10122025_04_25_44_9612.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 04:27:02.904793 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/04/26/image_10122025_04_26_45_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/04/26/image_10122025_04_26_34_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/04/26/image_10122025_04_26_15_10629.jpg', 2), ('/home/nano/Desktop/images/10122025/04/25/image_10122025_04_26_04_9614.jpg', 2), ('/home/nano/Desktop/images/10122025/04/25/image_10122025_04_25_55_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/04/25/image_10122025_04_25_44_9612.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 04:27:32.443783 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/04/27/image_10122025_04_27_35_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/04/27/image_10122025_04_27_24_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/04/27/image_10122025_04_27_15_10631.jpg', 2), ('/home/nano/Desktop/images/10122025/04/26/image_10122025_04_27_04_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/04/26/image_10122025_04_26_54_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/04/26/image_10122025_04_26_45_10614.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 04:28:02.895381 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/04/27/image_10122025_04_27_35_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/04/27/image_10122025_04_27_24_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/04/27/image_10122025_04_27_15_10631.jpg', 2), ('/home/nano/Desktop/images/10122025/04/26/image_10122025_04_27_04_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/04/26/image_10122025_04_26_54_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/04/26/image_10122025_04_26_45_10614.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 04:28:32.531217 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/04/28/image_10122025_04_28_44_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/04/28/image_10122025_04_28_35_9613.jpg', 2), ('/home/nano/Desktop/images/10122025/04/28/image_10122025_04_28_14_9624.jpg', 2), ('/home/nano/Desktop/images/10122025/04/27/image_10122025_04_28_05_10624.jpg', 2), ('/home/nano/Desktop/images/10122025/04/27/image_10122025_04_27_54_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/04/27/image_10122025_04_27_35_10615.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 04:29:03.339084 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/04/28/image_10122025_04_28_44_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/04/28/image_10122025_04_28_35_9613.jpg', 2), ('/home/nano/Desktop/images/10122025/04/28/image_10122025_04_28_14_9624.jpg', 2), ('/home/nano/Desktop/images/10122025/04/27/image_10122025_04_28_05_10624.jpg', 2), ('/home/nano/Desktop/images/10122025/04/27/image_10122025_04_27_54_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/04/27/image_10122025_04_27_35_10615.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 04:29:32.651518 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/04/29/image_10122025_04_29_45_10634.jpg', 2), ('/home/nano/Desktop/images/10122025/04/29/image_10122025_04_29_34_9624.jpg', 2), ('/home/nano/Desktop/images/10122025/04/28/image_10122025_04_28_55_10632.jpg', 2), ('/home/nano/Desktop/images/10122025/04/28/image_10122025_04_28_44_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/04/28/image_10122025_04_28_35_9613.jpg', 2), ('/home/nano/Desktop/images/10122025/04/28/image_10122025_04_28_14_9624.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 04:30:02.029955 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/04/29/image_10122025_04_29_45_10634.jpg', 2), ('/home/nano/Desktop/images/10122025/04/29/image_10122025_04_29_34_9624.jpg', 2), ('/home/nano/Desktop/images/10122025/04/28/image_10122025_04_28_55_10632.jpg', 2), ('/home/nano/Desktop/images/10122025/04/28/image_10122025_04_28_44_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/04/28/image_10122025_04_28_35_9613.jpg', 2), ('/home/nano/Desktop/images/10122025/04/28/image_10122025_04_28_14_9624.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 04:30:31.835807 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/04/29/image_10122025_04_29_45_10634.jpg', 2), ('/home/nano/Desktop/images/10122025/04/29/image_10122025_04_29_34_9624.jpg', 2), ('/home/nano/Desktop/images/10122025/04/28/image_10122025_04_28_55_10632.jpg', 2), ('/home/nano/Desktop/images/10122025/04/28/image_10122025_04_28_44_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/04/28/image_10122025_04_28_35_9613.jpg', 2), ('/home/nano/Desktop/images/10122025/04/28/image_10122025_04_28_14_9624.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 04:31:02.385905 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/04/29/image_10122025_04_29_45_10634.jpg', 2), ('/home/nano/Desktop/images/10122025/04/29/image_10122025_04_29_34_9624.jpg', 2), ('/home/nano/Desktop/images/10122025/04/28/image_10122025_04_28_55_10632.jpg', 2), ('/home/nano/Desktop/images/10122025/04/28/image_10122025_04_28_44_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/04/28/image_10122025_04_28_35_9613.jpg', 2), ('/home/nano/Desktop/images/10122025/04/28/image_10122025_04_28_14_9624.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 04:31:31.887641 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/04/31/image_10122025_04_31_44_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/04/31/image_10122025_04_31_24_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/04/31/image_10122025_04_31_15_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/04/29/image_10122025_04_29_55_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/04/29/image_10122025_04_29_45_10634.jpg', 2), ('/home/nano/Desktop/images/10122025/04/29/image_10122025_04_29_34_9624.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 04:32:02.168242 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/04/31/image_10122025_04_31_44_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/04/31/image_10122025_04_31_24_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/04/31/image_10122025_04_31_15_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/04/29/image_10122025_04_29_55_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/04/29/image_10122025_04_29_45_10634.jpg', 2), ('/home/nano/Desktop/images/10122025/04/29/image_10122025_04_29_34_9624.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 04:32:31.986505 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/04/32/image_10122025_04_32_25_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/04/31/image_10122025_04_32_05_9613.jpg', 2), ('/home/nano/Desktop/images/10122025/04/31/image_10122025_04_31_55_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/04/31/image_10122025_04_31_44_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/04/31/image_10122025_04_31_24_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/04/31/image_10122025_04_31_15_9605.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 04:33:02.651171 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/04/32/image_10122025_04_32_25_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/04/31/image_10122025_04_32_05_9613.jpg', 2), ('/home/nano/Desktop/images/10122025/04/31/image_10122025_04_31_55_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/04/31/image_10122025_04_31_44_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/04/31/image_10122025_04_31_24_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/04/31/image_10122025_04_31_15_9605.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 04:33:32.051750 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/04/32/image_10122025_04_33_04_9614.jpg', 2), ('/home/nano/Desktop/images/10122025/04/32/image_10122025_04_32_45_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/04/32/image_10122025_04_32_25_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/04/31/image_10122025_04_32_05_9613.jpg', 2), ('/home/nano/Desktop/images/10122025/04/31/image_10122025_04_31_55_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/04/31/image_10122025_04_31_44_9607.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 04:34:02.843820 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/04/32/image_10122025_04_33_04_9614.jpg', 2), ('/home/nano/Desktop/images/10122025/04/32/image_10122025_04_32_45_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/04/32/image_10122025_04_32_25_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/04/31/image_10122025_04_32_05_9613.jpg', 2), ('/home/nano/Desktop/images/10122025/04/31/image_10122025_04_31_55_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/04/31/image_10122025_04_31_44_9607.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 04:34:32.169103 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/04/34/image_10122025_04_34_44_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/04/34/image_10122025_04_34_35_10634.jpg', 2), ('/home/nano/Desktop/images/10122025/04/34/image_10122025_04_34_24_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/04/34/image_10122025_04_34_15_9612.jpg', 2), ('/home/nano/Desktop/images/10122025/04/33/image_10122025_04_34_05_10635.jpg', 2), ('/home/nano/Desktop/images/10122025/04/33/image_10122025_04_33_25_9604.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 04:35:02.817694 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/04/34/image_10122025_04_34_44_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/04/34/image_10122025_04_34_35_10634.jpg', 2), ('/home/nano/Desktop/images/10122025/04/34/image_10122025_04_34_24_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/04/34/image_10122025_04_34_15_9612.jpg', 2), ('/home/nano/Desktop/images/10122025/04/33/image_10122025_04_34_05_10635.jpg', 2), ('/home/nano/Desktop/images/10122025/04/33/image_10122025_04_33_25_9604.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 04:35:32.271977 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/04/35/image_10122025_04_35_14_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/04/34/image_10122025_04_35_05_9615.jpg', 2), ('/home/nano/Desktop/images/10122025/04/34/image_10122025_04_34_55_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/04/34/image_10122025_04_34_44_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/04/34/image_10122025_04_34_35_10634.jpg', 2), ('/home/nano/Desktop/images/10122025/04/34/image_10122025_04_34_24_9608.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 04:36:02.683510 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/04/35/image_10122025_04_35_14_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/04/34/image_10122025_04_35_05_9615.jpg', 2), ('/home/nano/Desktop/images/10122025/04/34/image_10122025_04_34_55_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/04/34/image_10122025_04_34_44_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/04/34/image_10122025_04_34_35_10634.jpg', 2), ('/home/nano/Desktop/images/10122025/04/34/image_10122025_04_34_24_9608.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 04:36:32.390771 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/04/36/image_10122025_04_36_34_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/04/35/image_10122025_04_35_55_10636.jpg', 2), ('/home/nano/Desktop/images/10122025/04/35/image_10122025_04_35_14_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/04/34/image_10122025_04_35_05_9615.jpg', 2), ('/home/nano/Desktop/images/10122025/04/34/image_10122025_04_34_55_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/04/34/image_10122025_04_34_44_9608.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 04:37:02.884338 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/04/36/image_10122025_04_36_34_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/04/35/image_10122025_04_35_55_10636.jpg', 2), ('/home/nano/Desktop/images/10122025/04/35/image_10122025_04_35_14_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/04/34/image_10122025_04_35_05_9615.jpg', 2), ('/home/nano/Desktop/images/10122025/04/34/image_10122025_04_34_55_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/04/34/image_10122025_04_34_44_9608.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 04:37:32.502550 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/04/37/image_10122025_04_37_35_10620.jpg', 2), ('/home/nano/Desktop/images/10122025/04/37/image_10122025_04_37_24_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/04/37/image_10122025_04_37_15_9613.jpg', 2), ('/home/nano/Desktop/images/10122025/04/36/image_10122025_04_37_05_10621.jpg', 2), ('/home/nano/Desktop/images/10122025/04/36/image_10122025_04_36_54_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/04/36/image_10122025_04_36_34_9605.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 04:38:02.934662 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/04/37/image_10122025_04_37_35_10620.jpg', 2), ('/home/nano/Desktop/images/10122025/04/37/image_10122025_04_37_24_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/04/37/image_10122025_04_37_15_9613.jpg', 2), ('/home/nano/Desktop/images/10122025/04/36/image_10122025_04_37_05_10621.jpg', 2), ('/home/nano/Desktop/images/10122025/04/36/image_10122025_04_36_54_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/04/36/image_10122025_04_36_34_9605.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 04:38:32.571894 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/04/38/image_10122025_04_38_44_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/04/38/image_10122025_04_38_35_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/04/38/image_10122025_04_38_14_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/04/37/image_10122025_04_38_05_10622.jpg', 2), ('/home/nano/Desktop/images/10122025/04/37/image_10122025_04_37_54_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/04/37/image_10122025_04_37_35_10620.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 04:39:03.475085 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/04/38/image_10122025_04_38_44_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/04/38/image_10122025_04_38_35_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/04/38/image_10122025_04_38_14_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/04/37/image_10122025_04_38_05_10622.jpg', 2), ('/home/nano/Desktop/images/10122025/04/37/image_10122025_04_37_54_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/04/37/image_10122025_04_37_35_10620.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 04:39:32.675125 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/04/39/image_10122025_04_39_45_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/04/39/image_10122025_04_39_34_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/04/39/image_10122025_04_39_15_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/04/38/image_10122025_04_39_04_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/04/38/image_10122025_04_38_55_10612.jpg', 2), ('/home/nano/Desktop/images/10122025/04/38/image_10122025_04_38_44_9605.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 04:40:02.228401 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/04/39/image_10122025_04_39_45_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/04/39/image_10122025_04_39_34_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/04/39/image_10122025_04_39_15_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/04/38/image_10122025_04_39_04_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/04/38/image_10122025_04_38_55_10612.jpg', 2), ('/home/nano/Desktop/images/10122025/04/38/image_10122025_04_38_44_9605.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 04:40:31.824204 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/04/40/image_10122025_04_40_45_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/04/40/image_10122025_04_40_35_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/04/39/image_10122025_04_40_04_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/04/39/image_10122025_04_39_55_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/04/39/image_10122025_04_39_45_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/04/39/image_10122025_04_39_34_9607.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 04:41:02.330226 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/04/40/image_10122025_04_40_45_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/04/40/image_10122025_04_40_35_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/04/39/image_10122025_04_40_04_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/04/39/image_10122025_04_39_55_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/04/39/image_10122025_04_39_45_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/04/39/image_10122025_04_39_34_9607.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 04:41:31.912160 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/04/41/image_10122025_04_41_14_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/04/40/image_10122025_04_41_05_10619.jpg', 2), ('/home/nano/Desktop/images/10122025/04/40/image_10122025_04_40_54_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/04/40/image_10122025_04_40_45_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/04/40/image_10122025_04_40_35_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/04/39/image_10122025_04_40_04_9610.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 04:42:02.327267 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/04/41/image_10122025_04_41_14_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/04/40/image_10122025_04_41_05_10619.jpg', 2), ('/home/nano/Desktop/images/10122025/04/40/image_10122025_04_40_54_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/04/40/image_10122025_04_40_45_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/04/40/image_10122025_04_40_35_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/04/39/image_10122025_04_40_04_9610.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 04:42:32.011456 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/04/42/image_10122025_04_42_25_10613.jpg', 2), ('/home/nano/Desktop/images/10122025/04/42/image_10122025_04_42_14_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/04/41/image_10122025_04_41_44_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/04/41/image_10122025_04_41_14_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/04/40/image_10122025_04_41_05_10619.jpg', 2), ('/home/nano/Desktop/images/10122025/04/40/image_10122025_04_40_54_9607.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 04:43:02.607423 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/04/42/image_10122025_04_42_25_10613.jpg', 2), ('/home/nano/Desktop/images/10122025/04/42/image_10122025_04_42_14_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/04/41/image_10122025_04_41_44_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/04/41/image_10122025_04_41_14_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/04/40/image_10122025_04_41_05_10619.jpg', 2), ('/home/nano/Desktop/images/10122025/04/40/image_10122025_04_40_54_9607.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 04:43:32.114458 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/04/43/image_10122025_04_43_45_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/04/43/image_10122025_04_43_15_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/04/42/image_10122025_04_43_04_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/04/42/image_10122025_04_42_45_10619.jpg', 2), ('/home/nano/Desktop/images/10122025/04/42/image_10122025_04_42_25_10613.jpg', 2), ('/home/nano/Desktop/images/10122025/04/42/image_10122025_04_42_14_9620.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 04:44:02.686138 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/04/43/image_10122025_04_43_45_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/04/43/image_10122025_04_43_15_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/04/42/image_10122025_04_43_04_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/04/42/image_10122025_04_42_45_10619.jpg', 2), ('/home/nano/Desktop/images/10122025/04/42/image_10122025_04_42_25_10613.jpg', 2), ('/home/nano/Desktop/images/10122025/04/42/image_10122025_04_42_14_9620.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 04:44:32.192129 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/04/44/image_10122025_04_44_44_9613.jpg', 2), ('/home/nano/Desktop/images/10122025/04/44/image_10122025_04_44_24_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/04/44/image_10122025_04_44_15_9614.jpg', 2), ('/home/nano/Desktop/images/10122025/04/43/image_10122025_04_44_05_10623.jpg', 2), ('/home/nano/Desktop/images/10122025/04/43/image_10122025_04_43_54_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/04/43/image_10122025_04_43_45_9605.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 04:45:02.870896 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/04/44/image_10122025_04_44_44_9613.jpg', 2), ('/home/nano/Desktop/images/10122025/04/44/image_10122025_04_44_24_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/04/44/image_10122025_04_44_15_9614.jpg', 2), ('/home/nano/Desktop/images/10122025/04/43/image_10122025_04_44_05_10623.jpg', 2), ('/home/nano/Desktop/images/10122025/04/43/image_10122025_04_43_54_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/04/43/image_10122025_04_43_45_9605.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 04:45:32.317706 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/04/45/image_10122025_04_45_45_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/04/45/image_10122025_04_45_34_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/04/44/image_10122025_04_45_05_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/04/44/image_10122025_04_44_55_10635.jpg', 2), ('/home/nano/Desktop/images/10122025/04/44/image_10122025_04_44_44_9613.jpg', 2), ('/home/nano/Desktop/images/10122025/04/44/image_10122025_04_44_24_9608.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 04:46:02.694332 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/04/45/image_10122025_04_45_45_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/04/45/image_10122025_04_45_34_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/04/44/image_10122025_04_45_05_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/04/44/image_10122025_04_44_55_10635.jpg', 2), ('/home/nano/Desktop/images/10122025/04/44/image_10122025_04_44_44_9613.jpg', 2), ('/home/nano/Desktop/images/10122025/04/44/image_10122025_04_44_24_9608.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 04:46:32.503373 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/04/46/image_10122025_04_46_34_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/04/45/image_10122025_04_45_55_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/04/45/image_10122025_04_45_45_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/04/45/image_10122025_04_45_34_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/04/44/image_10122025_04_45_05_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/04/44/image_10122025_04_44_55_10635.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 04:47:03.106413 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/04/46/image_10122025_04_46_34_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/04/45/image_10122025_04_45_55_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/04/45/image_10122025_04_45_45_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/04/45/image_10122025_04_45_34_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/04/44/image_10122025_04_45_05_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/04/44/image_10122025_04_44_55_10635.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 04:47:32.517535 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/04/47/image_10122025_04_47_44_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/04/47/image_10122025_04_47_24_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/04/47/image_10122025_04_47_15_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/04/46/image_10122025_04_46_54_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/04/46/image_10122025_04_46_34_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/04/45/image_10122025_04_45_55_9606.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 04:48:03.092608 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/04/47/image_10122025_04_47_44_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/04/47/image_10122025_04_47_24_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/04/47/image_10122025_04_47_15_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/04/46/image_10122025_04_46_54_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/04/46/image_10122025_04_46_34_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/04/45/image_10122025_04_45_55_9606.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 04:48:32.696940 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/04/48/image_10122025_04_48_35_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/04/48/image_10122025_04_48_25_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/04/48/image_10122025_04_48_14_9637.jpg', 2), ('/home/nano/Desktop/images/10122025/04/47/image_10122025_04_47_55_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/04/47/image_10122025_04_47_44_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/04/47/image_10122025_04_47_24_9607.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 04:49:02.649663 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/04/48/image_10122025_04_48_35_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/04/48/image_10122025_04_48_25_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/04/48/image_10122025_04_48_14_9637.jpg', 2), ('/home/nano/Desktop/images/10122025/04/47/image_10122025_04_47_55_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/04/47/image_10122025_04_47_44_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/04/47/image_10122025_04_47_24_9607.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 04:49:31.773022 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/04/49/image_10122025_04_49_45_10613.jpg', 2), ('/home/nano/Desktop/images/10122025/04/49/image_10122025_04_49_34_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/04/49/image_10122025_04_49_25_9602.jpg', 2), ('/home/nano/Desktop/images/10122025/04/48/image_10122025_04_48_44_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/04/48/image_10122025_04_48_35_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/04/48/image_10122025_04_48_25_10618.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 04:50:02.085382 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/04/49/image_10122025_04_49_45_10613.jpg', 2), ('/home/nano/Desktop/images/10122025/04/49/image_10122025_04_49_34_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/04/49/image_10122025_04_49_25_9602.jpg', 2), ('/home/nano/Desktop/images/10122025/04/48/image_10122025_04_48_44_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/04/48/image_10122025_04_48_35_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/04/48/image_10122025_04_48_25_10618.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 04:50:31.889506 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/04/50/image_10122025_04_50_24_9623.jpg', 2), ('/home/nano/Desktop/images/10122025/04/49/image_10122025_04_50_04_9626.jpg', 2), ('/home/nano/Desktop/images/10122025/04/49/image_10122025_04_49_54_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/04/49/image_10122025_04_49_45_10613.jpg', 2), ('/home/nano/Desktop/images/10122025/04/49/image_10122025_04_49_34_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/04/49/image_10122025_04_49_25_9602.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 04:51:02.397043 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/04/50/image_10122025_04_50_24_9623.jpg', 2), ('/home/nano/Desktop/images/10122025/04/49/image_10122025_04_50_04_9626.jpg', 2), ('/home/nano/Desktop/images/10122025/04/49/image_10122025_04_49_54_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/04/49/image_10122025_04_49_45_10613.jpg', 2), ('/home/nano/Desktop/images/10122025/04/49/image_10122025_04_49_34_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/04/49/image_10122025_04_49_25_9602.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 04:51:31.972435 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/04/51/image_10122025_04_51_44_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/04/51/image_10122025_04_51_35_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/04/51/image_10122025_04_51_25_10613.jpg', 2), ('/home/nano/Desktop/images/10122025/04/51/image_10122025_04_51_14_9624.jpg', 2), ('/home/nano/Desktop/images/10122025/04/50/image_10122025_04_51_05_10637.jpg', 2), ('/home/nano/Desktop/images/10122025/04/50/image_10122025_04_50_45_9607.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 04:52:02.469238 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/04/51/image_10122025_04_51_44_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/04/51/image_10122025_04_51_35_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/04/51/image_10122025_04_51_25_10613.jpg', 2), ('/home/nano/Desktop/images/10122025/04/51/image_10122025_04_51_14_9624.jpg', 2), ('/home/nano/Desktop/images/10122025/04/50/image_10122025_04_51_05_10637.jpg', 2), ('/home/nano/Desktop/images/10122025/04/50/image_10122025_04_50_45_9607.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 04:52:32.094670 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/04/52/image_10122025_04_52_45_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/04/52/image_10122025_04_52_34_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/04/52/image_10122025_04_52_25_10632.jpg', 2), ('/home/nano/Desktop/images/10122025/04/52/image_10122025_04_52_14_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/04/51/image_10122025_04_51_55_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/04/51/image_10122025_04_51_44_9607.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 04:53:02.583559 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/04/52/image_10122025_04_52_45_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/04/52/image_10122025_04_52_34_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/04/52/image_10122025_04_52_25_10632.jpg', 2), ('/home/nano/Desktop/images/10122025/04/52/image_10122025_04_52_14_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/04/51/image_10122025_04_51_55_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/04/51/image_10122025_04_51_44_9607.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 04:53:32.191312 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/04/53/image_10122025_04_53_45_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/04/53/image_10122025_04_53_15_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/04/52/image_10122025_04_53_04_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/04/52/image_10122025_04_52_55_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/04/52/image_10122025_04_52_45_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/04/52/image_10122025_04_52_34_9606.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 04:54:02.882326 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/04/53/image_10122025_04_53_45_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/04/53/image_10122025_04_53_15_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/04/52/image_10122025_04_53_04_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/04/52/image_10122025_04_52_55_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/04/52/image_10122025_04_52_45_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/04/52/image_10122025_04_52_34_9606.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 04:54:32.242163 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/04/54/image_10122025_04_54_44_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/04/54/image_10122025_04_54_35_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/04/54/image_10122025_04_54_24_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/04/54/image_10122025_04_54_15_9615.jpg', 2), ('/home/nano/Desktop/images/10122025/04/53/image_10122025_04_54_05_10626.jpg', 2), ('/home/nano/Desktop/images/10122025/04/53/image_10122025_04_53_54_9605.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 04:55:02.841526 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/04/54/image_10122025_04_54_44_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/04/54/image_10122025_04_54_35_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/04/54/image_10122025_04_54_24_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/04/54/image_10122025_04_54_15_9615.jpg', 2), ('/home/nano/Desktop/images/10122025/04/53/image_10122025_04_54_05_10626.jpg', 2), ('/home/nano/Desktop/images/10122025/04/53/image_10122025_04_53_54_9605.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 04:55:32.392421 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/04/55/image_10122025_04_55_25_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/04/55/image_10122025_04_55_14_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/04/54/image_10122025_04_54_55_10632.jpg', 2), ('/home/nano/Desktop/images/10122025/04/54/image_10122025_04_54_44_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/04/54/image_10122025_04_54_35_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/04/54/image_10122025_04_54_24_9606.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 04:56:02.767209 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/04/55/image_10122025_04_55_25_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/04/55/image_10122025_04_55_14_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/04/54/image_10122025_04_54_55_10632.jpg', 2), ('/home/nano/Desktop/images/10122025/04/54/image_10122025_04_54_44_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/04/54/image_10122025_04_54_35_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/04/54/image_10122025_04_54_24_9606.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 04:56:32.474246 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/04/56/image_10122025_04_56_34_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/04/56/image_10122025_04_56_25_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/04/56/image_10122025_04_56_15_10631.jpg', 2), ('/home/nano/Desktop/images/10122025/04/55/image_10122025_04_55_44_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/04/55/image_10122025_04_55_25_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/04/55/image_10122025_04_55_14_9619.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 04:57:03.091448 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/04/56/image_10122025_04_56_34_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/04/56/image_10122025_04_56_25_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/04/56/image_10122025_04_56_15_10631.jpg', 2), ('/home/nano/Desktop/images/10122025/04/55/image_10122025_04_55_44_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/04/55/image_10122025_04_55_25_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/04/55/image_10122025_04_55_14_9619.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 04:57:32.542298 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/04/57/image_10122025_04_57_24_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/04/57/image_10122025_04_57_15_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/04/56/image_10122025_04_56_45_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/04/56/image_10122025_04_56_34_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/04/56/image_10122025_04_56_25_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/04/56/image_10122025_04_56_15_10631.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 04:58:02.900775 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/04/57/image_10122025_04_57_24_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/04/57/image_10122025_04_57_15_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/04/56/image_10122025_04_56_45_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/04/56/image_10122025_04_56_34_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/04/56/image_10122025_04_56_25_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/04/56/image_10122025_04_56_15_10631.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 04:59:03.235671 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/04/57/image_10122025_04_57_24_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/04/57/image_10122025_04_57_15_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/04/56/image_10122025_04_56_45_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/04/56/image_10122025_04_56_34_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/04/56/image_10122025_04_56_25_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/04/56/image_10122025_04_56_15_10631.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 04:59:32.490061 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/04/59/image_10122025_04_59_34_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/04/59/image_10122025_04_59_25_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/04/59/image_10122025_04_59_15_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/04/58/image_10122025_04_59_04_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/04/58/image_10122025_04_58_55_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/04/58/image_10122025_04_58_44_9608.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 05:00:02.966443 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/04/59/image_10122025_04_59_34_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/04/59/image_10122025_04_59_25_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/04/59/image_10122025_04_59_15_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/04/58/image_10122025_04_59_04_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/04/58/image_10122025_04_58_55_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/04/58/image_10122025_04_58_44_9608.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 05:00:32.608895 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/05/00/image_10122025_05_00_24_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/05/00/image_10122025_05_00_15_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/04/59/image_10122025_05_00_05_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/04/59/image_10122025_04_59_45_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/04/59/image_10122025_04_59_34_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/04/59/image_10122025_04_59_25_9604.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 05:01:03.265223 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/05/00/image_10122025_05_00_24_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/05/00/image_10122025_05_00_15_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/04/59/image_10122025_05_00_05_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/04/59/image_10122025_04_59_45_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/04/59/image_10122025_04_59_34_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/04/59/image_10122025_04_59_25_9604.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 05:01:32.679260 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/05/01/image_10122025_05_01_44_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/05/01/image_10122025_05_01_25_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/05/00/image_10122025_05_01_05_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/05/00/image_10122025_05_00_45_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/05/00/image_10122025_05_00_24_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/05/00/image_10122025_05_00_15_9619.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 05:02:02.029889 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/05/01/image_10122025_05_01_44_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/05/01/image_10122025_05_01_25_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/05/00/image_10122025_05_01_05_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/05/00/image_10122025_05_00_45_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/05/00/image_10122025_05_00_24_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/05/00/image_10122025_05_00_15_9619.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 05:02:31.797417 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/05/02/image_10122025_05_02_34_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/05/02/image_10122025_05_02_25_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/05/02/image_10122025_05_02_15_10627.jpg', 2), ('/home/nano/Desktop/images/10122025/05/01/image_10122025_05_02_04_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/05/01/image_10122025_05_01_55_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/05/01/image_10122025_05_01_44_9611.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 05:03:02.373981 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/05/02/image_10122025_05_02_34_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/05/02/image_10122025_05_02_25_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/05/02/image_10122025_05_02_15_10627.jpg', 2), ('/home/nano/Desktop/images/10122025/05/01/image_10122025_05_02_04_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/05/01/image_10122025_05_01_55_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/05/01/image_10122025_05_01_44_9611.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 05:03:31.942669 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/05/03/image_10122025_05_03_45_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/05/03/image_10122025_05_03_35_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/05/03/image_10122025_05_03_24_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/05/03/image_10122025_05_03_15_10638.jpg', 2), ('/home/nano/Desktop/images/10122025/05/02/image_10122025_05_03_04_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/05/02/image_10122025_05_02_45_10617.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 05:04:02.720168 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/05/03/image_10122025_05_03_45_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/05/03/image_10122025_05_03_35_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/05/03/image_10122025_05_03_24_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/05/03/image_10122025_05_03_15_10638.jpg', 2), ('/home/nano/Desktop/images/10122025/05/02/image_10122025_05_03_04_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/05/02/image_10122025_05_02_45_10617.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 05:04:32.025147 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/05/04/image_10122025_05_04_44_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/05/04/image_10122025_05_04_14_9612.jpg', 2), ('/home/nano/Desktop/images/10122025/05/03/image_10122025_05_03_54_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/05/03/image_10122025_05_03_45_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/05/03/image_10122025_05_03_35_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/05/03/image_10122025_05_03_24_9606.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 05:05:02.582347 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/05/04/image_10122025_05_04_44_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/05/04/image_10122025_05_04_14_9612.jpg', 2), ('/home/nano/Desktop/images/10122025/05/03/image_10122025_05_03_54_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/05/03/image_10122025_05_03_45_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/05/03/image_10122025_05_03_35_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/05/03/image_10122025_05_03_24_9606.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 05:05:32.110195 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/05/05/image_10122025_05_05_45_10621.jpg', 2), ('/home/nano/Desktop/images/10122025/05/05/image_10122025_05_05_25_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/05/04/image_10122025_05_05_05_9616.jpg', 2), ('/home/nano/Desktop/images/10122025/05/04/image_10122025_05_04_55_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/05/04/image_10122025_05_04_44_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/05/04/image_10122025_05_04_14_9612.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 05:06:02.552898 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/05/05/image_10122025_05_05_45_10621.jpg', 2), ('/home/nano/Desktop/images/10122025/05/05/image_10122025_05_05_25_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/05/04/image_10122025_05_05_05_9616.jpg', 2), ('/home/nano/Desktop/images/10122025/05/04/image_10122025_05_04_55_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/05/04/image_10122025_05_04_44_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/05/04/image_10122025_05_04_14_9612.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 05:06:32.227599 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/05/06/image_10122025_05_06_24_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/05/06/image_10122025_05_06_15_10633.jpg', 2), ('/home/nano/Desktop/images/10122025/05/05/image_10122025_05_06_04_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/05/05/image_10122025_05_05_55_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/05/05/image_10122025_05_05_45_10621.jpg', 2), ('/home/nano/Desktop/images/10122025/05/05/image_10122025_05_05_25_10616.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 05:07:02.786230 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/05/06/image_10122025_05_06_24_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/05/06/image_10122025_05_06_15_10633.jpg', 2), ('/home/nano/Desktop/images/10122025/05/05/image_10122025_05_06_04_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/05/05/image_10122025_05_05_55_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/05/05/image_10122025_05_05_45_10621.jpg', 2), ('/home/nano/Desktop/images/10122025/05/05/image_10122025_05_05_25_10616.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 05:07:32.359334 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/05/07/image_10122025_05_07_44_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/05/06/image_10122025_05_06_35_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/05/06/image_10122025_05_06_24_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/05/06/image_10122025_05_06_15_10633.jpg', 2), ('/home/nano/Desktop/images/10122025/05/05/image_10122025_05_06_04_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/05/05/image_10122025_05_05_55_9605.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 05:08:02.732589 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/05/07/image_10122025_05_07_44_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/05/06/image_10122025_05_06_35_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/05/06/image_10122025_05_06_24_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/05/06/image_10122025_05_06_15_10633.jpg', 2), ('/home/nano/Desktop/images/10122025/05/05/image_10122025_05_06_04_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/05/05/image_10122025_05_05_55_9605.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 05:08:32.455539 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/05/08/image_10122025_05_08_34_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/05/07/image_10122025_05_07_55_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/05/07/image_10122025_05_07_44_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/05/06/image_10122025_05_06_35_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/05/06/image_10122025_05_06_24_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/05/06/image_10122025_05_06_15_10633.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 05:09:03.510228 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/05/08/image_10122025_05_08_34_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/05/07/image_10122025_05_07_55_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/05/07/image_10122025_05_07_44_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/05/06/image_10122025_05_06_35_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/05/06/image_10122025_05_06_24_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/05/06/image_10122025_05_06_15_10633.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 05:09:32.564371 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/05/09/image_10122025_05_09_25_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/05/09/image_10122025_05_09_15_10629.jpg', 2), ('/home/nano/Desktop/images/10122025/05/08/image_10122025_05_09_04_9636.jpg', 2), ('/home/nano/Desktop/images/10122025/05/08/image_10122025_05_08_45_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/05/08/image_10122025_05_08_34_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/05/07/image_10122025_05_07_55_10616.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 05:10:02.134182 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/05/09/image_10122025_05_09_25_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/05/09/image_10122025_05_09_15_10629.jpg', 2), ('/home/nano/Desktop/images/10122025/05/08/image_10122025_05_09_04_9636.jpg', 2), ('/home/nano/Desktop/images/10122025/05/08/image_10122025_05_08_45_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/05/08/image_10122025_05_08_34_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/05/07/image_10122025_05_07_55_10616.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 05:10:31.810988 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/05/10/image_10122025_05_10_45_9627.jpg', 2), ('/home/nano/Desktop/images/10122025/05/10/image_10122025_05_10_24_9641.jpg', 2), ('/home/nano/Desktop/images/10122025/05/10/image_10122025_05_10_15_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/05/09/image_10122025_05_10_05_10639.jpg', 2), ('/home/nano/Desktop/images/10122025/05/09/image_10122025_05_09_34_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/05/09/image_10122025_05_09_25_9622.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 05:11:02.398758 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/05/10/image_10122025_05_10_45_9627.jpg', 2), ('/home/nano/Desktop/images/10122025/05/10/image_10122025_05_10_24_9641.jpg', 2), ('/home/nano/Desktop/images/10122025/05/10/image_10122025_05_10_15_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/05/09/image_10122025_05_10_05_10639.jpg', 2), ('/home/nano/Desktop/images/10122025/05/09/image_10122025_05_09_34_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/05/09/image_10122025_05_09_25_9622.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 05:11:31.886333 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/05/10/image_10122025_05_10_54_9603.jpg', 2), ('/home/nano/Desktop/images/10122025/05/10/image_10122025_05_10_45_9627.jpg', 2), ('/home/nano/Desktop/images/10122025/05/10/image_10122025_05_10_24_9641.jpg', 2), ('/home/nano/Desktop/images/10122025/05/10/image_10122025_05_10_15_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/05/09/image_10122025_05_10_05_10639.jpg', 2), ('/home/nano/Desktop/images/10122025/05/09/image_10122025_05_09_34_9607.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 05:12:02.391783 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/05/10/image_10122025_05_10_54_9603.jpg', 2), ('/home/nano/Desktop/images/10122025/05/10/image_10122025_05_10_45_9627.jpg', 2), ('/home/nano/Desktop/images/10122025/05/10/image_10122025_05_10_24_9641.jpg', 2), ('/home/nano/Desktop/images/10122025/05/10/image_10122025_05_10_15_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/05/09/image_10122025_05_10_05_10639.jpg', 2), ('/home/nano/Desktop/images/10122025/05/09/image_10122025_05_09_34_9607.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 05:12:32.021685 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/05/12/image_10122025_05_12_45_10625.jpg', 2), ('/home/nano/Desktop/images/10122025/05/12/image_10122025_05_12_34_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/05/12/image_10122025_05_12_14_9641.jpg', 2), ('/home/nano/Desktop/images/10122025/05/11/image_10122025_05_12_04_9624.jpg', 2), ('/home/nano/Desktop/images/10122025/05/11/image_10122025_05_11_25_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/05/10/image_10122025_05_10_54_9603.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 05:13:02.618537 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/05/12/image_10122025_05_12_45_10625.jpg', 2), ('/home/nano/Desktop/images/10122025/05/12/image_10122025_05_12_34_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/05/12/image_10122025_05_12_14_9641.jpg', 2), ('/home/nano/Desktop/images/10122025/05/11/image_10122025_05_12_04_9624.jpg', 2), ('/home/nano/Desktop/images/10122025/05/11/image_10122025_05_11_25_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/05/10/image_10122025_05_10_54_9603.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 05:13:32.073576 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/05/13/image_10122025_05_13_24_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/05/12/image_10122025_05_12_55_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/05/12/image_10122025_05_12_45_10625.jpg', 2), ('/home/nano/Desktop/images/10122025/05/12/image_10122025_05_12_34_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/05/12/image_10122025_05_12_14_9641.jpg', 2), ('/home/nano/Desktop/images/10122025/05/11/image_10122025_05_12_04_9624.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 05:14:02.751941 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/05/13/image_10122025_05_13_24_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/05/12/image_10122025_05_12_55_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/05/12/image_10122025_05_12_45_10625.jpg', 2), ('/home/nano/Desktop/images/10122025/05/12/image_10122025_05_12_34_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/05/12/image_10122025_05_12_14_9641.jpg', 2), ('/home/nano/Desktop/images/10122025/05/11/image_10122025_05_12_04_9624.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 05:14:32.199385 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/05/14/image_10122025_05_14_44_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/05/14/image_10122025_05_14_24_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/05/14/image_10122025_05_14_14_9614.jpg', 2), ('/home/nano/Desktop/images/10122025/05/13/image_10122025_05_13_35_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/05/13/image_10122025_05_13_24_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/05/12/image_10122025_05_12_55_9606.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 05:15:02.923051 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/05/14/image_10122025_05_14_44_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/05/14/image_10122025_05_14_24_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/05/14/image_10122025_05_14_14_9614.jpg', 2), ('/home/nano/Desktop/images/10122025/05/13/image_10122025_05_13_35_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/05/13/image_10122025_05_13_24_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/05/12/image_10122025_05_12_55_9606.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 05:15:32.318321 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/05/15/image_10122025_05_15_45_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/05/15/image_10122025_05_15_34_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/05/15/image_10122025_05_15_25_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/05/15/image_10122025_05_15_14_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/05/14/image_10122025_05_15_05_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/05/14/image_10122025_05_14_55_10616.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 05:16:02.784878 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/05/15/image_10122025_05_15_45_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/05/15/image_10122025_05_15_34_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/05/15/image_10122025_05_15_25_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/05/15/image_10122025_05_15_14_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/05/14/image_10122025_05_15_05_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/05/14/image_10122025_05_14_55_10616.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 05:16:32.434922 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/05/16/image_10122025_05_16_34_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/05/16/image_10122025_05_16_15_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/05/15/image_10122025_05_16_04_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/05/15/image_10122025_05_15_55_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/05/15/image_10122025_05_15_45_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/05/15/image_10122025_05_15_34_9606.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 05:17:03.016859 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/05/16/image_10122025_05_16_34_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/05/16/image_10122025_05_16_15_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/05/15/image_10122025_05_16_04_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/05/15/image_10122025_05_15_55_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/05/15/image_10122025_05_15_45_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/05/15/image_10122025_05_15_34_9606.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 05:17:32.519324 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/05/16/image_10122025_05_16_45_10632.jpg', 2), ('/home/nano/Desktop/images/10122025/05/16/image_10122025_05_16_34_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/05/16/image_10122025_05_16_15_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/05/15/image_10122025_05_16_04_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/05/15/image_10122025_05_15_55_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/05/15/image_10122025_05_15_45_10614.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 05:18:02.979693 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/05/16/image_10122025_05_16_45_10632.jpg', 2), ('/home/nano/Desktop/images/10122025/05/16/image_10122025_05_16_34_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/05/16/image_10122025_05_16_15_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/05/15/image_10122025_05_16_04_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/05/15/image_10122025_05_15_55_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/05/15/image_10122025_05_15_45_10614.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 05:18:32.611032 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/05/18/image_10122025_05_18_44_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/05/18/image_10122025_05_18_35_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/05/18/image_10122025_05_18_25_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/05/18/image_10122025_05_18_14_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/05/17/image_10122025_05_17_15_9638.jpg', 2), ('/home/nano/Desktop/images/10122025/05/16/image_10122025_05_16_45_10632.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 05:19:03.360542 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/05/18/image_10122025_05_18_44_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/05/18/image_10122025_05_18_35_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/05/18/image_10122025_05_18_25_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/05/18/image_10122025_05_18_14_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/05/17/image_10122025_05_17_15_9638.jpg', 2), ('/home/nano/Desktop/images/10122025/05/16/image_10122025_05_16_45_10632.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 05:19:32.747321 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/05/19/image_10122025_05_19_45_10619.jpg', 2), ('/home/nano/Desktop/images/10122025/05/19/image_10122025_05_19_34_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/05/19/image_10122025_05_19_25_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/05/19/image_10122025_05_19_15_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/05/18/image_10122025_05_19_04_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/05/18/image_10122025_05_18_55_10614.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 05:20:02.067760 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/05/19/image_10122025_05_19_45_10619.jpg', 2), ('/home/nano/Desktop/images/10122025/05/19/image_10122025_05_19_34_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/05/19/image_10122025_05_19_25_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/05/19/image_10122025_05_19_15_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/05/18/image_10122025_05_19_04_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/05/18/image_10122025_05_18_55_10614.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 05:20:31.880310 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/05/20/image_10122025_05_20_44_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/05/20/image_10122025_05_20_35_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/05/20/image_10122025_05_20_24_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/05/19/image_10122025_05_20_05_10626.jpg', 2), ('/home/nano/Desktop/images/10122025/05/19/image_10122025_05_19_54_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/05/19/image_10122025_05_19_45_10619.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 05:21:02.326670 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/05/20/image_10122025_05_20_44_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/05/20/image_10122025_05_20_35_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/05/20/image_10122025_05_20_24_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/05/19/image_10122025_05_20_05_10626.jpg', 2), ('/home/nano/Desktop/images/10122025/05/19/image_10122025_05_19_54_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/05/19/image_10122025_05_19_45_10619.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 05:21:31.983591 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/05/21/image_10122025_05_21_14_9612.jpg', 2), ('/home/nano/Desktop/images/10122025/05/20/image_10122025_05_20_54_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/05/20/image_10122025_05_20_44_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/05/20/image_10122025_05_20_35_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/05/20/image_10122025_05_20_24_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/05/19/image_10122025_05_20_05_10626.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 05:22:02.443257 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/05/21/image_10122025_05_21_14_9612.jpg', 2), ('/home/nano/Desktop/images/10122025/05/20/image_10122025_05_20_54_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/05/20/image_10122025_05_20_44_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/05/20/image_10122025_05_20_35_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/05/20/image_10122025_05_20_24_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/05/19/image_10122025_05_20_05_10626.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 05:22:32.157496 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/05/22/image_10122025_05_22_45_10621.jpg', 2), ('/home/nano/Desktop/images/10122025/05/22/image_10122025_05_22_25_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/05/22/image_10122025_05_22_15_10629.jpg', 2), ('/home/nano/Desktop/images/10122025/05/21/image_10122025_05_22_04_9635.jpg', 2), ('/home/nano/Desktop/images/10122025/05/21/image_10122025_05_21_25_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/05/21/image_10122025_05_21_14_9612.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 05:23:02.640210 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/05/22/image_10122025_05_22_45_10621.jpg', 2), ('/home/nano/Desktop/images/10122025/05/22/image_10122025_05_22_25_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/05/22/image_10122025_05_22_15_10629.jpg', 2), ('/home/nano/Desktop/images/10122025/05/21/image_10122025_05_22_04_9635.jpg', 2), ('/home/nano/Desktop/images/10122025/05/21/image_10122025_05_21_25_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/05/21/image_10122025_05_21_14_9612.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 05:23:32.192702 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/05/23/image_10122025_05_23_35_10636.jpg', 2), ('/home/nano/Desktop/images/10122025/05/23/image_10122025_05_23_24_9603.jpg', 2), ('/home/nano/Desktop/images/10122025/05/23/image_10122025_05_23_15_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/05/22/image_10122025_05_22_54_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/05/22/image_10122025_05_22_45_10621.jpg', 2), ('/home/nano/Desktop/images/10122025/05/22/image_10122025_05_22_25_9604.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 05:24:02.893585 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/05/23/image_10122025_05_23_35_10636.jpg', 2), ('/home/nano/Desktop/images/10122025/05/23/image_10122025_05_23_24_9603.jpg', 2), ('/home/nano/Desktop/images/10122025/05/23/image_10122025_05_23_15_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/05/22/image_10122025_05_22_54_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/05/22/image_10122025_05_22_45_10621.jpg', 2), ('/home/nano/Desktop/images/10122025/05/22/image_10122025_05_22_25_9604.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 05:24:32.290168 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/05/24/image_10122025_05_24_44_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/05/24/image_10122025_05_24_35_9602.jpg', 2), ('/home/nano/Desktop/images/10122025/05/23/image_10122025_05_24_05_10624.jpg', 2), ('/home/nano/Desktop/images/10122025/05/23/image_10122025_05_23_45_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/05/23/image_10122025_05_23_35_10636.jpg', 2), ('/home/nano/Desktop/images/10122025/05/23/image_10122025_05_23_24_9603.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 05:25:02.852113 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/05/24/image_10122025_05_24_44_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/05/24/image_10122025_05_24_35_9602.jpg', 2), ('/home/nano/Desktop/images/10122025/05/23/image_10122025_05_24_05_10624.jpg', 2), ('/home/nano/Desktop/images/10122025/05/23/image_10122025_05_23_45_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/05/23/image_10122025_05_23_35_10636.jpg', 2), ('/home/nano/Desktop/images/10122025/05/23/image_10122025_05_23_24_9603.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 05:25:32.409945 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/05/25/image_10122025_05_25_45_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/05/25/image_10122025_05_25_34_9603.jpg', 2), ('/home/nano/Desktop/images/10122025/05/25/image_10122025_05_25_25_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/05/24/image_10122025_05_25_04_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/05/24/image_10122025_05_24_55_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/05/24/image_10122025_05_24_44_9608.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 05:26:02.947859 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/05/25/image_10122025_05_25_45_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/05/25/image_10122025_05_25_34_9603.jpg', 2), ('/home/nano/Desktop/images/10122025/05/25/image_10122025_05_25_25_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/05/24/image_10122025_05_25_04_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/05/24/image_10122025_05_24_55_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/05/24/image_10122025_05_24_44_9608.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 05:26:32.562040 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/05/26/image_10122025_05_26_45_9613.jpg', 2), ('/home/nano/Desktop/images/10122025/05/26/image_10122025_05_26_35_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/05/26/image_10122025_05_26_24_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/05/25/image_10122025_05_25_55_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/05/25/image_10122025_05_25_45_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/05/25/image_10122025_05_25_34_9603.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 05:27:03.130150 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/05/26/image_10122025_05_26_45_9613.jpg', 2), ('/home/nano/Desktop/images/10122025/05/26/image_10122025_05_26_35_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/05/26/image_10122025_05_26_24_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/05/25/image_10122025_05_25_55_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/05/25/image_10122025_05_25_45_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/05/25/image_10122025_05_25_34_9603.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 05:27:32.660372 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/05/26/image_10122025_05_27_05_10634.jpg', 2), ('/home/nano/Desktop/images/10122025/05/26/image_10122025_05_26_54_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/05/26/image_10122025_05_26_45_9613.jpg', 2), ('/home/nano/Desktop/images/10122025/05/26/image_10122025_05_26_35_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/05/26/image_10122025_05_26_24_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/05/25/image_10122025_05_25_55_9605.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 05:28:02.284879 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/05/28/image_10122025_05_28_34_9603.jpg', 2), ('/home/nano/Desktop/images/10122025/05/26/image_10122025_05_27_05_10634.jpg', 2), ('/home/nano/Desktop/images/10122025/05/26/image_10122025_05_26_54_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/05/26/image_10122025_05_26_45_9613.jpg', 2), ('/home/nano/Desktop/images/10122025/05/26/image_10122025_05_26_35_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/05/26/image_10122025_05_26_24_9604.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 05:28:31.767656 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/05/28/image_10122025_05_28_34_9603.jpg', 2), ('/home/nano/Desktop/images/10122025/05/28/image_10122025_05_28_25_10620.jpg', 2), ('/home/nano/Desktop/images/10122025/05/28/image_10122025_05_28_14_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/05/27/image_10122025_05_27_44_9612.jpg', 2), ('/home/nano/Desktop/images/10122025/05/26/image_10122025_05_27_05_10634.jpg', 2), ('/home/nano/Desktop/images/10122025/05/26/image_10122025_05_26_54_9607.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 05:29:02.627947 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/05/28/image_10122025_05_28_34_9603.jpg', 2), ('/home/nano/Desktop/images/10122025/05/28/image_10122025_05_28_25_10620.jpg', 2), ('/home/nano/Desktop/images/10122025/05/28/image_10122025_05_28_14_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/05/27/image_10122025_05_27_44_9612.jpg', 2), ('/home/nano/Desktop/images/10122025/05/26/image_10122025_05_27_05_10634.jpg', 2), ('/home/nano/Desktop/images/10122025/05/26/image_10122025_05_26_54_9607.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 05:29:31.890999 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/05/29/image_10122025_05_29_25_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/05/28/image_10122025_05_28_45_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/05/28/image_10122025_05_28_34_9603.jpg', 2), ('/home/nano/Desktop/images/10122025/05/28/image_10122025_05_28_25_10620.jpg', 2), ('/home/nano/Desktop/images/10122025/05/28/image_10122025_05_28_14_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/05/27/image_10122025_05_27_44_9612.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 05:30:02.318070 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/05/29/image_10122025_05_29_25_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/05/28/image_10122025_05_28_45_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/05/28/image_10122025_05_28_34_9603.jpg', 2), ('/home/nano/Desktop/images/10122025/05/28/image_10122025_05_28_25_10620.jpg', 2), ('/home/nano/Desktop/images/10122025/05/28/image_10122025_05_28_14_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/05/27/image_10122025_05_27_44_9612.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 05:30:31.973990 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/05/30/image_10122025_05_30_44_9624.jpg', 2), ('/home/nano/Desktop/images/10122025/05/29/image_10122025_05_30_05_10629.jpg', 2), ('/home/nano/Desktop/images/10122025/05/29/image_10122025_05_29_45_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/05/29/image_10122025_05_29_25_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/05/28/image_10122025_05_28_45_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/05/28/image_10122025_05_28_34_9603.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 05:31:02.514390 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/05/30/image_10122025_05_30_44_9624.jpg', 2), ('/home/nano/Desktop/images/10122025/05/29/image_10122025_05_30_05_10629.jpg', 2), ('/home/nano/Desktop/images/10122025/05/29/image_10122025_05_29_45_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/05/29/image_10122025_05_29_25_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/05/28/image_10122025_05_28_45_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/05/28/image_10122025_05_28_34_9603.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 05:31:32.094619 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/05/31/image_10122025_05_31_44_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/05/31/image_10122025_05_31_35_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/05/30/image_10122025_05_31_05_9628.jpg', 2), ('/home/nano/Desktop/images/10122025/05/30/image_10122025_05_30_55_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/05/30/image_10122025_05_30_44_9624.jpg', 2), ('/home/nano/Desktop/images/10122025/05/29/image_10122025_05_30_05_10629.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 05:32:02.375027 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/05/31/image_10122025_05_31_44_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/05/31/image_10122025_05_31_35_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/05/30/image_10122025_05_31_05_9628.jpg', 2), ('/home/nano/Desktop/images/10122025/05/30/image_10122025_05_30_55_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/05/30/image_10122025_05_30_44_9624.jpg', 2), ('/home/nano/Desktop/images/10122025/05/29/image_10122025_05_30_05_10629.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 05:32:32.173146 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/05/32/image_10122025_05_32_34_9624.jpg', 2), ('/home/nano/Desktop/images/10122025/05/31/image_10122025_05_32_04_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/05/31/image_10122025_05_31_55_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/05/31/image_10122025_05_31_44_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/05/31/image_10122025_05_31_35_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/05/30/image_10122025_05_31_05_9628.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 05:33:02.773288 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/05/32/image_10122025_05_32_34_9624.jpg', 2), ('/home/nano/Desktop/images/10122025/05/31/image_10122025_05_32_04_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/05/31/image_10122025_05_31_55_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/05/31/image_10122025_05_31_44_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/05/31/image_10122025_05_31_35_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/05/30/image_10122025_05_31_05_9628.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 05:33:32.358246 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/05/33/image_10122025_05_33_35_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/05/33/image_10122025_05_33_24_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/05/32/image_10122025_05_32_45_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/05/32/image_10122025_05_32_34_9624.jpg', 2), ('/home/nano/Desktop/images/10122025/05/31/image_10122025_05_32_04_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/05/31/image_10122025_05_31_55_10614.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 05:34:02.978434 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/05/33/image_10122025_05_33_35_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/05/33/image_10122025_05_33_24_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/05/32/image_10122025_05_32_45_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/05/32/image_10122025_05_32_34_9624.jpg', 2), ('/home/nano/Desktop/images/10122025/05/31/image_10122025_05_32_04_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/05/31/image_10122025_05_31_55_10614.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 05:34:32.440485 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/05/33/image_10122025_05_33_44_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/05/33/image_10122025_05_33_35_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/05/33/image_10122025_05_33_24_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/05/32/image_10122025_05_32_45_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/05/32/image_10122025_05_32_34_9624.jpg', 2), ('/home/nano/Desktop/images/10122025/05/31/image_10122025_05_32_04_9606.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 05:35:02.992100 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/05/33/image_10122025_05_33_44_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/05/33/image_10122025_05_33_35_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/05/33/image_10122025_05_33_24_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/05/32/image_10122025_05_32_45_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/05/32/image_10122025_05_32_34_9624.jpg', 2), ('/home/nano/Desktop/images/10122025/05/31/image_10122025_05_32_04_9606.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 05:35:32.512931 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/05/35/image_10122025_05_35_45_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/05/34/image_10122025_05_35_04_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/05/33/image_10122025_05_34_05_10620.jpg', 2), ('/home/nano/Desktop/images/10122025/05/33/image_10122025_05_33_44_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/05/33/image_10122025_05_33_35_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/05/33/image_10122025_05_33_24_9606.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 05:36:02.931791 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/05/35/image_10122025_05_35_45_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/05/34/image_10122025_05_35_04_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/05/33/image_10122025_05_34_05_10620.jpg', 2), ('/home/nano/Desktop/images/10122025/05/33/image_10122025_05_33_44_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/05/33/image_10122025_05_33_35_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/05/33/image_10122025_05_33_24_9606.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 05:36:32.637971 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/05/36/image_10122025_05_36_15_10635.jpg', 2), ('/home/nano/Desktop/images/10122025/05/35/image_10122025_05_35_54_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/05/35/image_10122025_05_35_45_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/05/34/image_10122025_05_35_04_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/05/33/image_10122025_05_34_05_10620.jpg', 2), ('/home/nano/Desktop/images/10122025/05/33/image_10122025_05_33_44_9604.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 05:37:03.306440 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/05/37/image_10122025_05_37_44_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/05/36/image_10122025_05_36_15_10635.jpg', 2), ('/home/nano/Desktop/images/10122025/05/35/image_10122025_05_35_54_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/05/35/image_10122025_05_35_45_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/05/34/image_10122025_05_35_04_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/05/33/image_10122025_05_34_05_10620.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 05:37:32.720270 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/05/37/image_10122025_05_37_44_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/05/37/image_10122025_05_37_35_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/05/37/image_10122025_05_37_25_10631.jpg', 2), ('/home/nano/Desktop/images/10122025/05/36/image_10122025_05_36_24_9603.jpg', 2), ('/home/nano/Desktop/images/10122025/05/36/image_10122025_05_36_15_10635.jpg', 2), ('/home/nano/Desktop/images/10122025/05/35/image_10122025_05_35_54_9607.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 05:38:02.256789 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/05/37/image_10122025_05_37_44_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/05/37/image_10122025_05_37_35_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/05/37/image_10122025_05_37_25_10631.jpg', 2), ('/home/nano/Desktop/images/10122025/05/36/image_10122025_05_36_24_9603.jpg', 2), ('/home/nano/Desktop/images/10122025/05/36/image_10122025_05_36_15_10635.jpg', 2), ('/home/nano/Desktop/images/10122025/05/35/image_10122025_05_35_54_9607.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 05:38:31.820069 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/05/38/image_10122025_05_38_45_10619.jpg', 2), ('/home/nano/Desktop/images/10122025/05/37/image_10122025_05_38_05_9613.jpg', 2), ('/home/nano/Desktop/images/10122025/05/37/image_10122025_05_37_55_10613.jpg', 2), ('/home/nano/Desktop/images/10122025/05/37/image_10122025_05_37_44_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/05/37/image_10122025_05_37_35_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/05/37/image_10122025_05_37_25_10631.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 05:39:02.515246 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/05/38/image_10122025_05_38_45_10619.jpg', 2), ('/home/nano/Desktop/images/10122025/05/37/image_10122025_05_38_05_9613.jpg', 2), ('/home/nano/Desktop/images/10122025/05/37/image_10122025_05_37_55_10613.jpg', 2), ('/home/nano/Desktop/images/10122025/05/37/image_10122025_05_37_44_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/05/37/image_10122025_05_37_35_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/05/37/image_10122025_05_37_25_10631.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 05:39:32.000164 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/05/39/image_10122025_05_39_35_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/05/39/image_10122025_05_39_24_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/05/39/image_10122025_05_39_15_10631.jpg', 2), ('/home/nano/Desktop/images/10122025/05/38/image_10122025_05_39_04_9614.jpg', 2), ('/home/nano/Desktop/images/10122025/05/38/image_10122025_05_38_55_9624.jpg', 2), ('/home/nano/Desktop/images/10122025/05/38/image_10122025_05_38_45_10619.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 05:40:02.403775 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/05/39/image_10122025_05_39_35_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/05/39/image_10122025_05_39_24_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/05/39/image_10122025_05_39_15_10631.jpg', 2), ('/home/nano/Desktop/images/10122025/05/38/image_10122025_05_39_04_9614.jpg', 2), ('/home/nano/Desktop/images/10122025/05/38/image_10122025_05_38_55_9624.jpg', 2), ('/home/nano/Desktop/images/10122025/05/38/image_10122025_05_38_45_10619.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 05:40:32.028179 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/05/40/image_10122025_05_40_24_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/05/39/image_10122025_05_39_45_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/05/39/image_10122025_05_39_35_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/05/39/image_10122025_05_39_24_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/05/39/image_10122025_05_39_15_10631.jpg', 2), ('/home/nano/Desktop/images/10122025/05/38/image_10122025_05_39_04_9614.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 05:41:02.644476 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/05/40/image_10122025_05_40_24_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/05/39/image_10122025_05_39_45_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/05/39/image_10122025_05_39_35_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/05/39/image_10122025_05_39_24_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/05/39/image_10122025_05_39_15_10631.jpg', 2), ('/home/nano/Desktop/images/10122025/05/38/image_10122025_05_39_04_9614.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 05:41:32.134922 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/05/41/image_10122025_05_41_45_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/05/41/image_10122025_05_41_34_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/05/41/image_10122025_05_41_25_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/05/40/image_10122025_05_41_05_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/05/40/image_10122025_05_40_35_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/05/40/image_10122025_05_40_24_9607.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 05:42:02.549378 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/05/41/image_10122025_05_41_45_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/05/41/image_10122025_05_41_34_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/05/41/image_10122025_05_41_25_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/05/40/image_10122025_05_41_05_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/05/40/image_10122025_05_40_35_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/05/40/image_10122025_05_40_24_9607.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 05:42:32.224428 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/05/42/image_10122025_05_42_45_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/05/42/image_10122025_05_42_34_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/05/42/image_10122025_05_42_25_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/05/42/image_10122025_05_42_15_10629.jpg', 2), ('/home/nano/Desktop/images/10122025/05/41/image_10122025_05_42_04_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/05/41/image_10122025_05_41_55_9605.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 05:43:02.726831 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/05/42/image_10122025_05_42_45_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/05/42/image_10122025_05_42_34_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/05/42/image_10122025_05_42_25_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/05/42/image_10122025_05_42_15_10629.jpg', 2), ('/home/nano/Desktop/images/10122025/05/41/image_10122025_05_42_04_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/05/41/image_10122025_05_41_55_9605.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 05:43:32.308597 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/05/43/image_10122025_05_43_44_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/05/43/image_10122025_05_43_35_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/05/43/image_10122025_05_43_24_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/05/42/image_10122025_05_43_05_10628.jpg', 2), ('/home/nano/Desktop/images/10122025/05/42/image_10122025_05_42_54_9623.jpg', 2), ('/home/nano/Desktop/images/10122025/05/42/image_10122025_05_42_45_10615.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 05:44:03.011955 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/05/43/image_10122025_05_43_44_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/05/43/image_10122025_05_43_35_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/05/43/image_10122025_05_43_24_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/05/42/image_10122025_05_43_05_10628.jpg', 2), ('/home/nano/Desktop/images/10122025/05/42/image_10122025_05_42_54_9623.jpg', 2), ('/home/nano/Desktop/images/10122025/05/42/image_10122025_05_42_45_10615.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 05:44:32.474800 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/05/44/image_10122025_05_44_14_9624.jpg', 2), ('/home/nano/Desktop/images/10122025/05/43/image_10122025_05_44_05_9641.jpg', 2), ('/home/nano/Desktop/images/10122025/05/43/image_10122025_05_43_55_10634.jpg', 2), ('/home/nano/Desktop/images/10122025/05/43/image_10122025_05_43_44_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/05/43/image_10122025_05_43_35_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/05/43/image_10122025_05_43_24_9607.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 05:45:03.075742 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/05/44/image_10122025_05_44_14_9624.jpg', 2), ('/home/nano/Desktop/images/10122025/05/43/image_10122025_05_44_05_9641.jpg', 2), ('/home/nano/Desktop/images/10122025/05/43/image_10122025_05_43_55_10634.jpg', 2), ('/home/nano/Desktop/images/10122025/05/43/image_10122025_05_43_44_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/05/43/image_10122025_05_43_35_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/05/43/image_10122025_05_43_24_9607.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 05:45:32.576367 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/05/45/image_10122025_05_45_45_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/05/44/image_10122025_05_45_04_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/05/44/image_10122025_05_44_25_10633.jpg', 2), ('/home/nano/Desktop/images/10122025/05/44/image_10122025_05_44_14_9624.jpg', 2), ('/home/nano/Desktop/images/10122025/05/43/image_10122025_05_44_05_9641.jpg', 2), ('/home/nano/Desktop/images/10122025/05/43/image_10122025_05_43_55_10634.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 05:46:02.901171 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/05/45/image_10122025_05_45_45_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/05/44/image_10122025_05_45_04_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/05/44/image_10122025_05_44_25_10633.jpg', 2), ('/home/nano/Desktop/images/10122025/05/44/image_10122025_05_44_14_9624.jpg', 2), ('/home/nano/Desktop/images/10122025/05/43/image_10122025_05_44_05_9641.jpg', 2), ('/home/nano/Desktop/images/10122025/05/43/image_10122025_05_43_55_10634.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 05:46:32.626053 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/05/46/image_10122025_05_46_54_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/05/46/image_10122025_05_46_35_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/05/45/image_10122025_05_46_04_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/05/45/image_10122025_05_45_55_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/05/45/image_10122025_05_45_45_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/05/44/image_10122025_05_45_04_9611.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 05:47:03.207692 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/05/46/image_10122025_05_46_54_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/05/46/image_10122025_05_46_35_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/05/45/image_10122025_05_46_04_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/05/45/image_10122025_05_45_55_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/05/45/image_10122025_05_45_45_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/05/44/image_10122025_05_45_04_9611.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 05:47:32.735924 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/05/47/image_10122025_05_47_44_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/05/47/image_10122025_05_47_25_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/05/47/image_10122025_05_47_14_9638.jpg', 2), ('/home/nano/Desktop/images/10122025/05/46/image_10122025_05_47_05_10625.jpg', 2), ('/home/nano/Desktop/images/10122025/05/46/image_10122025_05_46_54_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/05/46/image_10122025_05_46_45_9608.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 05:48:02.273615 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/05/47/image_10122025_05_47_44_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/05/47/image_10122025_05_47_25_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/05/47/image_10122025_05_47_14_9638.jpg', 2), ('/home/nano/Desktop/images/10122025/05/46/image_10122025_05_47_05_10625.jpg', 2), ('/home/nano/Desktop/images/10122025/05/46/image_10122025_05_46_54_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/05/46/image_10122025_05_46_45_9608.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 05:48:31.835372 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/05/48/image_10122025_05_48_45_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/05/48/image_10122025_05_48_34_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/05/48/image_10122025_05_48_25_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/05/48/image_10122025_05_48_14_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/05/47/image_10122025_05_48_05_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/05/47/image_10122025_05_47_55_10615.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 05:49:02.665707 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/05/48/image_10122025_05_48_45_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/05/48/image_10122025_05_48_34_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/05/48/image_10122025_05_48_25_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/05/48/image_10122025_05_48_14_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/05/47/image_10122025_05_48_05_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/05/47/image_10122025_05_47_55_10615.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 05:49:31.926872 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/05/49/image_10122025_05_49_45_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/05/49/image_10122025_05_49_35_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/05/49/image_10122025_05_49_24_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/05/49/image_10122025_05_49_15_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/05/48/image_10122025_05_48_55_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/05/48/image_10122025_05_48_45_10615.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 05:50:02.299025 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/05/49/image_10122025_05_49_45_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/05/49/image_10122025_05_49_35_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/05/49/image_10122025_05_49_24_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/05/49/image_10122025_05_49_15_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/05/48/image_10122025_05_48_55_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/05/48/image_10122025_05_48_45_10615.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 05:50:32.042351 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/05/50/image_10122025_05_50_44_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/05/50/image_10122025_05_50_35_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/05/50/image_10122025_05_50_24_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/05/50/image_10122025_05_50_15_9614.jpg', 2), ('/home/nano/Desktop/images/10122025/05/49/image_10122025_05_50_05_10631.jpg', 2), ('/home/nano/Desktop/images/10122025/05/49/image_10122025_05_49_54_9606.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 05:51:02.699311 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/05/50/image_10122025_05_50_44_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/05/50/image_10122025_05_50_35_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/05/50/image_10122025_05_50_24_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/05/50/image_10122025_05_50_15_9614.jpg', 2), ('/home/nano/Desktop/images/10122025/05/49/image_10122025_05_50_05_10631.jpg', 2), ('/home/nano/Desktop/images/10122025/05/49/image_10122025_05_49_54_9606.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 05:51:32.110048 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/05/51/image_10122025_05_51_45_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/05/51/image_10122025_05_51_14_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/05/50/image_10122025_05_51_05_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/05/50/image_10122025_05_50_55_10613.jpg', 2), ('/home/nano/Desktop/images/10122025/05/50/image_10122025_05_50_44_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/05/50/image_10122025_05_50_35_10615.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 05:52:02.624344 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/05/51/image_10122025_05_51_45_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/05/51/image_10122025_05_51_14_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/05/50/image_10122025_05_51_05_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/05/50/image_10122025_05_50_55_10613.jpg', 2), ('/home/nano/Desktop/images/10122025/05/50/image_10122025_05_50_44_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/05/50/image_10122025_05_50_35_10615.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 05:52:32.193620 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/05/51/image_10122025_05_52_04_9630.jpg', 2), ('/home/nano/Desktop/images/10122025/05/51/image_10122025_05_51_55_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/05/51/image_10122025_05_51_45_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/05/51/image_10122025_05_51_14_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/05/50/image_10122025_05_51_05_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/05/50/image_10122025_05_50_55_10613.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 05:53:02.758002 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/05/51/image_10122025_05_52_04_9630.jpg', 2), ('/home/nano/Desktop/images/10122025/05/51/image_10122025_05_51_55_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/05/51/image_10122025_05_51_45_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/05/51/image_10122025_05_51_14_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/05/50/image_10122025_05_51_05_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/05/50/image_10122025_05_50_55_10613.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 05:53:32.384577 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/05/53/image_10122025_05_53_44_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/05/53/image_10122025_05_53_35_10633.jpg', 2), ('/home/nano/Desktop/images/10122025/05/53/image_10122025_05_53_15_9612.jpg', 2), ('/home/nano/Desktop/images/10122025/05/52/image_10122025_05_53_05_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/05/52/image_10122025_05_52_45_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/05/51/image_10122025_05_52_04_9630.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 05:54:03.126728 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/05/53/image_10122025_05_53_44_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/05/53/image_10122025_05_53_35_10633.jpg', 2), ('/home/nano/Desktop/images/10122025/05/53/image_10122025_05_53_15_9612.jpg', 2), ('/home/nano/Desktop/images/10122025/05/52/image_10122025_05_53_05_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/05/52/image_10122025_05_52_45_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/05/51/image_10122025_05_52_04_9630.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 05:54:32.430755 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/05/54/image_10122025_05_54_44_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/05/54/image_10122025_05_54_35_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/05/54/image_10122025_05_54_25_10634.jpg', 2), ('/home/nano/Desktop/images/10122025/05/53/image_10122025_05_53_54_9612.jpg', 2), ('/home/nano/Desktop/images/10122025/05/53/image_10122025_05_53_44_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/05/53/image_10122025_05_53_35_10633.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 05:55:02.961862 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/05/54/image_10122025_05_54_44_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/05/54/image_10122025_05_54_35_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/05/54/image_10122025_05_54_25_10634.jpg', 2), ('/home/nano/Desktop/images/10122025/05/53/image_10122025_05_53_54_9612.jpg', 2), ('/home/nano/Desktop/images/10122025/05/53/image_10122025_05_53_44_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/05/53/image_10122025_05_53_35_10633.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 05:55:32.506920 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/05/55/image_10122025_05_55_15_10629.jpg', 2), ('/home/nano/Desktop/images/10122025/05/54/image_10122025_05_55_04_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/05/54/image_10122025_05_54_55_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/05/54/image_10122025_05_54_44_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/05/54/image_10122025_05_54_35_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/05/54/image_10122025_05_54_25_10634.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 05:56:02.948611 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/05/55/image_10122025_05_55_15_10629.jpg', 2), ('/home/nano/Desktop/images/10122025/05/54/image_10122025_05_55_04_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/05/54/image_10122025_05_54_55_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/05/54/image_10122025_05_54_44_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/05/54/image_10122025_05_54_35_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/05/54/image_10122025_05_54_25_10634.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 05:56:32.691124 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/05/56/image_10122025_05_56_24_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/05/56/image_10122025_05_56_15_10632.jpg', 2), ('/home/nano/Desktop/images/10122025/05/55/image_10122025_05_55_34_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/05/55/image_10122025_05_55_15_10629.jpg', 2), ('/home/nano/Desktop/images/10122025/05/54/image_10122025_05_55_04_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/05/54/image_10122025_05_54_55_10616.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 05:57:02.250908 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/05/56/image_10122025_05_56_24_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/05/56/image_10122025_05_56_15_10632.jpg', 2), ('/home/nano/Desktop/images/10122025/05/55/image_10122025_05_55_34_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/05/55/image_10122025_05_55_15_10629.jpg', 2), ('/home/nano/Desktop/images/10122025/05/54/image_10122025_05_55_04_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/05/54/image_10122025_05_54_55_10616.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 05:57:31.790999 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/05/57/image_10122025_05_57_44_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/05/57/image_10122025_05_57_35_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/05/57/image_10122025_05_57_24_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/05/56/image_10122025_05_56_54_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/05/56/image_10122025_05_56_24_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/05/56/image_10122025_05_56_15_10632.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 05:58:02.351330 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/05/57/image_10122025_05_57_44_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/05/57/image_10122025_05_57_35_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/05/57/image_10122025_05_57_24_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/05/56/image_10122025_05_56_54_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/05/56/image_10122025_05_56_24_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/05/56/image_10122025_05_56_15_10632.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 05:58:31.933823 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/05/57/image_10122025_05_58_05_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/05/57/image_10122025_05_57_55_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/05/57/image_10122025_05_57_44_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/05/57/image_10122025_05_57_35_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/05/57/image_10122025_05_57_24_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/05/56/image_10122025_05_56_54_9621.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 05:59:02.899261 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/05/57/image_10122025_05_58_05_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/05/57/image_10122025_05_57_55_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/05/57/image_10122025_05_57_44_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/05/57/image_10122025_05_57_35_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/05/57/image_10122025_05_57_24_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/05/56/image_10122025_05_56_54_9621.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 05:59:32.131288 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/05/59/image_10122025_05_59_15_10631.jpg', 2), ('/home/nano/Desktop/images/10122025/05/58/image_10122025_05_59_04_9616.jpg', 2), ('/home/nano/Desktop/images/10122025/05/58/image_10122025_05_58_14_9616.jpg', 2), ('/home/nano/Desktop/images/10122025/05/57/image_10122025_05_58_05_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/05/57/image_10122025_05_57_55_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/05/57/image_10122025_05_57_44_9605.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 06:00:02.404823 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/05/59/image_10122025_05_59_15_10631.jpg', 2), ('/home/nano/Desktop/images/10122025/05/58/image_10122025_05_59_04_9616.jpg', 2), ('/home/nano/Desktop/images/10122025/05/58/image_10122025_05_58_14_9616.jpg', 2), ('/home/nano/Desktop/images/10122025/05/57/image_10122025_05_58_05_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/05/57/image_10122025_05_57_55_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/05/57/image_10122025_05_57_44_9605.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 06:00:32.117288 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/06/00/image_10122025_06_00_44_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/06/00/image_10122025_06_00_24_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/06/00/image_10122025_06_00_15_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/05/59/image_10122025_05_59_54_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/05/59/image_10122025_05_59_15_10631.jpg', 2), ('/home/nano/Desktop/images/10122025/05/58/image_10122025_05_59_04_9616.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 06:01:02.849289 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/06/00/image_10122025_06_00_44_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/06/00/image_10122025_06_00_24_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/06/00/image_10122025_06_00_15_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/05/59/image_10122025_05_59_54_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/05/59/image_10122025_05_59_15_10631.jpg', 2), ('/home/nano/Desktop/images/10122025/05/58/image_10122025_05_59_04_9616.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 06:01:32.251994 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/06/01/image_10122025_06_01_44_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/06/01/image_10122025_06_01_14_9615.jpg', 2), ('/home/nano/Desktop/images/10122025/06/00/image_10122025_06_01_05_9638.jpg', 2), ('/home/nano/Desktop/images/10122025/06/00/image_10122025_06_00_55_10633.jpg', 2), ('/home/nano/Desktop/images/10122025/06/00/image_10122025_06_00_44_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/06/00/image_10122025_06_00_24_9607.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 06:02:02.633392 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/06/01/image_10122025_06_01_44_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/06/01/image_10122025_06_01_14_9615.jpg', 2), ('/home/nano/Desktop/images/10122025/06/00/image_10122025_06_01_05_9638.jpg', 2), ('/home/nano/Desktop/images/10122025/06/00/image_10122025_06_00_55_10633.jpg', 2), ('/home/nano/Desktop/images/10122025/06/00/image_10122025_06_00_44_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/06/00/image_10122025_06_00_24_9607.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 06:02:32.354371 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/06/02/image_10122025_06_02_45_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/06/02/image_10122025_06_02_34_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/06/02/image_10122025_06_02_25_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/06/01/image_10122025_06_02_04_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/06/01/image_10122025_06_01_55_10631.jpg', 2), ('/home/nano/Desktop/images/10122025/06/01/image_10122025_06_01_44_9611.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 06:03:03.039064 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/06/02/image_10122025_06_02_45_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/06/02/image_10122025_06_02_34_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/06/02/image_10122025_06_02_25_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/06/01/image_10122025_06_02_04_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/06/01/image_10122025_06_01_55_10631.jpg', 2), ('/home/nano/Desktop/images/10122025/06/01/image_10122025_06_01_44_9611.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 06:03:32.393736 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/06/03/image_10122025_06_03_35_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/06/03/image_10122025_06_03_24_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/06/02/image_10122025_06_03_04_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/06/02/image_10122025_06_02_54_9603.jpg', 2), ('/home/nano/Desktop/images/10122025/06/02/image_10122025_06_02_45_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/06/02/image_10122025_06_02_34_9621.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 06:04:03.108257 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/06/03/image_10122025_06_03_35_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/06/03/image_10122025_06_03_24_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/06/02/image_10122025_06_03_04_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/06/02/image_10122025_06_02_54_9603.jpg', 2), ('/home/nano/Desktop/images/10122025/06/02/image_10122025_06_02_45_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/06/02/image_10122025_06_02_34_9621.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 06:04:32.542151 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/06/04/image_10122025_06_04_44_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/06/04/image_10122025_06_04_35_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/06/04/image_10122025_06_04_25_10613.jpg', 2), ('/home/nano/Desktop/images/10122025/06/04/image_10122025_06_04_14_9637.jpg', 2), ('/home/nano/Desktop/images/10122025/06/03/image_10122025_06_04_05_10634.jpg', 2), ('/home/nano/Desktop/images/10122025/06/03/image_10122025_06_03_54_9605.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 06:05:03.152545 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/06/04/image_10122025_06_04_44_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/06/04/image_10122025_06_04_35_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/06/04/image_10122025_06_04_25_10613.jpg', 2), ('/home/nano/Desktop/images/10122025/06/04/image_10122025_06_04_14_9637.jpg', 2), ('/home/nano/Desktop/images/10122025/06/03/image_10122025_06_04_05_10634.jpg', 2), ('/home/nano/Desktop/images/10122025/06/03/image_10122025_06_03_54_9605.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 06:05:32.623697 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/06/05/image_10122025_06_05_45_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/06/05/image_10122025_06_05_34_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/06/05/image_10122025_06_05_25_10632.jpg', 2), ('/home/nano/Desktop/images/10122025/06/05/image_10122025_06_05_14_9639.jpg', 2), ('/home/nano/Desktop/images/10122025/06/04/image_10122025_06_05_05_9637.jpg', 2), ('/home/nano/Desktop/images/10122025/06/04/image_10122025_06_04_55_10615.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 06:06:03.167901 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/06/05/image_10122025_06_05_45_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/06/05/image_10122025_06_05_34_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/06/05/image_10122025_06_05_25_10632.jpg', 2), ('/home/nano/Desktop/images/10122025/06/05/image_10122025_06_05_14_9639.jpg', 2), ('/home/nano/Desktop/images/10122025/06/04/image_10122025_06_05_05_9637.jpg', 2), ('/home/nano/Desktop/images/10122025/06/04/image_10122025_06_04_55_10615.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 06:06:32.728832 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/06/06/image_10122025_06_06_45_9612.jpg', 2), ('/home/nano/Desktop/images/10122025/06/06/image_10122025_06_06_35_10622.jpg', 2), ('/home/nano/Desktop/images/10122025/06/06/image_10122025_06_06_24_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/06/06/image_10122025_06_06_15_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/06/05/image_10122025_06_06_04_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/06/05/image_10122025_06_05_55_9605.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 06:07:02.259554 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/06/06/image_10122025_06_06_45_9612.jpg', 2), ('/home/nano/Desktop/images/10122025/06/06/image_10122025_06_06_35_10622.jpg', 2), ('/home/nano/Desktop/images/10122025/06/06/image_10122025_06_06_24_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/06/06/image_10122025_06_06_15_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/06/05/image_10122025_06_06_04_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/06/05/image_10122025_06_05_55_9605.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 06:07:31.810270 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/06/07/image_10122025_06_07_24_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/06/06/image_10122025_06_07_05_10648.jpg', 2), ('/home/nano/Desktop/images/10122025/06/06/image_10122025_06_06_54_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/06/06/image_10122025_06_06_45_9612.jpg', 2), ('/home/nano/Desktop/images/10122025/06/06/image_10122025_06_06_35_10622.jpg', 2), ('/home/nano/Desktop/images/10122025/06/06/image_10122025_06_06_24_9608.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 06:08:02.275296 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/06/07/image_10122025_06_07_24_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/06/06/image_10122025_06_07_05_10648.jpg', 2), ('/home/nano/Desktop/images/10122025/06/06/image_10122025_06_06_54_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/06/06/image_10122025_06_06_45_9612.jpg', 2), ('/home/nano/Desktop/images/10122025/06/06/image_10122025_06_06_35_10622.jpg', 2), ('/home/nano/Desktop/images/10122025/06/06/image_10122025_06_06_24_9608.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 06:08:31.891283 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/06/08/image_10122025_06_08_44_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/06/08/image_10122025_06_08_35_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/06/08/image_10122025_06_08_25_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/06/08/image_10122025_06_08_14_9635.jpg', 2), ('/home/nano/Desktop/images/10122025/06/07/image_10122025_06_08_05_9624.jpg', 2), ('/home/nano/Desktop/images/10122025/06/07/image_10122025_06_07_55_10615.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 06:09:02.796403 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/06/08/image_10122025_06_08_44_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/06/08/image_10122025_06_08_35_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/06/08/image_10122025_06_08_25_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/06/08/image_10122025_06_08_14_9635.jpg', 2), ('/home/nano/Desktop/images/10122025/06/07/image_10122025_06_08_05_9624.jpg', 2), ('/home/nano/Desktop/images/10122025/06/07/image_10122025_06_07_55_10615.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 06:09:32.101792 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/06/08/image_10122025_06_08_55_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/06/08/image_10122025_06_08_44_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/06/08/image_10122025_06_08_35_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/06/08/image_10122025_06_08_25_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/06/08/image_10122025_06_08_14_9635.jpg', 2), ('/home/nano/Desktop/images/10122025/06/07/image_10122025_06_08_05_9624.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 06:10:02.438388 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/06/08/image_10122025_06_08_55_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/06/08/image_10122025_06_08_44_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/06/08/image_10122025_06_08_35_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/06/08/image_10122025_06_08_25_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/06/08/image_10122025_06_08_14_9635.jpg', 2), ('/home/nano/Desktop/images/10122025/06/07/image_10122025_06_08_05_9624.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 06:10:32.114608 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/06/10/image_10122025_06_10_24_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/06/10/image_10122025_06_10_15_9615.jpg', 2), ('/home/nano/Desktop/images/10122025/06/09/image_10122025_06_09_15_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/06/08/image_10122025_06_08_55_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/06/08/image_10122025_06_08_44_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/06/08/image_10122025_06_08_35_9621.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 06:11:02.661596 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/06/10/image_10122025_06_10_24_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/06/10/image_10122025_06_10_15_9615.jpg', 2), ('/home/nano/Desktop/images/10122025/06/09/image_10122025_06_09_15_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/06/08/image_10122025_06_08_55_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/06/08/image_10122025_06_08_44_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/06/08/image_10122025_06_08_35_9621.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 06:11:32.237240 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/06/11/image_10122025_06_11_35_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/06/11/image_10122025_06_11_25_10613.jpg', 2), ('/home/nano/Desktop/images/10122025/06/11/image_10122025_06_11_14_9613.jpg', 2), ('/home/nano/Desktop/images/10122025/06/10/image_10122025_06_11_05_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/06/10/image_10122025_06_10_54_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/06/10/image_10122025_06_10_24_9604.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 06:12:02.728272 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/06/11/image_10122025_06_11_35_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/06/11/image_10122025_06_11_25_10613.jpg', 2), ('/home/nano/Desktop/images/10122025/06/11/image_10122025_06_11_14_9613.jpg', 2), ('/home/nano/Desktop/images/10122025/06/10/image_10122025_06_11_05_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/06/10/image_10122025_06_10_54_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/06/10/image_10122025_06_10_24_9604.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 06:12:32.354526 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/06/12/image_10122025_06_12_45_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/06/12/image_10122025_06_12_34_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/06/12/image_10122025_06_12_15_10650.jpg', 2), ('/home/nano/Desktop/images/10122025/06/11/image_10122025_06_12_04_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/06/11/image_10122025_06_11_44_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/06/11/image_10122025_06_11_35_9622.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 06:13:02.908179 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/06/12/image_10122025_06_12_45_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/06/12/image_10122025_06_12_34_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/06/12/image_10122025_06_12_15_10650.jpg', 2), ('/home/nano/Desktop/images/10122025/06/11/image_10122025_06_12_04_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/06/11/image_10122025_06_11_44_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/06/11/image_10122025_06_11_35_9622.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 06:13:32.447574 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/06/13/image_10122025_06_13_35_10632.jpg', 2), ('/home/nano/Desktop/images/10122025/06/13/image_10122025_06_13_24_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/06/13/image_10122025_06_13_15_10629.jpg', 2), ('/home/nano/Desktop/images/10122025/06/12/image_10122025_06_13_04_9623.jpg', 2), ('/home/nano/Desktop/images/10122025/06/12/image_10122025_06_12_55_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/06/12/image_10122025_06_12_45_10617.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 06:14:03.150165 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/06/13/image_10122025_06_13_35_10632.jpg', 2), ('/home/nano/Desktop/images/10122025/06/13/image_10122025_06_13_24_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/06/13/image_10122025_06_13_15_10629.jpg', 2), ('/home/nano/Desktop/images/10122025/06/12/image_10122025_06_13_04_9623.jpg', 2), ('/home/nano/Desktop/images/10122025/06/12/image_10122025_06_12_55_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/06/12/image_10122025_06_12_45_10617.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 06:14:32.546556 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/06/14/image_10122025_06_14_44_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/06/14/image_10122025_06_14_35_10613.jpg', 2), ('/home/nano/Desktop/images/10122025/06/14/image_10122025_06_14_14_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/06/13/image_10122025_06_14_05_10626.jpg', 2), ('/home/nano/Desktop/images/10122025/06/13/image_10122025_06_13_45_9601.jpg', 2), ('/home/nano/Desktop/images/10122025/06/13/image_10122025_06_13_35_10632.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 06:15:03.231748 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/06/14/image_10122025_06_14_44_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/06/14/image_10122025_06_14_35_10613.jpg', 2), ('/home/nano/Desktop/images/10122025/06/14/image_10122025_06_14_14_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/06/13/image_10122025_06_14_05_10626.jpg', 2), ('/home/nano/Desktop/images/10122025/06/13/image_10122025_06_13_45_9601.jpg', 2), ('/home/nano/Desktop/images/10122025/06/13/image_10122025_06_13_35_10632.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 06:15:32.651192 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/06/15/image_10122025_06_15_45_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/06/15/image_10122025_06_15_14_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/06/14/image_10122025_06_15_05_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/06/14/image_10122025_06_14_55_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/06/14/image_10122025_06_14_44_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/06/14/image_10122025_06_14_35_10613.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 06:16:03.055804 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/06/15/image_10122025_06_15_45_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/06/15/image_10122025_06_15_14_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/06/14/image_10122025_06_15_05_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/06/14/image_10122025_06_14_55_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/06/14/image_10122025_06_14_44_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/06/14/image_10122025_06_14_35_10613.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 06:16:32.749650 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/06/15/image_10122025_06_16_04_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/06/15/image_10122025_06_15_55_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/06/15/image_10122025_06_15_45_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/06/15/image_10122025_06_15_14_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/06/14/image_10122025_06_15_05_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/06/14/image_10122025_06_14_55_10616.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 06:17:02.401494 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/06/15/image_10122025_06_16_04_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/06/15/image_10122025_06_15_55_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/06/15/image_10122025_06_15_45_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/06/15/image_10122025_06_15_14_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/06/14/image_10122025_06_15_05_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/06/14/image_10122025_06_14_55_10616.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 06:17:31.840771 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/06/17/image_10122025_06_17_35_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/06/17/image_10122025_06_17_24_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/06/17/image_10122025_06_17_15_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/06/16/image_10122025_06_16_45_10632.jpg', 2), ('/home/nano/Desktop/images/10122025/06/15/image_10122025_06_16_04_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/06/15/image_10122025_06_15_55_9606.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 06:18:02.290740 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/06/17/image_10122025_06_17_35_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/06/17/image_10122025_06_17_24_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/06/17/image_10122025_06_17_15_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/06/16/image_10122025_06_16_45_10632.jpg', 2), ('/home/nano/Desktop/images/10122025/06/15/image_10122025_06_16_04_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/06/15/image_10122025_06_15_55_9606.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 06:18:31.985951 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/06/18/image_10122025_06_18_35_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/06/18/image_10122025_06_18_14_9631.jpg', 2), ('/home/nano/Desktop/images/10122025/06/17/image_10122025_06_18_05_9636.jpg', 2), ('/home/nano/Desktop/images/10122025/06/17/image_10122025_06_17_55_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/06/17/image_10122025_06_17_35_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/06/17/image_10122025_06_17_24_9606.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 06:19:02.851684 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/06/18/image_10122025_06_18_35_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/06/18/image_10122025_06_18_14_9631.jpg', 2), ('/home/nano/Desktop/images/10122025/06/17/image_10122025_06_18_05_9636.jpg', 2), ('/home/nano/Desktop/images/10122025/06/17/image_10122025_06_17_55_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/06/17/image_10122025_06_17_35_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/06/17/image_10122025_06_17_24_9606.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 06:19:32.056844 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/06/19/image_10122025_06_19_45_10619.jpg', 2), ('/home/nano/Desktop/images/10122025/06/19/image_10122025_06_19_15_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/06/18/image_10122025_06_19_04_9613.jpg', 2), ('/home/nano/Desktop/images/10122025/06/18/image_10122025_06_18_44_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/06/18/image_10122025_06_18_35_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/06/18/image_10122025_06_18_14_9631.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 06:20:02.427687 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/06/19/image_10122025_06_19_45_10619.jpg', 2), ('/home/nano/Desktop/images/10122025/06/19/image_10122025_06_19_15_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/06/18/image_10122025_06_19_04_9613.jpg', 2), ('/home/nano/Desktop/images/10122025/06/18/image_10122025_06_18_44_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/06/18/image_10122025_06_18_35_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/06/18/image_10122025_06_18_14_9631.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 06:20:32.153799 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/06/20/image_10122025_06_20_44_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/06/20/image_10122025_06_20_35_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/06/20/image_10122025_06_20_24_9603.jpg', 2), ('/home/nano/Desktop/images/10122025/06/20/image_10122025_06_20_15_9613.jpg', 2), ('/home/nano/Desktop/images/10122025/06/19/image_10122025_06_20_05_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/06/19/image_10122025_06_19_54_9603.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 06:21:02.780107 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/06/20/image_10122025_06_20_44_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/06/20/image_10122025_06_20_35_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/06/20/image_10122025_06_20_24_9603.jpg', 2), ('/home/nano/Desktop/images/10122025/06/20/image_10122025_06_20_15_9613.jpg', 2), ('/home/nano/Desktop/images/10122025/06/19/image_10122025_06_20_05_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/06/19/image_10122025_06_19_54_9603.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 06:21:32.240685 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/06/21/image_10122025_06_21_44_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/06/21/image_10122025_06_21_35_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/06/21/image_10122025_06_21_25_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/06/21/image_10122025_06_21_14_9614.jpg', 2), ('/home/nano/Desktop/images/10122025/06/20/image_10122025_06_21_05_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/06/20/image_10122025_06_20_55_10616.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 06:22:02.657766 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/06/21/image_10122025_06_21_44_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/06/21/image_10122025_06_21_35_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/06/21/image_10122025_06_21_25_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/06/21/image_10122025_06_21_14_9614.jpg', 2), ('/home/nano/Desktop/images/10122025/06/20/image_10122025_06_21_05_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/06/20/image_10122025_06_20_55_10616.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 06:22:32.350552 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/06/22/image_10122025_06_22_45_10612.jpg', 2), ('/home/nano/Desktop/images/10122025/06/22/image_10122025_06_22_34_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/06/22/image_10122025_06_22_25_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/06/22/image_10122025_06_22_15_10627.jpg', 2), ('/home/nano/Desktop/images/10122025/06/21/image_10122025_06_21_55_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/06/21/image_10122025_06_21_44_9617.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 06:23:03.023232 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/06/22/image_10122025_06_22_45_10612.jpg', 2), ('/home/nano/Desktop/images/10122025/06/22/image_10122025_06_22_34_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/06/22/image_10122025_06_22_25_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/06/22/image_10122025_06_22_15_10627.jpg', 2), ('/home/nano/Desktop/images/10122025/06/21/image_10122025_06_21_55_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/06/21/image_10122025_06_21_44_9617.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 06:23:32.421952 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/06/23/image_10122025_06_23_45_9603.jpg', 2), ('/home/nano/Desktop/images/10122025/06/23/image_10122025_06_23_35_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/06/23/image_10122025_06_23_24_9603.jpg', 2), ('/home/nano/Desktop/images/10122025/06/22/image_10122025_06_23_05_10624.jpg', 2), ('/home/nano/Desktop/images/10122025/06/22/image_10122025_06_22_54_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/06/22/image_10122025_06_22_45_10612.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 06:24:03.243038 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/06/23/image_10122025_06_23_45_9603.jpg', 2), ('/home/nano/Desktop/images/10122025/06/23/image_10122025_06_23_35_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/06/23/image_10122025_06_23_24_9603.jpg', 2), ('/home/nano/Desktop/images/10122025/06/22/image_10122025_06_23_05_10624.jpg', 2), ('/home/nano/Desktop/images/10122025/06/22/image_10122025_06_22_54_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/06/22/image_10122025_06_22_45_10612.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 06:24:32.574446 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/06/24/image_10122025_06_24_44_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/06/24/image_10122025_06_24_35_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/06/24/image_10122025_06_24_25_10612.jpg', 2), ('/home/nano/Desktop/images/10122025/06/24/image_10122025_06_24_14_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/06/23/image_10122025_06_24_05_10623.jpg', 2), ('/home/nano/Desktop/images/10122025/06/23/image_10122025_06_23_54_9606.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 06:25:03.073940 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/06/24/image_10122025_06_24_44_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/06/24/image_10122025_06_24_35_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/06/24/image_10122025_06_24_25_10612.jpg', 2), ('/home/nano/Desktop/images/10122025/06/24/image_10122025_06_24_14_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/06/23/image_10122025_06_24_05_10623.jpg', 2), ('/home/nano/Desktop/images/10122025/06/23/image_10122025_06_23_54_9606.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 06:25:32.685819 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/06/25/image_10122025_06_25_45_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/06/24/image_10122025_06_24_55_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/06/24/image_10122025_06_24_44_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/06/24/image_10122025_06_24_35_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/06/24/image_10122025_06_24_25_10612.jpg', 2), ('/home/nano/Desktop/images/10122025/06/24/image_10122025_06_24_14_9618.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 06:26:02.062044 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/06/25/image_10122025_06_25_45_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/06/24/image_10122025_06_24_55_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/06/24/image_10122025_06_24_44_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/06/24/image_10122025_06_24_35_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/06/24/image_10122025_06_24_25_10612.jpg', 2), ('/home/nano/Desktop/images/10122025/06/24/image_10122025_06_24_14_9618.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 06:26:31.760560 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/06/26/image_10122025_06_26_45_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/06/26/image_10122025_06_26_35_10613.jpg', 2), ('/home/nano/Desktop/images/10122025/06/26/image_10122025_06_26_24_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/06/25/image_10122025_06_25_55_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/06/25/image_10122025_06_25_45_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/06/24/image_10122025_06_24_55_10615.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 06:27:02.270217 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/06/26/image_10122025_06_26_45_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/06/26/image_10122025_06_26_35_10613.jpg', 2), ('/home/nano/Desktop/images/10122025/06/26/image_10122025_06_26_24_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/06/25/image_10122025_06_25_55_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/06/25/image_10122025_06_25_45_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/06/24/image_10122025_06_24_55_10615.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 06:27:31.864537 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/06/27/image_10122025_06_27_44_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/06/27/image_10122025_06_27_35_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/06/27/image_10122025_06_27_14_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/06/26/image_10122025_06_27_05_10623.jpg', 2), ('/home/nano/Desktop/images/10122025/06/26/image_10122025_06_26_54_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/06/26/image_10122025_06_26_45_9608.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 06:28:02.280971 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/06/27/image_10122025_06_27_44_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/06/27/image_10122025_06_27_35_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/06/27/image_10122025_06_27_14_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/06/26/image_10122025_06_27_05_10623.jpg', 2), ('/home/nano/Desktop/images/10122025/06/26/image_10122025_06_26_54_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/06/26/image_10122025_06_26_45_9608.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 06:28:32.079076 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/06/28/image_10122025_06_28_45_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/06/28/image_10122025_06_28_34_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/06/28/image_10122025_06_28_25_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/06/28/image_10122025_06_28_14_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/06/27/image_10122025_06_28_04_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/06/27/image_10122025_06_27_55_10616.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 06:29:03.178353 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/06/28/image_10122025_06_28_45_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/06/28/image_10122025_06_28_34_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/06/28/image_10122025_06_28_25_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/06/28/image_10122025_06_28_14_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/06/27/image_10122025_06_28_04_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/06/27/image_10122025_06_27_55_10616.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 06:29:32.178329 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/06/29/image_10122025_06_29_45_9594.jpg', 2), ('/home/nano/Desktop/images/10122025/06/29/image_10122025_06_29_35_10607.jpg', 2), ('/home/nano/Desktop/images/10122025/06/29/image_10122025_06_29_24_9602.jpg', 2), ('/home/nano/Desktop/images/10122025/06/29/image_10122025_06_29_15_10632.jpg', 2), ('/home/nano/Desktop/images/10122025/06/28/image_10122025_06_28_55_9603.jpg', 2), ('/home/nano/Desktop/images/10122025/06/28/image_10122025_06_28_45_10614.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 06:30:02.805767 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/06/29/image_10122025_06_29_45_9594.jpg', 2), ('/home/nano/Desktop/images/10122025/06/29/image_10122025_06_29_35_10607.jpg', 2), ('/home/nano/Desktop/images/10122025/06/29/image_10122025_06_29_24_9602.jpg', 2), ('/home/nano/Desktop/images/10122025/06/29/image_10122025_06_29_15_10632.jpg', 2), ('/home/nano/Desktop/images/10122025/06/28/image_10122025_06_28_55_9603.jpg', 2), ('/home/nano/Desktop/images/10122025/06/28/image_10122025_06_28_45_10614.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 06:30:32.196472 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/06/30/image_10122025_06_30_44_9599.jpg', 2), ('/home/nano/Desktop/images/10122025/06/30/image_10122025_06_30_35_10604.jpg', 2), ('/home/nano/Desktop/images/10122025/06/30/image_10122025_06_30_24_9613.jpg', 2), ('/home/nano/Desktop/images/10122025/06/30/image_10122025_06_30_14_9635.jpg', 2), ('/home/nano/Desktop/images/10122025/06/29/image_10122025_06_30_05_10649.jpg', 2), ('/home/nano/Desktop/images/10122025/06/29/image_10122025_06_29_54_9618.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 06:31:03.007841 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/06/30/image_10122025_06_30_44_9599.jpg', 2), ('/home/nano/Desktop/images/10122025/06/30/image_10122025_06_30_35_10604.jpg', 2), ('/home/nano/Desktop/images/10122025/06/30/image_10122025_06_30_24_9613.jpg', 2), ('/home/nano/Desktop/images/10122025/06/30/image_10122025_06_30_14_9635.jpg', 2), ('/home/nano/Desktop/images/10122025/06/29/image_10122025_06_30_05_10649.jpg', 2), ('/home/nano/Desktop/images/10122025/06/29/image_10122025_06_29_54_9618.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 06:31:32.289934 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/06/31/image_10122025_06_31_45_10600.jpg', 2), ('/home/nano/Desktop/images/10122025/06/31/image_10122025_06_31_34_9598.jpg', 2), ('/home/nano/Desktop/images/10122025/06/31/image_10122025_06_31_25_10599.jpg', 2), ('/home/nano/Desktop/images/10122025/06/31/image_10122025_06_31_14_9603.jpg', 2), ('/home/nano/Desktop/images/10122025/06/30/image_10122025_06_31_05_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/06/30/image_10122025_06_30_55_10608.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 06:32:02.897313 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/06/31/image_10122025_06_31_45_10600.jpg', 2), ('/home/nano/Desktop/images/10122025/06/31/image_10122025_06_31_34_9598.jpg', 2), ('/home/nano/Desktop/images/10122025/06/31/image_10122025_06_31_25_10599.jpg', 2), ('/home/nano/Desktop/images/10122025/06/31/image_10122025_06_31_14_9603.jpg', 2), ('/home/nano/Desktop/images/10122025/06/30/image_10122025_06_31_05_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/06/30/image_10122025_06_30_55_10608.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 06:32:32.391398 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/06/32/image_10122025_06_32_45_9590.jpg', 2), ('/home/nano/Desktop/images/10122025/06/32/image_10122025_06_32_35_10603.jpg', 2), ('/home/nano/Desktop/images/10122025/06/32/image_10122025_06_32_24_9613.jpg', 2), ('/home/nano/Desktop/images/10122025/06/32/image_10122025_06_32_15_10632.jpg', 2), ('/home/nano/Desktop/images/10122025/06/31/image_10122025_06_32_04_9614.jpg', 2), ('/home/nano/Desktop/images/10122025/06/31/image_10122025_06_31_55_9590.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 06:33:03.231137 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/06/32/image_10122025_06_32_45_9590.jpg', 2), ('/home/nano/Desktop/images/10122025/06/32/image_10122025_06_32_35_10603.jpg', 2), ('/home/nano/Desktop/images/10122025/06/32/image_10122025_06_32_24_9613.jpg', 2), ('/home/nano/Desktop/images/10122025/06/32/image_10122025_06_32_15_10632.jpg', 2), ('/home/nano/Desktop/images/10122025/06/31/image_10122025_06_32_04_9614.jpg', 2), ('/home/nano/Desktop/images/10122025/06/31/image_10122025_06_31_55_9590.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 06:33:32.490695 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/06/33/image_10122025_06_33_44_9594.jpg', 2), ('/home/nano/Desktop/images/10122025/06/33/image_10122025_06_33_35_9594.jpg', 2), ('/home/nano/Desktop/images/10122025/06/33/image_10122025_06_33_25_10613.jpg', 2), ('/home/nano/Desktop/images/10122025/06/33/image_10122025_06_33_14_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/06/32/image_10122025_06_33_05_10644.jpg', 2), ('/home/nano/Desktop/images/10122025/06/32/image_10122025_06_32_54_9589.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 06:34:03.582807 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/06/33/image_10122025_06_33_44_9594.jpg', 2), ('/home/nano/Desktop/images/10122025/06/33/image_10122025_06_33_35_9594.jpg', 2), ('/home/nano/Desktop/images/10122025/06/33/image_10122025_06_33_25_10613.jpg', 2), ('/home/nano/Desktop/images/10122025/06/33/image_10122025_06_33_14_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/06/32/image_10122025_06_33_05_10644.jpg', 2), ('/home/nano/Desktop/images/10122025/06/32/image_10122025_06_32_54_9589.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 06:34:32.624140 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/06/34/image_10122025_06_34_45_10602.jpg', 2), ('/home/nano/Desktop/images/10122025/06/34/image_10122025_06_34_34_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/06/34/image_10122025_06_34_25_9587.jpg', 2), ('/home/nano/Desktop/images/10122025/06/34/image_10122025_06_34_15_10609.jpg', 2), ('/home/nano/Desktop/images/10122025/06/33/image_10122025_06_34_04_9600.jpg', 2), ('/home/nano/Desktop/images/10122025/06/33/image_10122025_06_33_55_10597.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 06:35:03.486757 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/06/34/image_10122025_06_34_45_10602.jpg', 2), ('/home/nano/Desktop/images/10122025/06/34/image_10122025_06_34_34_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/06/34/image_10122025_06_34_25_9587.jpg', 2), ('/home/nano/Desktop/images/10122025/06/34/image_10122025_06_34_15_10609.jpg', 2), ('/home/nano/Desktop/images/10122025/06/33/image_10122025_06_34_04_9600.jpg', 2), ('/home/nano/Desktop/images/10122025/06/33/image_10122025_06_33_55_10597.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 06:35:32.777418 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/06/35/image_10122025_06_35_44_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/06/35/image_10122025_06_35_35_10601.jpg', 2), ('/home/nano/Desktop/images/10122025/06/35/image_10122025_06_35_24_9587.jpg', 2), ('/home/nano/Desktop/images/10122025/06/35/image_10122025_06_35_15_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/06/34/image_10122025_06_35_05_10623.jpg', 2), ('/home/nano/Desktop/images/10122025/06/34/image_10122025_06_34_54_9590.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 06:36:02.223274 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/06/35/image_10122025_06_35_44_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/06/35/image_10122025_06_35_35_10601.jpg', 2), ('/home/nano/Desktop/images/10122025/06/35/image_10122025_06_35_24_9587.jpg', 2), ('/home/nano/Desktop/images/10122025/06/35/image_10122025_06_35_15_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/06/34/image_10122025_06_35_05_10623.jpg', 2), ('/home/nano/Desktop/images/10122025/06/34/image_10122025_06_34_54_9590.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 06:36:31.860208 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/06/36/image_10122025_06_36_44_9624.jpg', 2), ('/home/nano/Desktop/images/10122025/06/36/image_10122025_06_36_35_9641.jpg', 2), ('/home/nano/Desktop/images/10122025/06/36/image_10122025_06_36_25_10607.jpg', 2), ('/home/nano/Desktop/images/10122025/06/36/image_10122025_06_36_14_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/06/35/image_10122025_06_36_05_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/06/35/image_10122025_06_35_55_10604.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 06:37:02.639075 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/06/36/image_10122025_06_36_44_9624.jpg', 2), ('/home/nano/Desktop/images/10122025/06/36/image_10122025_06_36_35_9641.jpg', 2), ('/home/nano/Desktop/images/10122025/06/36/image_10122025_06_36_25_10607.jpg', 2), ('/home/nano/Desktop/images/10122025/06/36/image_10122025_06_36_14_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/06/35/image_10122025_06_36_05_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/06/35/image_10122025_06_35_55_10604.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 06:37:31.934142 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/06/37/image_10122025_06_37_45_9719.jpg', 2), ('/home/nano/Desktop/images/10122025/06/37/image_10122025_06_37_35_9731.jpg', 2), ('/home/nano/Desktop/images/10122025/06/37/image_10122025_06_37_25_10745.jpg', 2), ('/home/nano/Desktop/images/10122025/06/37/image_10122025_06_37_14_9785.jpg', 2), ('/home/nano/Desktop/images/10122025/06/36/image_10122025_06_37_05_9699.jpg', 2), ('/home/nano/Desktop/images/10122025/06/36/image_10122025_06_36_55_10699.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 06:38:02.565578 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/06/37/image_10122025_06_37_45_9719.jpg', 2), ('/home/nano/Desktop/images/10122025/06/37/image_10122025_06_37_35_9731.jpg', 2), ('/home/nano/Desktop/images/10122025/06/37/image_10122025_06_37_25_10745.jpg', 2), ('/home/nano/Desktop/images/10122025/06/37/image_10122025_06_37_14_9785.jpg', 2), ('/home/nano/Desktop/images/10122025/06/36/image_10122025_06_37_05_9699.jpg', 2), ('/home/nano/Desktop/images/10122025/06/36/image_10122025_06_36_55_10699.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 06:38:32.039559 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/06/38/image_10122025_06_38_44_9613.jpg', 2), ('/home/nano/Desktop/images/10122025/06/38/image_10122025_06_38_35_10646.jpg', 2), ('/home/nano/Desktop/images/10122025/06/38/image_10122025_06_38_24_9677.jpg', 2), ('/home/nano/Desktop/images/10122025/06/38/image_10122025_06_38_14_9685.jpg', 2), ('/home/nano/Desktop/images/10122025/06/37/image_10122025_06_38_05_10684.jpg', 2), ('/home/nano/Desktop/images/10122025/06/37/image_10122025_06_37_54_9611.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 06:39:02.901874 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/06/38/image_10122025_06_38_44_9613.jpg', 2), ('/home/nano/Desktop/images/10122025/06/38/image_10122025_06_38_35_10646.jpg', 2), ('/home/nano/Desktop/images/10122025/06/38/image_10122025_06_38_24_9677.jpg', 2), ('/home/nano/Desktop/images/10122025/06/38/image_10122025_06_38_14_9685.jpg', 2), ('/home/nano/Desktop/images/10122025/06/37/image_10122025_06_38_05_10684.jpg', 2), ('/home/nano/Desktop/images/10122025/06/37/image_10122025_06_37_54_9611.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 06:39:32.124046 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/06/39/image_10122025_06_39_44_9627.jpg', 2), ('/home/nano/Desktop/images/10122025/06/39/image_10122025_06_39_35_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/06/39/image_10122025_06_39_25_10632.jpg', 2), ('/home/nano/Desktop/images/10122025/06/39/image_10122025_06_39_14_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/06/38/image_10122025_06_39_05_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/06/38/image_10122025_06_38_55_10607.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 06:40:02.841922 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/06/39/image_10122025_06_39_44_9627.jpg', 2), ('/home/nano/Desktop/images/10122025/06/39/image_10122025_06_39_35_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/06/39/image_10122025_06_39_25_10632.jpg', 2), ('/home/nano/Desktop/images/10122025/06/39/image_10122025_06_39_14_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/06/38/image_10122025_06_39_05_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/06/38/image_10122025_06_38_55_10607.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 06:40:32.235144 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/06/40/image_10122025_06_40_45_10641.jpg', 2), ('/home/nano/Desktop/images/10122025/06/40/image_10122025_06_40_34_9632.jpg', 2), ('/home/nano/Desktop/images/10122025/06/40/image_10122025_06_40_25_9613.jpg', 2), ('/home/nano/Desktop/images/10122025/06/39/image_10122025_06_40_04_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/06/39/image_10122025_06_39_55_10620.jpg', 2), ('/home/nano/Desktop/images/10122025/06/39/image_10122025_06_39_44_9627.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 06:41:02.934867 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/06/40/image_10122025_06_41_04_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/06/40/image_10122025_06_40_45_10641.jpg', 2), ('/home/nano/Desktop/images/10122025/06/40/image_10122025_06_40_34_9632.jpg', 2), ('/home/nano/Desktop/images/10122025/06/40/image_10122025_06_40_25_9613.jpg', 2), ('/home/nano/Desktop/images/10122025/06/39/image_10122025_06_40_04_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/06/39/image_10122025_06_39_55_10620.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 06:41:32.337929 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/06/41/image_10122025_06_41_45_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/06/41/image_10122025_06_41_35_10627.jpg', 2), ('/home/nano/Desktop/images/10122025/06/41/image_10122025_06_41_24_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/06/41/image_10122025_06_41_15_10642.jpg', 2), ('/home/nano/Desktop/images/10122025/06/40/image_10122025_06_41_04_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/06/40/image_10122025_06_40_54_9601.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 06:42:03.101905 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/06/41/image_10122025_06_41_45_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/06/41/image_10122025_06_41_35_10627.jpg', 2), ('/home/nano/Desktop/images/10122025/06/41/image_10122025_06_41_24_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/06/41/image_10122025_06_41_15_10642.jpg', 2), ('/home/nano/Desktop/images/10122025/06/40/image_10122025_06_41_04_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/06/40/image_10122025_06_40_54_9601.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 06:42:32.464158 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/06/42/image_10122025_06_42_44_9613.jpg', 2), ('/home/nano/Desktop/images/10122025/06/42/image_10122025_06_42_35_10625.jpg', 2), ('/home/nano/Desktop/images/10122025/06/42/image_10122025_06_42_24_9638.jpg', 2), ('/home/nano/Desktop/images/10122025/06/42/image_10122025_06_42_14_9630.jpg', 2), ('/home/nano/Desktop/images/10122025/06/41/image_10122025_06_42_05_10636.jpg', 2), ('/home/nano/Desktop/images/10122025/06/41/image_10122025_06_41_54_9621.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 06:43:03.183231 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/06/42/image_10122025_06_42_44_9613.jpg', 2), ('/home/nano/Desktop/images/10122025/06/42/image_10122025_06_42_35_10625.jpg', 2), ('/home/nano/Desktop/images/10122025/06/42/image_10122025_06_42_24_9638.jpg', 2), ('/home/nano/Desktop/images/10122025/06/42/image_10122025_06_42_14_9630.jpg', 2), ('/home/nano/Desktop/images/10122025/06/41/image_10122025_06_42_05_10636.jpg', 2), ('/home/nano/Desktop/images/10122025/06/41/image_10122025_06_41_54_9621.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 06:43:32.530576 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/06/43/image_10122025_06_43_44_9614.jpg', 2), ('/home/nano/Desktop/images/10122025/06/43/image_10122025_06_43_34_9612.jpg', 2), ('/home/nano/Desktop/images/10122025/06/43/image_10122025_06_43_25_10619.jpg', 2), ('/home/nano/Desktop/images/10122025/06/43/image_10122025_06_43_14_9629.jpg', 2), ('/home/nano/Desktop/images/10122025/06/42/image_10122025_06_42_55_10623.jpg', 2), ('/home/nano/Desktop/images/10122025/06/42/image_10122025_06_42_44_9613.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 06:44:03.231548 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/06/43/image_10122025_06_43_44_9614.jpg', 2), ('/home/nano/Desktop/images/10122025/06/43/image_10122025_06_43_34_9612.jpg', 2), ('/home/nano/Desktop/images/10122025/06/43/image_10122025_06_43_25_10619.jpg', 2), ('/home/nano/Desktop/images/10122025/06/43/image_10122025_06_43_14_9629.jpg', 2), ('/home/nano/Desktop/images/10122025/06/42/image_10122025_06_42_55_10623.jpg', 2), ('/home/nano/Desktop/images/10122025/06/42/image_10122025_06_42_44_9613.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 06:44:32.689567 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/06/44/image_10122025_06_44_45_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/06/44/image_10122025_06_44_34_9615.jpg', 2), ('/home/nano/Desktop/images/10122025/06/44/image_10122025_06_44_25_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/06/44/image_10122025_06_44_15_10643.jpg', 2), ('/home/nano/Desktop/images/10122025/06/43/image_10122025_06_44_04_9631.jpg', 2), ('/home/nano/Desktop/images/10122025/06/43/image_10122025_06_43_55_10630.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 06:45:03.474538 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/06/44/image_10122025_06_44_45_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/06/44/image_10122025_06_44_34_9615.jpg', 2), ('/home/nano/Desktop/images/10122025/06/44/image_10122025_06_44_25_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/06/44/image_10122025_06_44_15_10643.jpg', 2), ('/home/nano/Desktop/images/10122025/06/43/image_10122025_06_44_04_9631.jpg', 2), ('/home/nano/Desktop/images/10122025/06/43/image_10122025_06_43_55_10630.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 06:45:32.732271 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/06/45/image_10122025_06_45_45_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/06/45/image_10122025_06_45_35_10624.jpg', 2), ('/home/nano/Desktop/images/10122025/06/45/image_10122025_06_45_24_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/06/45/image_10122025_06_45_15_9636.jpg', 2), ('/home/nano/Desktop/images/10122025/06/44/image_10122025_06_45_05_10627.jpg', 2), ('/home/nano/Desktop/images/10122025/06/44/image_10122025_06_44_54_9608.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 06:46:02.339815 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/06/45/image_10122025_06_45_45_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/06/45/image_10122025_06_45_35_10624.jpg', 2), ('/home/nano/Desktop/images/10122025/06/45/image_10122025_06_45_24_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/06/45/image_10122025_06_45_15_9636.jpg', 2), ('/home/nano/Desktop/images/10122025/06/44/image_10122025_06_45_05_10627.jpg', 2), ('/home/nano/Desktop/images/10122025/06/44/image_10122025_06_44_54_9608.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 06:46:31.818536 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/06/46/image_10122025_06_46_44_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/06/46/image_10122025_06_46_35_9612.jpg', 2), ('/home/nano/Desktop/images/10122025/06/46/image_10122025_06_46_25_10635.jpg', 2), ('/home/nano/Desktop/images/10122025/06/46/image_10122025_06_46_14_9632.jpg', 2), ('/home/nano/Desktop/images/10122025/06/45/image_10122025_06_46_05_10640.jpg', 2), ('/home/nano/Desktop/images/10122025/06/45/image_10122025_06_45_54_9607.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 06:47:02.446802 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/06/46/image_10122025_06_46_44_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/06/46/image_10122025_06_46_35_9612.jpg', 2), ('/home/nano/Desktop/images/10122025/06/46/image_10122025_06_46_25_10635.jpg', 2), ('/home/nano/Desktop/images/10122025/06/46/image_10122025_06_46_14_9632.jpg', 2), ('/home/nano/Desktop/images/10122025/06/45/image_10122025_06_46_05_10640.jpg', 2), ('/home/nano/Desktop/images/10122025/06/45/image_10122025_06_45_54_9607.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 06:47:31.942192 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/06/47/image_10122025_06_47_44_9700.jpg', 2), ('/home/nano/Desktop/images/10122025/06/47/image_10122025_06_47_34_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/06/47/image_10122025_06_47_25_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/06/47/image_10122025_06_47_14_9632.jpg', 2), ('/home/nano/Desktop/images/10122025/06/46/image_10122025_06_47_05_9633.jpg', 2), ('/home/nano/Desktop/images/10122025/06/46/image_10122025_06_46_55_10617.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 06:48:02.600137 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/06/47/image_10122025_06_47_44_9700.jpg', 2), ('/home/nano/Desktop/images/10122025/06/47/image_10122025_06_47_34_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/06/47/image_10122025_06_47_25_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/06/47/image_10122025_06_47_14_9632.jpg', 2), ('/home/nano/Desktop/images/10122025/06/46/image_10122025_06_47_05_9633.jpg', 2), ('/home/nano/Desktop/images/10122025/06/46/image_10122025_06_46_55_10617.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 06:48:32.138981 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/06/48/image_10122025_06_48_25_9894.jpg', 2), ('/home/nano/Desktop/images/10122025/06/48/image_10122025_06_48_15_9922.jpg', 2), ('/home/nano/Desktop/images/10122025/06/47/image_10122025_06_48_05_9894.jpg', 2), ('/home/nano/Desktop/images/10122025/06/47/image_10122025_06_47_55_10783.jpg', 2), ('/home/nano/Desktop/images/10122025/06/47/image_10122025_06_47_44_9700.jpg', 2), ('/home/nano/Desktop/images/10122025/06/47/image_10122025_06_47_34_9610.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 06:49:03.376213 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/06/48/image_10122025_06_48_25_9894.jpg', 2), ('/home/nano/Desktop/images/10122025/06/48/image_10122025_06_48_15_9922.jpg', 2), ('/home/nano/Desktop/images/10122025/06/47/image_10122025_06_48_05_9894.jpg', 2), ('/home/nano/Desktop/images/10122025/06/47/image_10122025_06_47_55_10783.jpg', 2), ('/home/nano/Desktop/images/10122025/06/47/image_10122025_06_47_44_9700.jpg', 2), ('/home/nano/Desktop/images/10122025/06/47/image_10122025_06_47_34_9610.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 06:49:32.260065 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/06/48/image_10122025_06_48_25_9894.jpg', 2), ('/home/nano/Desktop/images/10122025/06/48/image_10122025_06_48_15_9922.jpg', 2), ('/home/nano/Desktop/images/10122025/06/47/image_10122025_06_48_05_9894.jpg', 2), ('/home/nano/Desktop/images/10122025/06/47/image_10122025_06_47_55_10783.jpg', 2), ('/home/nano/Desktop/images/10122025/06/47/image_10122025_06_47_44_9700.jpg', 2), ('/home/nano/Desktop/images/10122025/06/47/image_10122025_06_47_34_9610.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 06:50:02.995453 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/06/50/image_10122025_06_50_14_9982.jpg', 2), ('/home/nano/Desktop/images/10122025/06/48/image_10122025_06_48_25_9894.jpg', 2), ('/home/nano/Desktop/images/10122025/06/48/image_10122025_06_48_15_9922.jpg', 2), ('/home/nano/Desktop/images/10122025/06/47/image_10122025_06_48_05_9894.jpg', 2), ('/home/nano/Desktop/images/10122025/06/47/image_10122025_06_47_55_10783.jpg', 2), ('/home/nano/Desktop/images/10122025/06/47/image_10122025_06_47_44_9700.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 06:50:32.361695 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/06/50/image_10122025_06_50_45_9936.jpg', 2), ('/home/nano/Desktop/images/10122025/06/50/image_10122025_06_50_35_9883.jpg', 2), ('/home/nano/Desktop/images/10122025/06/50/image_10122025_06_50_25_10837.jpg', 2), ('/home/nano/Desktop/images/10122025/06/50/image_10122025_06_50_14_9982.jpg', 2), ('/home/nano/Desktop/images/10122025/06/48/image_10122025_06_48_25_9894.jpg', 2), ('/home/nano/Desktop/images/10122025/06/48/image_10122025_06_48_15_9922.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 06:51:03.101223 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/06/50/image_10122025_06_50_45_9936.jpg', 2), ('/home/nano/Desktop/images/10122025/06/50/image_10122025_06_50_35_9883.jpg', 2), ('/home/nano/Desktop/images/10122025/06/50/image_10122025_06_50_25_10837.jpg', 2), ('/home/nano/Desktop/images/10122025/06/50/image_10122025_06_50_14_9982.jpg', 2), ('/home/nano/Desktop/images/10122025/06/48/image_10122025_06_48_25_9894.jpg', 2), ('/home/nano/Desktop/images/10122025/06/48/image_10122025_06_48_15_9922.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 06:51:32.502088 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/06/51/image_10122025_06_51_44_9846.jpg', 2), ('/home/nano/Desktop/images/10122025/06/51/image_10122025_06_51_34_9885.jpg', 2), ('/home/nano/Desktop/images/10122025/06/51/image_10122025_06_51_25_9890.jpg', 2), ('/home/nano/Desktop/images/10122025/06/51/image_10122025_06_51_15_9971.jpg', 2), ('/home/nano/Desktop/images/10122025/06/50/image_10122025_06_50_55_9902.jpg', 2), ('/home/nano/Desktop/images/10122025/06/50/image_10122025_06_50_45_9936.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 06:52:03.099309 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/06/51/image_10122025_06_51_44_9846.jpg', 2), ('/home/nano/Desktop/images/10122025/06/51/image_10122025_06_51_34_9885.jpg', 2), ('/home/nano/Desktop/images/10122025/06/51/image_10122025_06_51_25_9890.jpg', 2), ('/home/nano/Desktop/images/10122025/06/51/image_10122025_06_51_15_9971.jpg', 2), ('/home/nano/Desktop/images/10122025/06/50/image_10122025_06_50_55_9902.jpg', 2), ('/home/nano/Desktop/images/10122025/06/50/image_10122025_06_50_45_9936.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 06:52:32.595655 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/06/52/image_10122025_06_52_15_9868.jpg', 2), ('/home/nano/Desktop/images/10122025/06/51/image_10122025_06_52_05_10869.jpg', 2), ('/home/nano/Desktop/images/10122025/06/51/image_10122025_06_51_54_9847.jpg', 2), ('/home/nano/Desktop/images/10122025/06/51/image_10122025_06_51_44_9846.jpg', 2), ('/home/nano/Desktop/images/10122025/06/51/image_10122025_06_51_34_9885.jpg', 2), ('/home/nano/Desktop/images/10122025/06/51/image_10122025_06_51_25_9890.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 06:53:03.444425 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/06/52/image_10122025_06_52_15_9868.jpg', 2), ('/home/nano/Desktop/images/10122025/06/51/image_10122025_06_52_05_10869.jpg', 2), ('/home/nano/Desktop/images/10122025/06/51/image_10122025_06_51_54_9847.jpg', 2), ('/home/nano/Desktop/images/10122025/06/51/image_10122025_06_51_44_9846.jpg', 2), ('/home/nano/Desktop/images/10122025/06/51/image_10122025_06_51_34_9885.jpg', 2), ('/home/nano/Desktop/images/10122025/06/51/image_10122025_06_51_25_9890.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 06:53:32.724919 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/06/52/image_10122025_06_52_15_9868.jpg', 2), ('/home/nano/Desktop/images/10122025/06/51/image_10122025_06_52_05_10869.jpg', 2), ('/home/nano/Desktop/images/10122025/06/51/image_10122025_06_51_54_9847.jpg', 2), ('/home/nano/Desktop/images/10122025/06/51/image_10122025_06_51_44_9846.jpg', 2), ('/home/nano/Desktop/images/10122025/06/51/image_10122025_06_51_34_9885.jpg', 2), ('/home/nano/Desktop/images/10122025/06/51/image_10122025_06_51_25_9890.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 06:54:02.636105 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/06/52/image_10122025_06_52_15_9868.jpg', 2), ('/home/nano/Desktop/images/10122025/06/51/image_10122025_06_52_05_10869.jpg', 2), ('/home/nano/Desktop/images/10122025/06/51/image_10122025_06_51_54_9847.jpg', 2), ('/home/nano/Desktop/images/10122025/06/51/image_10122025_06_51_44_9846.jpg', 2), ('/home/nano/Desktop/images/10122025/06/51/image_10122025_06_51_34_9885.jpg', 2), ('/home/nano/Desktop/images/10122025/06/51/image_10122025_06_51_25_9890.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 06:54:31.800480 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/06/54/image_10122025_06_54_44_9900.jpg', 2), ('/home/nano/Desktop/images/10122025/06/54/image_10122025_06_54_34_9953.jpg', 2), ('/home/nano/Desktop/images/10122025/06/52/image_10122025_06_52_15_9868.jpg', 2), ('/home/nano/Desktop/images/10122025/06/51/image_10122025_06_52_05_10869.jpg', 2), ('/home/nano/Desktop/images/10122025/06/51/image_10122025_06_51_54_9847.jpg', 2), ('/home/nano/Desktop/images/10122025/06/51/image_10122025_06_51_44_9846.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 06:55:02.774393 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/06/54/image_10122025_06_54_44_9900.jpg', 2), ('/home/nano/Desktop/images/10122025/06/54/image_10122025_06_54_34_9953.jpg', 2), ('/home/nano/Desktop/images/10122025/06/52/image_10122025_06_52_15_9868.jpg', 2), ('/home/nano/Desktop/images/10122025/06/51/image_10122025_06_52_05_10869.jpg', 2), ('/home/nano/Desktop/images/10122025/06/51/image_10122025_06_51_54_9847.jpg', 2), ('/home/nano/Desktop/images/10122025/06/51/image_10122025_06_51_44_9846.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 06:55:31.922693 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/06/55/image_10122025_06_55_45_9868.jpg', 2), ('/home/nano/Desktop/images/10122025/06/55/image_10122025_06_55_35_9875.jpg', 2), ('/home/nano/Desktop/images/10122025/06/55/image_10122025_06_55_25_9870.jpg', 2), ('/home/nano/Desktop/images/10122025/06/55/image_10122025_06_55_15_10871.jpg', 2), ('/home/nano/Desktop/images/10122025/06/54/image_10122025_06_55_04_9888.jpg', 2), ('/home/nano/Desktop/images/10122025/06/54/image_10122025_06_54_54_9891.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 06:56:02.643045 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/06/55/image_10122025_06_55_45_9868.jpg', 2), ('/home/nano/Desktop/images/10122025/06/55/image_10122025_06_55_35_9875.jpg', 2), ('/home/nano/Desktop/images/10122025/06/55/image_10122025_06_55_25_9870.jpg', 2), ('/home/nano/Desktop/images/10122025/06/55/image_10122025_06_55_15_10871.jpg', 2), ('/home/nano/Desktop/images/10122025/06/54/image_10122025_06_55_04_9888.jpg', 2), ('/home/nano/Desktop/images/10122025/06/54/image_10122025_06_54_54_9891.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 06:56:32.133835 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/06/56/image_10122025_06_56_34_9967.jpg', 2), ('/home/nano/Desktop/images/10122025/06/55/image_10122025_06_56_04_9909.jpg', 2), ('/home/nano/Desktop/images/10122025/06/55/image_10122025_06_55_54_9872.jpg', 2), ('/home/nano/Desktop/images/10122025/06/55/image_10122025_06_55_45_9868.jpg', 2), ('/home/nano/Desktop/images/10122025/06/55/image_10122025_06_55_35_9875.jpg', 2), ('/home/nano/Desktop/images/10122025/06/55/image_10122025_06_55_25_9870.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 06:57:02.879570 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/06/56/image_10122025_06_56_34_9967.jpg', 2), ('/home/nano/Desktop/images/10122025/06/55/image_10122025_06_56_04_9909.jpg', 2), ('/home/nano/Desktop/images/10122025/06/55/image_10122025_06_55_54_9872.jpg', 2), ('/home/nano/Desktop/images/10122025/06/55/image_10122025_06_55_45_9868.jpg', 2), ('/home/nano/Desktop/images/10122025/06/55/image_10122025_06_55_35_9875.jpg', 2), ('/home/nano/Desktop/images/10122025/06/55/image_10122025_06_55_25_9870.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 06:57:32.130470 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/06/56/image_10122025_06_56_34_9967.jpg', 2), ('/home/nano/Desktop/images/10122025/06/55/image_10122025_06_56_04_9909.jpg', 2), ('/home/nano/Desktop/images/10122025/06/55/image_10122025_06_55_54_9872.jpg', 2), ('/home/nano/Desktop/images/10122025/06/55/image_10122025_06_55_45_9868.jpg', 2), ('/home/nano/Desktop/images/10122025/06/55/image_10122025_06_55_35_9875.jpg', 2), ('/home/nano/Desktop/images/10122025/06/55/image_10122025_06_55_25_9870.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 06:58:02.725599 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/06/56/image_10122025_06_56_34_9967.jpg', 2), ('/home/nano/Desktop/images/10122025/06/55/image_10122025_06_56_04_9909.jpg', 2), ('/home/nano/Desktop/images/10122025/06/55/image_10122025_06_55_54_9872.jpg', 2), ('/home/nano/Desktop/images/10122025/06/55/image_10122025_06_55_45_9868.jpg', 2), ('/home/nano/Desktop/images/10122025/06/55/image_10122025_06_55_35_9875.jpg', 2), ('/home/nano/Desktop/images/10122025/06/55/image_10122025_06_55_25_9870.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 06:59:03.449514 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/06/58/image_10122025_06_58_45_9983.jpg', 2), ('/home/nano/Desktop/images/10122025/06/58/image_10122025_06_58_35_9890.jpg', 2), ('/home/nano/Desktop/images/10122025/06/58/image_10122025_06_58_25_9880.jpg', 2), ('/home/nano/Desktop/images/10122025/06/58/image_10122025_06_58_15_10024.jpg', 2), ('/home/nano/Desktop/images/10122025/06/57/image_10122025_06_58_05_9882.jpg', 2), ('/home/nano/Desktop/images/10122025/06/57/image_10122025_06_57_55_9970.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 06:59:32.393897 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/06/59/image_10122025_06_59_45_9880.jpg', 2), ('/home/nano/Desktop/images/10122025/06/59/image_10122025_06_59_35_9873.jpg', 2), ('/home/nano/Desktop/images/10122025/06/59/image_10122025_06_59_25_10886.jpg', 2), ('/home/nano/Desktop/images/10122025/06/59/image_10122025_06_59_14_9891.jpg', 2), ('/home/nano/Desktop/images/10122025/06/58/image_10122025_06_59_04_9887.jpg', 2), ('/home/nano/Desktop/images/10122025/06/58/image_10122025_06_58_54_9872.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 07:00:02.694620 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/06/59/image_10122025_06_59_45_9880.jpg', 2), ('/home/nano/Desktop/images/10122025/06/59/image_10122025_06_59_35_9873.jpg', 2), ('/home/nano/Desktop/images/10122025/06/59/image_10122025_06_59_25_10886.jpg', 2), ('/home/nano/Desktop/images/10122025/06/59/image_10122025_06_59_14_9891.jpg', 2), ('/home/nano/Desktop/images/10122025/06/58/image_10122025_06_59_04_9887.jpg', 2), ('/home/nano/Desktop/images/10122025/06/58/image_10122025_06_58_54_9872.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 07:00:32.432651 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/07/00/image_10122025_07_00_45_10882.jpg', 2), ('/home/nano/Desktop/images/10122025/07/00/image_10122025_07_00_34_9870.jpg', 2), ('/home/nano/Desktop/images/10122025/07/00/image_10122025_07_00_24_9871.jpg', 2), ('/home/nano/Desktop/images/10122025/07/00/image_10122025_07_00_14_9892.jpg', 2), ('/home/nano/Desktop/images/10122025/06/59/image_10122025_07_00_05_9877.jpg', 2), ('/home/nano/Desktop/images/10122025/06/59/image_10122025_06_59_55_9876.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 07:01:03.195914 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/07/00/image_10122025_07_00_45_10882.jpg', 2), ('/home/nano/Desktop/images/10122025/07/00/image_10122025_07_00_34_9870.jpg', 2), ('/home/nano/Desktop/images/10122025/07/00/image_10122025_07_00_24_9871.jpg', 2), ('/home/nano/Desktop/images/10122025/07/00/image_10122025_07_00_14_9892.jpg', 2), ('/home/nano/Desktop/images/10122025/06/59/image_10122025_07_00_05_9877.jpg', 2), ('/home/nano/Desktop/images/10122025/06/59/image_10122025_06_59_55_9876.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 07:01:32.600254 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/07/00/image_10122025_07_00_55_9872.jpg', 2), ('/home/nano/Desktop/images/10122025/07/00/image_10122025_07_00_45_10882.jpg', 2), ('/home/nano/Desktop/images/10122025/07/00/image_10122025_07_00_34_9870.jpg', 2), ('/home/nano/Desktop/images/10122025/07/00/image_10122025_07_00_24_9871.jpg', 2), ('/home/nano/Desktop/images/10122025/07/00/image_10122025_07_00_14_9892.jpg', 2), ('/home/nano/Desktop/images/10122025/06/59/image_10122025_07_00_05_9877.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 07:02:03.249935 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/07/00/image_10122025_07_00_55_9872.jpg', 2), ('/home/nano/Desktop/images/10122025/07/00/image_10122025_07_00_45_10882.jpg', 2), ('/home/nano/Desktop/images/10122025/07/00/image_10122025_07_00_34_9870.jpg', 2), ('/home/nano/Desktop/images/10122025/07/00/image_10122025_07_00_24_9871.jpg', 2), ('/home/nano/Desktop/images/10122025/07/00/image_10122025_07_00_14_9892.jpg', 2), ('/home/nano/Desktop/images/10122025/06/59/image_10122025_07_00_05_9877.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 07:02:32.709442 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/07/00/image_10122025_07_00_55_9872.jpg', 2), ('/home/nano/Desktop/images/10122025/07/00/image_10122025_07_00_45_10882.jpg', 2), ('/home/nano/Desktop/images/10122025/07/00/image_10122025_07_00_34_9870.jpg', 2), ('/home/nano/Desktop/images/10122025/07/00/image_10122025_07_00_24_9871.jpg', 2), ('/home/nano/Desktop/images/10122025/07/00/image_10122025_07_00_14_9892.jpg', 2), ('/home/nano/Desktop/images/10122025/06/59/image_10122025_07_00_05_9877.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 07:03:02.406725 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/07/00/image_10122025_07_00_55_9872.jpg', 2), ('/home/nano/Desktop/images/10122025/07/00/image_10122025_07_00_45_10882.jpg', 2), ('/home/nano/Desktop/images/10122025/07/00/image_10122025_07_00_34_9870.jpg', 2), ('/home/nano/Desktop/images/10122025/07/00/image_10122025_07_00_24_9871.jpg', 2), ('/home/nano/Desktop/images/10122025/07/00/image_10122025_07_00_14_9892.jpg', 2), ('/home/nano/Desktop/images/10122025/06/59/image_10122025_07_00_05_9877.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 07:03:31.835238 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/07/00/image_10122025_07_00_55_9872.jpg', 2), ('/home/nano/Desktop/images/10122025/07/00/image_10122025_07_00_45_10882.jpg', 2), ('/home/nano/Desktop/images/10122025/07/00/image_10122025_07_00_34_9870.jpg', 2), ('/home/nano/Desktop/images/10122025/07/00/image_10122025_07_00_24_9871.jpg', 2), ('/home/nano/Desktop/images/10122025/07/00/image_10122025_07_00_14_9892.jpg', 2), ('/home/nano/Desktop/images/10122025/06/59/image_10122025_07_00_05_9877.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 07:04:02.752666 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/07/00/image_10122025_07_00_55_9872.jpg', 2), ('/home/nano/Desktop/images/10122025/07/00/image_10122025_07_00_45_10882.jpg', 2), ('/home/nano/Desktop/images/10122025/07/00/image_10122025_07_00_34_9870.jpg', 2), ('/home/nano/Desktop/images/10122025/07/00/image_10122025_07_00_24_9871.jpg', 2), ('/home/nano/Desktop/images/10122025/07/00/image_10122025_07_00_14_9892.jpg', 2), ('/home/nano/Desktop/images/10122025/06/59/image_10122025_07_00_05_9877.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 07:04:31.933985 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/07/00/image_10122025_07_00_55_9872.jpg', 2), ('/home/nano/Desktop/images/10122025/07/00/image_10122025_07_00_45_10882.jpg', 2), ('/home/nano/Desktop/images/10122025/07/00/image_10122025_07_00_34_9870.jpg', 2), ('/home/nano/Desktop/images/10122025/07/00/image_10122025_07_00_24_9871.jpg', 2), ('/home/nano/Desktop/images/10122025/07/00/image_10122025_07_00_14_9892.jpg', 2), ('/home/nano/Desktop/images/10122025/06/59/image_10122025_07_00_05_9877.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 07:05:02.712115 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/07/00/image_10122025_07_00_55_9872.jpg', 2), ('/home/nano/Desktop/images/10122025/07/00/image_10122025_07_00_45_10882.jpg', 2), ('/home/nano/Desktop/images/10122025/07/00/image_10122025_07_00_34_9870.jpg', 2), ('/home/nano/Desktop/images/10122025/07/00/image_10122025_07_00_24_9871.jpg', 2), ('/home/nano/Desktop/images/10122025/07/00/image_10122025_07_00_14_9892.jpg', 2), ('/home/nano/Desktop/images/10122025/06/59/image_10122025_07_00_05_9877.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 07:05:32.045130 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/07/00/image_10122025_07_00_55_9872.jpg', 2), ('/home/nano/Desktop/images/10122025/07/00/image_10122025_07_00_45_10882.jpg', 2), ('/home/nano/Desktop/images/10122025/07/00/image_10122025_07_00_34_9870.jpg', 2), ('/home/nano/Desktop/images/10122025/07/00/image_10122025_07_00_24_9871.jpg', 2), ('/home/nano/Desktop/images/10122025/07/00/image_10122025_07_00_14_9892.jpg', 2), ('/home/nano/Desktop/images/10122025/06/59/image_10122025_07_00_05_9877.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 07:06:02.792965 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/07/00/image_10122025_07_00_55_9872.jpg', 2), ('/home/nano/Desktop/images/10122025/07/00/image_10122025_07_00_45_10882.jpg', 2), ('/home/nano/Desktop/images/10122025/07/00/image_10122025_07_00_34_9870.jpg', 2), ('/home/nano/Desktop/images/10122025/07/00/image_10122025_07_00_24_9871.jpg', 2), ('/home/nano/Desktop/images/10122025/07/00/image_10122025_07_00_14_9892.jpg', 2), ('/home/nano/Desktop/images/10122025/06/59/image_10122025_07_00_05_9877.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 07:06:32.141168 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/07/00/image_10122025_07_00_55_9872.jpg', 2), ('/home/nano/Desktop/images/10122025/07/00/image_10122025_07_00_45_10882.jpg', 2), ('/home/nano/Desktop/images/10122025/07/00/image_10122025_07_00_34_9870.jpg', 2), ('/home/nano/Desktop/images/10122025/07/00/image_10122025_07_00_24_9871.jpg', 2), ('/home/nano/Desktop/images/10122025/07/00/image_10122025_07_00_14_9892.jpg', 2), ('/home/nano/Desktop/images/10122025/06/59/image_10122025_07_00_05_9877.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 07:07:02.742461 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/07/00/image_10122025_07_00_55_9872.jpg', 2), ('/home/nano/Desktop/images/10122025/07/00/image_10122025_07_00_45_10882.jpg', 2), ('/home/nano/Desktop/images/10122025/07/00/image_10122025_07_00_34_9870.jpg', 2), ('/home/nano/Desktop/images/10122025/07/00/image_10122025_07_00_24_9871.jpg', 2), ('/home/nano/Desktop/images/10122025/07/00/image_10122025_07_00_14_9892.jpg', 2), ('/home/nano/Desktop/images/10122025/06/59/image_10122025_07_00_05_9877.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 07:07:32.199143 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/07/00/image_10122025_07_00_55_9872.jpg', 2), ('/home/nano/Desktop/images/10122025/07/00/image_10122025_07_00_45_10882.jpg', 2), ('/home/nano/Desktop/images/10122025/07/00/image_10122025_07_00_34_9870.jpg', 2), ('/home/nano/Desktop/images/10122025/07/00/image_10122025_07_00_24_9871.jpg', 2), ('/home/nano/Desktop/images/10122025/07/00/image_10122025_07_00_14_9892.jpg', 2), ('/home/nano/Desktop/images/10122025/06/59/image_10122025_07_00_05_9877.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 07:08:02.944804 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/07/00/image_10122025_07_00_55_9872.jpg', 2), ('/home/nano/Desktop/images/10122025/07/00/image_10122025_07_00_45_10882.jpg', 2), ('/home/nano/Desktop/images/10122025/07/00/image_10122025_07_00_34_9870.jpg', 2), ('/home/nano/Desktop/images/10122025/07/00/image_10122025_07_00_24_9871.jpg', 2), ('/home/nano/Desktop/images/10122025/07/00/image_10122025_07_00_14_9892.jpg', 2), ('/home/nano/Desktop/images/10122025/06/59/image_10122025_07_00_05_9877.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 07:08:32.352310 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/07/08/image_10122025_07_08_35_9991.jpg', 2), ('/home/nano/Desktop/images/10122025/07/00/image_10122025_07_00_55_9872.jpg', 2), ('/home/nano/Desktop/images/10122025/07/00/image_10122025_07_00_45_10882.jpg', 2), ('/home/nano/Desktop/images/10122025/07/00/image_10122025_07_00_34_9870.jpg', 2), ('/home/nano/Desktop/images/10122025/07/00/image_10122025_07_00_24_9871.jpg', 2), ('/home/nano/Desktop/images/10122025/07/00/image_10122025_07_00_14_9892.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 07:09:03.722063 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/07/08/image_10122025_07_08_35_9991.jpg', 2), ('/home/nano/Desktop/images/10122025/07/00/image_10122025_07_00_55_9872.jpg', 2), ('/home/nano/Desktop/images/10122025/07/00/image_10122025_07_00_45_10882.jpg', 2), ('/home/nano/Desktop/images/10122025/07/00/image_10122025_07_00_34_9870.jpg', 2), ('/home/nano/Desktop/images/10122025/07/00/image_10122025_07_00_24_9871.jpg', 2), ('/home/nano/Desktop/images/10122025/07/00/image_10122025_07_00_14_9892.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 07:09:32.496019 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/07/08/image_10122025_07_08_35_9991.jpg', 2), ('/home/nano/Desktop/images/10122025/07/00/image_10122025_07_00_55_9872.jpg', 2), ('/home/nano/Desktop/images/10122025/07/00/image_10122025_07_00_45_10882.jpg', 2), ('/home/nano/Desktop/images/10122025/07/00/image_10122025_07_00_34_9870.jpg', 2), ('/home/nano/Desktop/images/10122025/07/00/image_10122025_07_00_24_9871.jpg', 2), ('/home/nano/Desktop/images/10122025/07/00/image_10122025_07_00_14_9892.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 07:10:03.146268 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/07/08/image_10122025_07_08_35_9991.jpg', 2), ('/home/nano/Desktop/images/10122025/07/00/image_10122025_07_00_55_9872.jpg', 2), ('/home/nano/Desktop/images/10122025/07/00/image_10122025_07_00_45_10882.jpg', 2), ('/home/nano/Desktop/images/10122025/07/00/image_10122025_07_00_34_9870.jpg', 2), ('/home/nano/Desktop/images/10122025/07/00/image_10122025_07_00_24_9871.jpg', 2), ('/home/nano/Desktop/images/10122025/07/00/image_10122025_07_00_14_9892.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 07:10:32.581776 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/07/08/image_10122025_07_08_35_9991.jpg', 2), ('/home/nano/Desktop/images/10122025/07/00/image_10122025_07_00_55_9872.jpg', 2), ('/home/nano/Desktop/images/10122025/07/00/image_10122025_07_00_45_10882.jpg', 2), ('/home/nano/Desktop/images/10122025/07/00/image_10122025_07_00_34_9870.jpg', 2), ('/home/nano/Desktop/images/10122025/07/00/image_10122025_07_00_24_9871.jpg', 2), ('/home/nano/Desktop/images/10122025/07/00/image_10122025_07_00_14_9892.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 07:11:03.506234 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/07/08/image_10122025_07_08_35_9991.jpg', 2), ('/home/nano/Desktop/images/10122025/07/00/image_10122025_07_00_55_9872.jpg', 2), ('/home/nano/Desktop/images/10122025/07/00/image_10122025_07_00_45_10882.jpg', 2), ('/home/nano/Desktop/images/10122025/07/00/image_10122025_07_00_34_9870.jpg', 2), ('/home/nano/Desktop/images/10122025/07/00/image_10122025_07_00_24_9871.jpg', 2), ('/home/nano/Desktop/images/10122025/07/00/image_10122025_07_00_14_9892.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 07:11:32.674823 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/07/08/image_10122025_07_08_35_9991.jpg', 2), ('/home/nano/Desktop/images/10122025/07/00/image_10122025_07_00_55_9872.jpg', 2), ('/home/nano/Desktop/images/10122025/07/00/image_10122025_07_00_45_10882.jpg', 2), ('/home/nano/Desktop/images/10122025/07/00/image_10122025_07_00_34_9870.jpg', 2), ('/home/nano/Desktop/images/10122025/07/00/image_10122025_07_00_24_9871.jpg', 2), ('/home/nano/Desktop/images/10122025/07/00/image_10122025_07_00_14_9892.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 07:12:02.397795 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/07/08/image_10122025_07_08_35_9991.jpg', 2), ('/home/nano/Desktop/images/10122025/07/00/image_10122025_07_00_55_9872.jpg', 2), ('/home/nano/Desktop/images/10122025/07/00/image_10122025_07_00_45_10882.jpg', 2), ('/home/nano/Desktop/images/10122025/07/00/image_10122025_07_00_34_9870.jpg', 2), ('/home/nano/Desktop/images/10122025/07/00/image_10122025_07_00_24_9871.jpg', 2), ('/home/nano/Desktop/images/10122025/07/00/image_10122025_07_00_14_9892.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 07:12:31.782960 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/07/08/image_10122025_07_08_35_9991.jpg', 2), ('/home/nano/Desktop/images/10122025/07/00/image_10122025_07_00_55_9872.jpg', 2), ('/home/nano/Desktop/images/10122025/07/00/image_10122025_07_00_45_10882.jpg', 2), ('/home/nano/Desktop/images/10122025/07/00/image_10122025_07_00_34_9870.jpg', 2), ('/home/nano/Desktop/images/10122025/07/00/image_10122025_07_00_24_9871.jpg', 2), ('/home/nano/Desktop/images/10122025/07/00/image_10122025_07_00_14_9892.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 07:13:02.704829 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/07/08/image_10122025_07_08_35_9991.jpg', 2), ('/home/nano/Desktop/images/10122025/07/00/image_10122025_07_00_55_9872.jpg', 2), ('/home/nano/Desktop/images/10122025/07/00/image_10122025_07_00_45_10882.jpg', 2), ('/home/nano/Desktop/images/10122025/07/00/image_10122025_07_00_34_9870.jpg', 2), ('/home/nano/Desktop/images/10122025/07/00/image_10122025_07_00_24_9871.jpg', 2), ('/home/nano/Desktop/images/10122025/07/00/image_10122025_07_00_14_9892.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 07:13:31.881225 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/07/08/image_10122025_07_08_35_9991.jpg', 2), ('/home/nano/Desktop/images/10122025/07/00/image_10122025_07_00_55_9872.jpg', 2), ('/home/nano/Desktop/images/10122025/07/00/image_10122025_07_00_45_10882.jpg', 2), ('/home/nano/Desktop/images/10122025/07/00/image_10122025_07_00_34_9870.jpg', 2), ('/home/nano/Desktop/images/10122025/07/00/image_10122025_07_00_24_9871.jpg', 2), ('/home/nano/Desktop/images/10122025/07/00/image_10122025_07_00_14_9892.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 07:14:02.707199 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/07/08/image_10122025_07_08_35_9991.jpg', 2), ('/home/nano/Desktop/images/10122025/07/00/image_10122025_07_00_55_9872.jpg', 2), ('/home/nano/Desktop/images/10122025/07/00/image_10122025_07_00_45_10882.jpg', 2), ('/home/nano/Desktop/images/10122025/07/00/image_10122025_07_00_34_9870.jpg', 2), ('/home/nano/Desktop/images/10122025/07/00/image_10122025_07_00_24_9871.jpg', 2), ('/home/nano/Desktop/images/10122025/07/00/image_10122025_07_00_14_9892.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 07:14:31.984782 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/07/08/image_10122025_07_08_35_9991.jpg', 2), ('/home/nano/Desktop/images/10122025/07/00/image_10122025_07_00_55_9872.jpg', 2), ('/home/nano/Desktop/images/10122025/07/00/image_10122025_07_00_45_10882.jpg', 2), ('/home/nano/Desktop/images/10122025/07/00/image_10122025_07_00_34_9870.jpg', 2), ('/home/nano/Desktop/images/10122025/07/00/image_10122025_07_00_24_9871.jpg', 2), ('/home/nano/Desktop/images/10122025/07/00/image_10122025_07_00_14_9892.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 07:15:02.834560 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/07/08/image_10122025_07_08_35_9991.jpg', 2), ('/home/nano/Desktop/images/10122025/07/00/image_10122025_07_00_55_9872.jpg', 2), ('/home/nano/Desktop/images/10122025/07/00/image_10122025_07_00_45_10882.jpg', 2), ('/home/nano/Desktop/images/10122025/07/00/image_10122025_07_00_34_9870.jpg', 2), ('/home/nano/Desktop/images/10122025/07/00/image_10122025_07_00_24_9871.jpg', 2), ('/home/nano/Desktop/images/10122025/07/00/image_10122025_07_00_14_9892.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 07:15:32.079860 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/07/08/image_10122025_07_08_35_9991.jpg', 2), ('/home/nano/Desktop/images/10122025/07/00/image_10122025_07_00_55_9872.jpg', 2), ('/home/nano/Desktop/images/10122025/07/00/image_10122025_07_00_45_10882.jpg', 2), ('/home/nano/Desktop/images/10122025/07/00/image_10122025_07_00_34_9870.jpg', 2), ('/home/nano/Desktop/images/10122025/07/00/image_10122025_07_00_24_9871.jpg', 2), ('/home/nano/Desktop/images/10122025/07/00/image_10122025_07_00_14_9892.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 07:16:02.770006 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/07/08/image_10122025_07_08_35_9991.jpg', 2), ('/home/nano/Desktop/images/10122025/07/00/image_10122025_07_00_55_9872.jpg', 2), ('/home/nano/Desktop/images/10122025/07/00/image_10122025_07_00_45_10882.jpg', 2), ('/home/nano/Desktop/images/10122025/07/00/image_10122025_07_00_34_9870.jpg', 2), ('/home/nano/Desktop/images/10122025/07/00/image_10122025_07_00_24_9871.jpg', 2), ('/home/nano/Desktop/images/10122025/07/00/image_10122025_07_00_14_9892.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 07:16:32.201740 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/07/08/image_10122025_07_08_35_9991.jpg', 2), ('/home/nano/Desktop/images/10122025/07/00/image_10122025_07_00_55_9872.jpg', 2), ('/home/nano/Desktop/images/10122025/07/00/image_10122025_07_00_45_10882.jpg', 2), ('/home/nano/Desktop/images/10122025/07/00/image_10122025_07_00_34_9870.jpg', 2), ('/home/nano/Desktop/images/10122025/07/00/image_10122025_07_00_24_9871.jpg', 2), ('/home/nano/Desktop/images/10122025/07/00/image_10122025_07_00_14_9892.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 07:17:03.011517 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/07/17/image_10122025_07_17_45_9953.jpg', 2), ('/home/nano/Desktop/images/10122025/07/08/image_10122025_07_08_35_9991.jpg', 2), ('/home/nano/Desktop/images/10122025/07/00/image_10122025_07_00_55_9872.jpg', 2), ('/home/nano/Desktop/images/10122025/07/00/image_10122025_07_00_45_10882.jpg', 2), ('/home/nano/Desktop/images/10122025/07/00/image_10122025_07_00_34_9870.jpg', 2), ('/home/nano/Desktop/images/10122025/07/00/image_10122025_07_00_24_9871.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 07:17:32.304992 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/07/17/image_10122025_07_17_45_9953.jpg', 2), ('/home/nano/Desktop/images/10122025/07/08/image_10122025_07_08_35_9991.jpg', 2), ('/home/nano/Desktop/images/10122025/07/00/image_10122025_07_00_55_9872.jpg', 2), ('/home/nano/Desktop/images/10122025/07/00/image_10122025_07_00_45_10882.jpg', 2), ('/home/nano/Desktop/images/10122025/07/00/image_10122025_07_00_34_9870.jpg', 2), ('/home/nano/Desktop/images/10122025/07/00/image_10122025_07_00_24_9871.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 07:18:02.908458 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/07/17/image_10122025_07_17_45_9953.jpg', 2), ('/home/nano/Desktop/images/10122025/07/08/image_10122025_07_08_35_9991.jpg', 2), ('/home/nano/Desktop/images/10122025/07/00/image_10122025_07_00_55_9872.jpg', 2), ('/home/nano/Desktop/images/10122025/07/00/image_10122025_07_00_45_10882.jpg', 2), ('/home/nano/Desktop/images/10122025/07/00/image_10122025_07_00_34_9870.jpg', 2), ('/home/nano/Desktop/images/10122025/07/00/image_10122025_07_00_24_9871.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 07:18:32.408708 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/07/17/image_10122025_07_17_45_9953.jpg', 2), ('/home/nano/Desktop/images/10122025/07/08/image_10122025_07_08_35_9991.jpg', 2), ('/home/nano/Desktop/images/10122025/07/00/image_10122025_07_00_55_9872.jpg', 2), ('/home/nano/Desktop/images/10122025/07/00/image_10122025_07_00_45_10882.jpg', 2), ('/home/nano/Desktop/images/10122025/07/00/image_10122025_07_00_34_9870.jpg', 2), ('/home/nano/Desktop/images/10122025/07/00/image_10122025_07_00_24_9871.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 07:19:03.501689 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/07/17/image_10122025_07_17_45_9953.jpg', 2), ('/home/nano/Desktop/images/10122025/07/08/image_10122025_07_08_35_9991.jpg', 2), ('/home/nano/Desktop/images/10122025/07/00/image_10122025_07_00_55_9872.jpg', 2), ('/home/nano/Desktop/images/10122025/07/00/image_10122025_07_00_45_10882.jpg', 2), ('/home/nano/Desktop/images/10122025/07/00/image_10122025_07_00_34_9870.jpg', 2), ('/home/nano/Desktop/images/10122025/07/00/image_10122025_07_00_24_9871.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 07:19:32.531978 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/07/17/image_10122025_07_17_45_9953.jpg', 2), ('/home/nano/Desktop/images/10122025/07/08/image_10122025_07_08_35_9991.jpg', 2), ('/home/nano/Desktop/images/10122025/07/00/image_10122025_07_00_55_9872.jpg', 2), ('/home/nano/Desktop/images/10122025/07/00/image_10122025_07_00_45_10882.jpg', 2), ('/home/nano/Desktop/images/10122025/07/00/image_10122025_07_00_34_9870.jpg', 2), ('/home/nano/Desktop/images/10122025/07/00/image_10122025_07_00_24_9871.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 07:20:03.305950 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/07/17/image_10122025_07_17_45_9953.jpg', 2), ('/home/nano/Desktop/images/10122025/07/08/image_10122025_07_08_35_9991.jpg', 2), ('/home/nano/Desktop/images/10122025/07/00/image_10122025_07_00_55_9872.jpg', 2), ('/home/nano/Desktop/images/10122025/07/00/image_10122025_07_00_45_10882.jpg', 2), ('/home/nano/Desktop/images/10122025/07/00/image_10122025_07_00_34_9870.jpg', 2), ('/home/nano/Desktop/images/10122025/07/00/image_10122025_07_00_24_9871.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 07:20:32.699792 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/07/17/image_10122025_07_17_45_9953.jpg', 2), ('/home/nano/Desktop/images/10122025/07/08/image_10122025_07_08_35_9991.jpg', 2), ('/home/nano/Desktop/images/10122025/07/00/image_10122025_07_00_55_9872.jpg', 2), ('/home/nano/Desktop/images/10122025/07/00/image_10122025_07_00_45_10882.jpg', 2), ('/home/nano/Desktop/images/10122025/07/00/image_10122025_07_00_34_9870.jpg', 2), ('/home/nano/Desktop/images/10122025/07/00/image_10122025_07_00_24_9871.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 07:21:02.482828 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/07/17/image_10122025_07_17_45_9953.jpg', 2), ('/home/nano/Desktop/images/10122025/07/08/image_10122025_07_08_35_9991.jpg', 2), ('/home/nano/Desktop/images/10122025/07/00/image_10122025_07_00_55_9872.jpg', 2), ('/home/nano/Desktop/images/10122025/07/00/image_10122025_07_00_45_10882.jpg', 2), ('/home/nano/Desktop/images/10122025/07/00/image_10122025_07_00_34_9870.jpg', 2), ('/home/nano/Desktop/images/10122025/07/00/image_10122025_07_00_24_9871.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 07:21:31.796976 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/07/17/image_10122025_07_17_45_9953.jpg', 2), ('/home/nano/Desktop/images/10122025/07/08/image_10122025_07_08_35_9991.jpg', 2), ('/home/nano/Desktop/images/10122025/07/00/image_10122025_07_00_55_9872.jpg', 2), ('/home/nano/Desktop/images/10122025/07/00/image_10122025_07_00_45_10882.jpg', 2), ('/home/nano/Desktop/images/10122025/07/00/image_10122025_07_00_34_9870.jpg', 2), ('/home/nano/Desktop/images/10122025/07/00/image_10122025_07_00_24_9871.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 07:22:02.291974 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/07/17/image_10122025_07_17_45_9953.jpg', 2), ('/home/nano/Desktop/images/10122025/07/08/image_10122025_07_08_35_9991.jpg', 2), ('/home/nano/Desktop/images/10122025/07/00/image_10122025_07_00_55_9872.jpg', 2), ('/home/nano/Desktop/images/10122025/07/00/image_10122025_07_00_45_10882.jpg', 2), ('/home/nano/Desktop/images/10122025/07/00/image_10122025_07_00_34_9870.jpg', 2), ('/home/nano/Desktop/images/10122025/07/00/image_10122025_07_00_24_9871.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 07:22:31.898011 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/07/22/image_10122025_07_22_44_9913.jpg', 2), ('/home/nano/Desktop/images/10122025/07/22/image_10122025_07_22_34_9961.jpg', 2), ('/home/nano/Desktop/images/10122025/07/22/image_10122025_07_22_24_9957.jpg', 2), ('/home/nano/Desktop/images/10122025/07/17/image_10122025_07_17_45_9953.jpg', 2), ('/home/nano/Desktop/images/10122025/07/08/image_10122025_07_08_35_9991.jpg', 2), ('/home/nano/Desktop/images/10122025/07/00/image_10122025_07_00_55_9872.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 07:23:02.749994 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/07/22/image_10122025_07_22_44_9913.jpg', 2), ('/home/nano/Desktop/images/10122025/07/22/image_10122025_07_22_34_9961.jpg', 2), ('/home/nano/Desktop/images/10122025/07/22/image_10122025_07_22_24_9957.jpg', 2), ('/home/nano/Desktop/images/10122025/07/17/image_10122025_07_17_45_9953.jpg', 2), ('/home/nano/Desktop/images/10122025/07/08/image_10122025_07_08_35_9991.jpg', 2), ('/home/nano/Desktop/images/10122025/07/00/image_10122025_07_00_55_9872.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 07:23:32.023961 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/07/22/image_10122025_07_23_05_10953.jpg', 2), ('/home/nano/Desktop/images/10122025/07/22/image_10122025_07_22_54_9937.jpg', 2), ('/home/nano/Desktop/images/10122025/07/22/image_10122025_07_22_44_9913.jpg', 2), ('/home/nano/Desktop/images/10122025/07/22/image_10122025_07_22_34_9961.jpg', 2), ('/home/nano/Desktop/images/10122025/07/22/image_10122025_07_22_24_9957.jpg', 2), ('/home/nano/Desktop/images/10122025/07/17/image_10122025_07_17_45_9953.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 07:24:02.643949 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/07/22/image_10122025_07_23_05_10953.jpg', 2), ('/home/nano/Desktop/images/10122025/07/22/image_10122025_07_22_54_9937.jpg', 2), ('/home/nano/Desktop/images/10122025/07/22/image_10122025_07_22_44_9913.jpg', 2), ('/home/nano/Desktop/images/10122025/07/22/image_10122025_07_22_34_9961.jpg', 2), ('/home/nano/Desktop/images/10122025/07/22/image_10122025_07_22_24_9957.jpg', 2), ('/home/nano/Desktop/images/10122025/07/17/image_10122025_07_17_45_9953.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 07:24:32.102197 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/07/24/image_10122025_07_24_45_9979.jpg', 2), ('/home/nano/Desktop/images/10122025/07/22/image_10122025_07_23_05_10953.jpg', 2), ('/home/nano/Desktop/images/10122025/07/22/image_10122025_07_22_54_9937.jpg', 2), ('/home/nano/Desktop/images/10122025/07/22/image_10122025_07_22_44_9913.jpg', 2), ('/home/nano/Desktop/images/10122025/07/22/image_10122025_07_22_34_9961.jpg', 2), ('/home/nano/Desktop/images/10122025/07/22/image_10122025_07_22_24_9957.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 07:25:02.914844 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/07/24/image_10122025_07_24_45_9979.jpg', 2), ('/home/nano/Desktop/images/10122025/07/22/image_10122025_07_23_05_10953.jpg', 2), ('/home/nano/Desktop/images/10122025/07/22/image_10122025_07_22_54_9937.jpg', 2), ('/home/nano/Desktop/images/10122025/07/22/image_10122025_07_22_44_9913.jpg', 2), ('/home/nano/Desktop/images/10122025/07/22/image_10122025_07_22_34_9961.jpg', 2), ('/home/nano/Desktop/images/10122025/07/22/image_10122025_07_22_24_9957.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 07:25:32.185133 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/07/24/image_10122025_07_25_04_9915.jpg', 2), ('/home/nano/Desktop/images/10122025/07/24/image_10122025_07_24_54_9879.jpg', 2), ('/home/nano/Desktop/images/10122025/07/24/image_10122025_07_24_45_9979.jpg', 2), ('/home/nano/Desktop/images/10122025/07/22/image_10122025_07_23_05_10953.jpg', 2), ('/home/nano/Desktop/images/10122025/07/22/image_10122025_07_22_54_9937.jpg', 2), ('/home/nano/Desktop/images/10122025/07/22/image_10122025_07_22_44_9913.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 07:26:02.882090 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/07/26/image_10122025_07_26_55_9960.jpg', 2), ('/home/nano/Desktop/images/10122025/07/24/image_10122025_07_25_04_9915.jpg', 2), ('/home/nano/Desktop/images/10122025/07/24/image_10122025_07_24_54_9879.jpg', 2), ('/home/nano/Desktop/images/10122025/07/24/image_10122025_07_24_45_9979.jpg', 2), ('/home/nano/Desktop/images/10122025/07/22/image_10122025_07_23_05_10953.jpg', 2), ('/home/nano/Desktop/images/10122025/07/22/image_10122025_07_22_54_9937.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 07:26:32.261209 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/07/26/image_10122025_07_26_55_9960.jpg', 2), ('/home/nano/Desktop/images/10122025/07/26/image_10122025_07_26_35_10897.jpg', 2), ('/home/nano/Desktop/images/10122025/07/26/image_10122025_07_26_24_9976.jpg', 2), ('/home/nano/Desktop/images/10122025/07/24/image_10122025_07_25_04_9915.jpg', 2), ('/home/nano/Desktop/images/10122025/07/24/image_10122025_07_24_54_9879.jpg', 2), ('/home/nano/Desktop/images/10122025/07/24/image_10122025_07_24_45_9979.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 07:27:03.032457 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/07/26/image_10122025_07_26_55_9960.jpg', 2), ('/home/nano/Desktop/images/10122025/07/26/image_10122025_07_26_35_10897.jpg', 2), ('/home/nano/Desktop/images/10122025/07/26/image_10122025_07_26_24_9976.jpg', 2), ('/home/nano/Desktop/images/10122025/07/24/image_10122025_07_25_04_9915.jpg', 2), ('/home/nano/Desktop/images/10122025/07/24/image_10122025_07_24_54_9879.jpg', 2), ('/home/nano/Desktop/images/10122025/07/24/image_10122025_07_24_45_9979.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 07:27:32.381052 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/07/26/image_10122025_07_26_55_9960.jpg', 2), ('/home/nano/Desktop/images/10122025/07/26/image_10122025_07_26_35_10897.jpg', 2), ('/home/nano/Desktop/images/10122025/07/26/image_10122025_07_26_24_9976.jpg', 2), ('/home/nano/Desktop/images/10122025/07/24/image_10122025_07_25_04_9915.jpg', 2), ('/home/nano/Desktop/images/10122025/07/24/image_10122025_07_24_54_9879.jpg', 2), ('/home/nano/Desktop/images/10122025/07/24/image_10122025_07_24_45_9979.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 07:28:02.947824 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/07/26/image_10122025_07_26_55_9960.jpg', 2), ('/home/nano/Desktop/images/10122025/07/26/image_10122025_07_26_35_10897.jpg', 2), ('/home/nano/Desktop/images/10122025/07/26/image_10122025_07_26_24_9976.jpg', 2), ('/home/nano/Desktop/images/10122025/07/24/image_10122025_07_25_04_9915.jpg', 2), ('/home/nano/Desktop/images/10122025/07/24/image_10122025_07_24_54_9879.jpg', 2), ('/home/nano/Desktop/images/10122025/07/24/image_10122025_07_24_45_9979.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 07:28:32.456603 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/07/26/image_10122025_07_26_55_9960.jpg', 2), ('/home/nano/Desktop/images/10122025/07/26/image_10122025_07_26_35_10897.jpg', 2), ('/home/nano/Desktop/images/10122025/07/26/image_10122025_07_26_24_9976.jpg', 2), ('/home/nano/Desktop/images/10122025/07/24/image_10122025_07_25_04_9915.jpg', 2), ('/home/nano/Desktop/images/10122025/07/24/image_10122025_07_24_54_9879.jpg', 2), ('/home/nano/Desktop/images/10122025/07/24/image_10122025_07_24_45_9979.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 07:29:03.636426 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/07/26/image_10122025_07_26_55_9960.jpg', 2), ('/home/nano/Desktop/images/10122025/07/26/image_10122025_07_26_35_10897.jpg', 2), ('/home/nano/Desktop/images/10122025/07/26/image_10122025_07_26_24_9976.jpg', 2), ('/home/nano/Desktop/images/10122025/07/24/image_10122025_07_25_04_9915.jpg', 2), ('/home/nano/Desktop/images/10122025/07/24/image_10122025_07_24_54_9879.jpg', 2), ('/home/nano/Desktop/images/10122025/07/24/image_10122025_07_24_45_9979.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 07:29:32.624959 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/07/26/image_10122025_07_26_55_9960.jpg', 2), ('/home/nano/Desktop/images/10122025/07/26/image_10122025_07_26_35_10897.jpg', 2), ('/home/nano/Desktop/images/10122025/07/26/image_10122025_07_26_24_9976.jpg', 2), ('/home/nano/Desktop/images/10122025/07/24/image_10122025_07_25_04_9915.jpg', 2), ('/home/nano/Desktop/images/10122025/07/24/image_10122025_07_24_54_9879.jpg', 2), ('/home/nano/Desktop/images/10122025/07/24/image_10122025_07_24_45_9979.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 07:30:03.167443 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/07/26/image_10122025_07_26_55_9960.jpg', 2), ('/home/nano/Desktop/images/10122025/07/26/image_10122025_07_26_35_10897.jpg', 2), ('/home/nano/Desktop/images/10122025/07/26/image_10122025_07_26_24_9976.jpg', 2), ('/home/nano/Desktop/images/10122025/07/24/image_10122025_07_25_04_9915.jpg', 2), ('/home/nano/Desktop/images/10122025/07/24/image_10122025_07_24_54_9879.jpg', 2), ('/home/nano/Desktop/images/10122025/07/24/image_10122025_07_24_45_9979.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 07:30:32.705837 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/07/26/image_10122025_07_26_55_9960.jpg', 2), ('/home/nano/Desktop/images/10122025/07/26/image_10122025_07_26_35_10897.jpg', 2), ('/home/nano/Desktop/images/10122025/07/26/image_10122025_07_26_24_9976.jpg', 2), ('/home/nano/Desktop/images/10122025/07/24/image_10122025_07_25_04_9915.jpg', 2), ('/home/nano/Desktop/images/10122025/07/24/image_10122025_07_24_54_9879.jpg', 2), ('/home/nano/Desktop/images/10122025/07/24/image_10122025_07_24_45_9979.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 07:31:02.492006 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/07/26/image_10122025_07_26_55_9960.jpg', 2), ('/home/nano/Desktop/images/10122025/07/26/image_10122025_07_26_35_10897.jpg', 2), ('/home/nano/Desktop/images/10122025/07/26/image_10122025_07_26_24_9976.jpg', 2), ('/home/nano/Desktop/images/10122025/07/24/image_10122025_07_25_04_9915.jpg', 2), ('/home/nano/Desktop/images/10122025/07/24/image_10122025_07_24_54_9879.jpg', 2), ('/home/nano/Desktop/images/10122025/07/24/image_10122025_07_24_45_9979.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 07:31:31.869748 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/07/26/image_10122025_07_26_55_9960.jpg', 2), ('/home/nano/Desktop/images/10122025/07/26/image_10122025_07_26_35_10897.jpg', 2), ('/home/nano/Desktop/images/10122025/07/26/image_10122025_07_26_24_9976.jpg', 2), ('/home/nano/Desktop/images/10122025/07/24/image_10122025_07_25_04_9915.jpg', 2), ('/home/nano/Desktop/images/10122025/07/24/image_10122025_07_24_54_9879.jpg', 2), ('/home/nano/Desktop/images/10122025/07/24/image_10122025_07_24_45_9979.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 07:32:02.503423 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/07/26/image_10122025_07_26_55_9960.jpg', 2), ('/home/nano/Desktop/images/10122025/07/26/image_10122025_07_26_35_10897.jpg', 2), ('/home/nano/Desktop/images/10122025/07/26/image_10122025_07_26_24_9976.jpg', 2), ('/home/nano/Desktop/images/10122025/07/24/image_10122025_07_25_04_9915.jpg', 2), ('/home/nano/Desktop/images/10122025/07/24/image_10122025_07_24_54_9879.jpg', 2), ('/home/nano/Desktop/images/10122025/07/24/image_10122025_07_24_45_9979.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 07:32:31.953745 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/07/26/image_10122025_07_26_55_9960.jpg', 2), ('/home/nano/Desktop/images/10122025/07/26/image_10122025_07_26_35_10897.jpg', 2), ('/home/nano/Desktop/images/10122025/07/26/image_10122025_07_26_24_9976.jpg', 2), ('/home/nano/Desktop/images/10122025/07/24/image_10122025_07_25_04_9915.jpg', 2), ('/home/nano/Desktop/images/10122025/07/24/image_10122025_07_24_54_9879.jpg', 2), ('/home/nano/Desktop/images/10122025/07/24/image_10122025_07_24_45_9979.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 07:33:02.614309 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/07/26/image_10122025_07_26_55_9960.jpg', 2), ('/home/nano/Desktop/images/10122025/07/26/image_10122025_07_26_35_10897.jpg', 2), ('/home/nano/Desktop/images/10122025/07/26/image_10122025_07_26_24_9976.jpg', 2), ('/home/nano/Desktop/images/10122025/07/24/image_10122025_07_25_04_9915.jpg', 2), ('/home/nano/Desktop/images/10122025/07/24/image_10122025_07_24_54_9879.jpg', 2), ('/home/nano/Desktop/images/10122025/07/24/image_10122025_07_24_45_9979.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 07:33:32.079552 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/07/26/image_10122025_07_26_55_9960.jpg', 2), ('/home/nano/Desktop/images/10122025/07/26/image_10122025_07_26_35_10897.jpg', 2), ('/home/nano/Desktop/images/10122025/07/26/image_10122025_07_26_24_9976.jpg', 2), ('/home/nano/Desktop/images/10122025/07/24/image_10122025_07_25_04_9915.jpg', 2), ('/home/nano/Desktop/images/10122025/07/24/image_10122025_07_24_54_9879.jpg', 2), ('/home/nano/Desktop/images/10122025/07/24/image_10122025_07_24_45_9979.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 07:34:02.844179 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/07/26/image_10122025_07_26_55_9960.jpg', 2), ('/home/nano/Desktop/images/10122025/07/26/image_10122025_07_26_35_10897.jpg', 2), ('/home/nano/Desktop/images/10122025/07/26/image_10122025_07_26_24_9976.jpg', 2), ('/home/nano/Desktop/images/10122025/07/24/image_10122025_07_25_04_9915.jpg', 2), ('/home/nano/Desktop/images/10122025/07/24/image_10122025_07_24_54_9879.jpg', 2), ('/home/nano/Desktop/images/10122025/07/24/image_10122025_07_24_45_9979.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 07:34:32.141870 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/07/26/image_10122025_07_26_55_9960.jpg', 2), ('/home/nano/Desktop/images/10122025/07/26/image_10122025_07_26_35_10897.jpg', 2), ('/home/nano/Desktop/images/10122025/07/26/image_10122025_07_26_24_9976.jpg', 2), ('/home/nano/Desktop/images/10122025/07/24/image_10122025_07_25_04_9915.jpg', 2), ('/home/nano/Desktop/images/10122025/07/24/image_10122025_07_24_54_9879.jpg', 2), ('/home/nano/Desktop/images/10122025/07/24/image_10122025_07_24_45_9979.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 07:35:02.978213 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/07/26/image_10122025_07_26_55_9960.jpg', 2), ('/home/nano/Desktop/images/10122025/07/26/image_10122025_07_26_35_10897.jpg', 2), ('/home/nano/Desktop/images/10122025/07/26/image_10122025_07_26_24_9976.jpg', 2), ('/home/nano/Desktop/images/10122025/07/24/image_10122025_07_25_04_9915.jpg', 2), ('/home/nano/Desktop/images/10122025/07/24/image_10122025_07_24_54_9879.jpg', 2), ('/home/nano/Desktop/images/10122025/07/24/image_10122025_07_24_45_9979.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 07:35:32.349061 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/07/26/image_10122025_07_26_55_9960.jpg', 2), ('/home/nano/Desktop/images/10122025/07/26/image_10122025_07_26_35_10897.jpg', 2), ('/home/nano/Desktop/images/10122025/07/26/image_10122025_07_26_24_9976.jpg', 2), ('/home/nano/Desktop/images/10122025/07/24/image_10122025_07_25_04_9915.jpg', 2), ('/home/nano/Desktop/images/10122025/07/24/image_10122025_07_24_54_9879.jpg', 2), ('/home/nano/Desktop/images/10122025/07/24/image_10122025_07_24_45_9979.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 07:36:02.882799 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/07/26/image_10122025_07_26_55_9960.jpg', 2), ('/home/nano/Desktop/images/10122025/07/26/image_10122025_07_26_35_10897.jpg', 2), ('/home/nano/Desktop/images/10122025/07/26/image_10122025_07_26_24_9976.jpg', 2), ('/home/nano/Desktop/images/10122025/07/24/image_10122025_07_25_04_9915.jpg', 2), ('/home/nano/Desktop/images/10122025/07/24/image_10122025_07_24_54_9879.jpg', 2), ('/home/nano/Desktop/images/10122025/07/24/image_10122025_07_24_45_9979.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 07:36:32.401422 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/07/26/image_10122025_07_26_55_9960.jpg', 2), ('/home/nano/Desktop/images/10122025/07/26/image_10122025_07_26_35_10897.jpg', 2), ('/home/nano/Desktop/images/10122025/07/26/image_10122025_07_26_24_9976.jpg', 2), ('/home/nano/Desktop/images/10122025/07/24/image_10122025_07_25_04_9915.jpg', 2), ('/home/nano/Desktop/images/10122025/07/24/image_10122025_07_24_54_9879.jpg', 2), ('/home/nano/Desktop/images/10122025/07/24/image_10122025_07_24_45_9979.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 07:37:02.986870 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/07/26/image_10122025_07_26_55_9960.jpg', 2), ('/home/nano/Desktop/images/10122025/07/26/image_10122025_07_26_35_10897.jpg', 2), ('/home/nano/Desktop/images/10122025/07/26/image_10122025_07_26_24_9976.jpg', 2), ('/home/nano/Desktop/images/10122025/07/24/image_10122025_07_25_04_9915.jpg', 2), ('/home/nano/Desktop/images/10122025/07/24/image_10122025_07_24_54_9879.jpg', 2), ('/home/nano/Desktop/images/10122025/07/24/image_10122025_07_24_45_9979.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 07:37:32.534776 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/07/26/image_10122025_07_26_55_9960.jpg', 2), ('/home/nano/Desktop/images/10122025/07/26/image_10122025_07_26_35_10897.jpg', 2), ('/home/nano/Desktop/images/10122025/07/26/image_10122025_07_26_24_9976.jpg', 2), ('/home/nano/Desktop/images/10122025/07/24/image_10122025_07_25_04_9915.jpg', 2), ('/home/nano/Desktop/images/10122025/07/24/image_10122025_07_24_54_9879.jpg', 2), ('/home/nano/Desktop/images/10122025/07/24/image_10122025_07_24_45_9979.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 07:38:03.187697 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/07/26/image_10122025_07_26_55_9960.jpg', 2), ('/home/nano/Desktop/images/10122025/07/26/image_10122025_07_26_35_10897.jpg', 2), ('/home/nano/Desktop/images/10122025/07/26/image_10122025_07_26_24_9976.jpg', 2), ('/home/nano/Desktop/images/10122025/07/24/image_10122025_07_25_04_9915.jpg', 2), ('/home/nano/Desktop/images/10122025/07/24/image_10122025_07_24_54_9879.jpg', 2), ('/home/nano/Desktop/images/10122025/07/24/image_10122025_07_24_45_9979.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 07:38:32.686903 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/07/26/image_10122025_07_26_55_9960.jpg', 2), ('/home/nano/Desktop/images/10122025/07/26/image_10122025_07_26_35_10897.jpg', 2), ('/home/nano/Desktop/images/10122025/07/26/image_10122025_07_26_24_9976.jpg', 2), ('/home/nano/Desktop/images/10122025/07/24/image_10122025_07_25_04_9915.jpg', 2), ('/home/nano/Desktop/images/10122025/07/24/image_10122025_07_24_54_9879.jpg', 2), ('/home/nano/Desktop/images/10122025/07/24/image_10122025_07_24_45_9979.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 07:39:02.758310 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/07/26/image_10122025_07_26_55_9960.jpg', 2), ('/home/nano/Desktop/images/10122025/07/26/image_10122025_07_26_35_10897.jpg', 2), ('/home/nano/Desktop/images/10122025/07/26/image_10122025_07_26_24_9976.jpg', 2), ('/home/nano/Desktop/images/10122025/07/24/image_10122025_07_25_04_9915.jpg', 2), ('/home/nano/Desktop/images/10122025/07/24/image_10122025_07_24_54_9879.jpg', 2), ('/home/nano/Desktop/images/10122025/07/24/image_10122025_07_24_45_9979.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 07:39:31.761592 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/07/26/image_10122025_07_26_55_9960.jpg', 2), ('/home/nano/Desktop/images/10122025/07/26/image_10122025_07_26_35_10897.jpg', 2), ('/home/nano/Desktop/images/10122025/07/26/image_10122025_07_26_24_9976.jpg', 2), ('/home/nano/Desktop/images/10122025/07/24/image_10122025_07_25_04_9915.jpg', 2), ('/home/nano/Desktop/images/10122025/07/24/image_10122025_07_24_54_9879.jpg', 2), ('/home/nano/Desktop/images/10122025/07/24/image_10122025_07_24_45_9979.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 07:40:02.379433 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/07/26/image_10122025_07_26_55_9960.jpg', 2), ('/home/nano/Desktop/images/10122025/07/26/image_10122025_07_26_35_10897.jpg', 2), ('/home/nano/Desktop/images/10122025/07/26/image_10122025_07_26_24_9976.jpg', 2), ('/home/nano/Desktop/images/10122025/07/24/image_10122025_07_25_04_9915.jpg', 2), ('/home/nano/Desktop/images/10122025/07/24/image_10122025_07_24_54_9879.jpg', 2), ('/home/nano/Desktop/images/10122025/07/24/image_10122025_07_24_45_9979.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 07:40:31.862770 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/07/26/image_10122025_07_26_55_9960.jpg', 2), ('/home/nano/Desktop/images/10122025/07/26/image_10122025_07_26_35_10897.jpg', 2), ('/home/nano/Desktop/images/10122025/07/26/image_10122025_07_26_24_9976.jpg', 2), ('/home/nano/Desktop/images/10122025/07/24/image_10122025_07_25_04_9915.jpg', 2), ('/home/nano/Desktop/images/10122025/07/24/image_10122025_07_24_54_9879.jpg', 2), ('/home/nano/Desktop/images/10122025/07/24/image_10122025_07_24_45_9979.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 07:41:02.716929 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/07/26/image_10122025_07_26_55_9960.jpg', 2), ('/home/nano/Desktop/images/10122025/07/26/image_10122025_07_26_35_10897.jpg', 2), ('/home/nano/Desktop/images/10122025/07/26/image_10122025_07_26_24_9976.jpg', 2), ('/home/nano/Desktop/images/10122025/07/24/image_10122025_07_25_04_9915.jpg', 2), ('/home/nano/Desktop/images/10122025/07/24/image_10122025_07_24_54_9879.jpg', 2), ('/home/nano/Desktop/images/10122025/07/24/image_10122025_07_24_45_9979.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 07:41:31.977220 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/07/26/image_10122025_07_26_55_9960.jpg', 2), ('/home/nano/Desktop/images/10122025/07/26/image_10122025_07_26_35_10897.jpg', 2), ('/home/nano/Desktop/images/10122025/07/26/image_10122025_07_26_24_9976.jpg', 2), ('/home/nano/Desktop/images/10122025/07/24/image_10122025_07_25_04_9915.jpg', 2), ('/home/nano/Desktop/images/10122025/07/24/image_10122025_07_24_54_9879.jpg', 2), ('/home/nano/Desktop/images/10122025/07/24/image_10122025_07_24_45_9979.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 07:42:02.649962 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/07/26/image_10122025_07_26_55_9960.jpg', 2), ('/home/nano/Desktop/images/10122025/07/26/image_10122025_07_26_35_10897.jpg', 2), ('/home/nano/Desktop/images/10122025/07/26/image_10122025_07_26_24_9976.jpg', 2), ('/home/nano/Desktop/images/10122025/07/24/image_10122025_07_25_04_9915.jpg', 2), ('/home/nano/Desktop/images/10122025/07/24/image_10122025_07_24_54_9879.jpg', 2), ('/home/nano/Desktop/images/10122025/07/24/image_10122025_07_24_45_9979.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 07:42:32.084414 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/07/42/image_10122025_07_42_44_9919.jpg', 2), ('/home/nano/Desktop/images/10122025/07/42/image_10122025_07_42_34_9971.jpg', 2), ('/home/nano/Desktop/images/10122025/07/26/image_10122025_07_26_55_9960.jpg', 2), ('/home/nano/Desktop/images/10122025/07/26/image_10122025_07_26_35_10897.jpg', 2), ('/home/nano/Desktop/images/10122025/07/26/image_10122025_07_26_24_9976.jpg', 2), ('/home/nano/Desktop/images/10122025/07/24/image_10122025_07_25_04_9915.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 07:43:02.831407 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/07/42/image_10122025_07_42_44_9919.jpg', 2), ('/home/nano/Desktop/images/10122025/07/42/image_10122025_07_42_34_9971.jpg', 2), ('/home/nano/Desktop/images/10122025/07/26/image_10122025_07_26_55_9960.jpg', 2), ('/home/nano/Desktop/images/10122025/07/26/image_10122025_07_26_35_10897.jpg', 2), ('/home/nano/Desktop/images/10122025/07/26/image_10122025_07_26_24_9976.jpg', 2), ('/home/nano/Desktop/images/10122025/07/24/image_10122025_07_25_04_9915.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 07:43:32.157066 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/07/42/image_10122025_07_42_44_9919.jpg', 2), ('/home/nano/Desktop/images/10122025/07/42/image_10122025_07_42_34_9971.jpg', 2), ('/home/nano/Desktop/images/10122025/07/26/image_10122025_07_26_55_9960.jpg', 2), ('/home/nano/Desktop/images/10122025/07/26/image_10122025_07_26_35_10897.jpg', 2), ('/home/nano/Desktop/images/10122025/07/26/image_10122025_07_26_24_9976.jpg', 2), ('/home/nano/Desktop/images/10122025/07/24/image_10122025_07_25_04_9915.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 07:44:03.199583 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/07/42/image_10122025_07_42_44_9919.jpg', 2), ('/home/nano/Desktop/images/10122025/07/42/image_10122025_07_42_34_9971.jpg', 2), ('/home/nano/Desktop/images/10122025/07/26/image_10122025_07_26_55_9960.jpg', 2), ('/home/nano/Desktop/images/10122025/07/26/image_10122025_07_26_35_10897.jpg', 2), ('/home/nano/Desktop/images/10122025/07/26/image_10122025_07_26_24_9976.jpg', 2), ('/home/nano/Desktop/images/10122025/07/24/image_10122025_07_25_04_9915.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 07:44:32.310397 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/07/44/image_10122025_07_44_35_9927.jpg', 2), ('/home/nano/Desktop/images/10122025/07/44/image_10122025_07_44_15_9982.jpg', 2), ('/home/nano/Desktop/images/10122025/07/42/image_10122025_07_42_44_9919.jpg', 2), ('/home/nano/Desktop/images/10122025/07/42/image_10122025_07_42_34_9971.jpg', 2), ('/home/nano/Desktop/images/10122025/07/26/image_10122025_07_26_55_9960.jpg', 2), ('/home/nano/Desktop/images/10122025/07/26/image_10122025_07_26_35_10897.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 07:45:03.024131 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/07/44/image_10122025_07_44_35_9927.jpg', 2), ('/home/nano/Desktop/images/10122025/07/44/image_10122025_07_44_15_9982.jpg', 2), ('/home/nano/Desktop/images/10122025/07/42/image_10122025_07_42_44_9919.jpg', 2), ('/home/nano/Desktop/images/10122025/07/42/image_10122025_07_42_34_9971.jpg', 2), ('/home/nano/Desktop/images/10122025/07/26/image_10122025_07_26_55_9960.jpg', 2), ('/home/nano/Desktop/images/10122025/07/26/image_10122025_07_26_35_10897.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 07:45:32.379671 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/07/45/image_10122025_07_45_44_9969.jpg', 2), ('/home/nano/Desktop/images/10122025/07/45/image_10122025_07_45_24_9947.jpg', 2), ('/home/nano/Desktop/images/10122025/07/45/image_10122025_07_45_14_10017.jpg', 2), ('/home/nano/Desktop/images/10122025/07/44/image_10122025_07_44_54_9920.jpg', 2), ('/home/nano/Desktop/images/10122025/07/44/image_10122025_07_44_35_9927.jpg', 2), ('/home/nano/Desktop/images/10122025/07/44/image_10122025_07_44_15_9982.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 07:46:03.092671 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/07/45/image_10122025_07_45_44_9969.jpg', 2), ('/home/nano/Desktop/images/10122025/07/45/image_10122025_07_45_24_9947.jpg', 2), ('/home/nano/Desktop/images/10122025/07/45/image_10122025_07_45_14_10017.jpg', 2), ('/home/nano/Desktop/images/10122025/07/44/image_10122025_07_44_54_9920.jpg', 2), ('/home/nano/Desktop/images/10122025/07/44/image_10122025_07_44_35_9927.jpg', 2), ('/home/nano/Desktop/images/10122025/07/44/image_10122025_07_44_15_9982.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 07:46:32.466390 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/07/46/image_10122025_07_46_45_9942.jpg', 2), ('/home/nano/Desktop/images/10122025/07/45/image_10122025_07_45_44_9969.jpg', 2), ('/home/nano/Desktop/images/10122025/07/45/image_10122025_07_45_24_9947.jpg', 2), ('/home/nano/Desktop/images/10122025/07/45/image_10122025_07_45_14_10017.jpg', 2), ('/home/nano/Desktop/images/10122025/07/44/image_10122025_07_44_54_9920.jpg', 2), ('/home/nano/Desktop/images/10122025/07/44/image_10122025_07_44_35_9927.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 07:47:03.171848 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/07/46/image_10122025_07_46_45_9942.jpg', 2), ('/home/nano/Desktop/images/10122025/07/45/image_10122025_07_45_44_9969.jpg', 2), ('/home/nano/Desktop/images/10122025/07/45/image_10122025_07_45_24_9947.jpg', 2), ('/home/nano/Desktop/images/10122025/07/45/image_10122025_07_45_14_10017.jpg', 2), ('/home/nano/Desktop/images/10122025/07/44/image_10122025_07_44_54_9920.jpg', 2), ('/home/nano/Desktop/images/10122025/07/44/image_10122025_07_44_35_9927.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 07:47:32.567430 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/07/47/image_10122025_07_47_45_9901.jpg', 2), ('/home/nano/Desktop/images/10122025/07/47/image_10122025_07_47_35_9966.jpg', 2), ('/home/nano/Desktop/images/10122025/07/46/image_10122025_07_46_55_9987.jpg', 2), ('/home/nano/Desktop/images/10122025/07/46/image_10122025_07_46_45_9942.jpg', 2), ('/home/nano/Desktop/images/10122025/07/45/image_10122025_07_45_44_9969.jpg', 2), ('/home/nano/Desktop/images/10122025/07/45/image_10122025_07_45_24_9947.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 07:48:03.181513 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/07/47/image_10122025_07_47_45_9901.jpg', 2), ('/home/nano/Desktop/images/10122025/07/47/image_10122025_07_47_35_9966.jpg', 2), ('/home/nano/Desktop/images/10122025/07/46/image_10122025_07_46_55_9987.jpg', 2), ('/home/nano/Desktop/images/10122025/07/46/image_10122025_07_46_45_9942.jpg', 2), ('/home/nano/Desktop/images/10122025/07/45/image_10122025_07_45_44_9969.jpg', 2), ('/home/nano/Desktop/images/10122025/07/45/image_10122025_07_45_24_9947.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 07:48:32.672101 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/07/48/image_10122025_07_48_14_9852.jpg', 2), ('/home/nano/Desktop/images/10122025/07/47/image_10122025_07_48_04_9844.jpg', 2), ('/home/nano/Desktop/images/10122025/07/47/image_10122025_07_47_54_9837.jpg', 2), ('/home/nano/Desktop/images/10122025/07/47/image_10122025_07_47_45_9901.jpg', 2), ('/home/nano/Desktop/images/10122025/07/47/image_10122025_07_47_35_9966.jpg', 2), ('/home/nano/Desktop/images/10122025/07/46/image_10122025_07_46_55_9987.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 07:49:02.815043 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/07/48/image_10122025_07_48_14_9852.jpg', 2), ('/home/nano/Desktop/images/10122025/07/47/image_10122025_07_48_04_9844.jpg', 2), ('/home/nano/Desktop/images/10122025/07/47/image_10122025_07_47_54_9837.jpg', 2), ('/home/nano/Desktop/images/10122025/07/47/image_10122025_07_47_45_9901.jpg', 2), ('/home/nano/Desktop/images/10122025/07/47/image_10122025_07_47_35_9966.jpg', 2), ('/home/nano/Desktop/images/10122025/07/46/image_10122025_07_46_55_9987.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 07:49:31.786548 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/07/49/image_10122025_07_49_44_9947.jpg', 2), ('/home/nano/Desktop/images/10122025/07/48/image_10122025_07_48_14_9852.jpg', 2), ('/home/nano/Desktop/images/10122025/07/47/image_10122025_07_48_04_9844.jpg', 2), ('/home/nano/Desktop/images/10122025/07/47/image_10122025_07_47_54_9837.jpg', 2), ('/home/nano/Desktop/images/10122025/07/47/image_10122025_07_47_45_9901.jpg', 2), ('/home/nano/Desktop/images/10122025/07/47/image_10122025_07_47_35_9966.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 07:50:02.511692 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/07/49/image_10122025_07_49_44_9947.jpg', 2), ('/home/nano/Desktop/images/10122025/07/48/image_10122025_07_48_14_9852.jpg', 2), ('/home/nano/Desktop/images/10122025/07/47/image_10122025_07_48_04_9844.jpg', 2), ('/home/nano/Desktop/images/10122025/07/47/image_10122025_07_47_54_9837.jpg', 2), ('/home/nano/Desktop/images/10122025/07/47/image_10122025_07_47_45_9901.jpg', 2), ('/home/nano/Desktop/images/10122025/07/47/image_10122025_07_47_35_9966.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 07:50:31.886457 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/07/50/image_10122025_07_50_34_9880.jpg', 2), ('/home/nano/Desktop/images/10122025/07/50/image_10122025_07_50_24_9937.jpg', 2), ('/home/nano/Desktop/images/10122025/07/50/image_10122025_07_50_14_9976.jpg', 2), ('/home/nano/Desktop/images/10122025/07/49/image_10122025_07_50_04_9947.jpg', 2), ('/home/nano/Desktop/images/10122025/07/49/image_10122025_07_49_44_9947.jpg', 2), ('/home/nano/Desktop/images/10122025/07/48/image_10122025_07_48_14_9852.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 07:51:02.662259 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/07/50/image_10122025_07_50_34_9880.jpg', 2), ('/home/nano/Desktop/images/10122025/07/50/image_10122025_07_50_24_9937.jpg', 2), ('/home/nano/Desktop/images/10122025/07/50/image_10122025_07_50_14_9976.jpg', 2), ('/home/nano/Desktop/images/10122025/07/49/image_10122025_07_50_04_9947.jpg', 2), ('/home/nano/Desktop/images/10122025/07/49/image_10122025_07_49_44_9947.jpg', 2), ('/home/nano/Desktop/images/10122025/07/48/image_10122025_07_48_14_9852.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 07:51:32.000006 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/07/51/image_10122025_07_51_15_9957.jpg', 2), ('/home/nano/Desktop/images/10122025/07/50/image_10122025_07_50_34_9880.jpg', 2), ('/home/nano/Desktop/images/10122025/07/50/image_10122025_07_50_24_9937.jpg', 2), ('/home/nano/Desktop/images/10122025/07/50/image_10122025_07_50_14_9976.jpg', 2), ('/home/nano/Desktop/images/10122025/07/49/image_10122025_07_50_04_9947.jpg', 2), ('/home/nano/Desktop/images/10122025/07/49/image_10122025_07_49_44_9947.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 07:52:02.698793 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/07/51/image_10122025_07_51_15_9957.jpg', 2), ('/home/nano/Desktop/images/10122025/07/50/image_10122025_07_50_34_9880.jpg', 2), ('/home/nano/Desktop/images/10122025/07/50/image_10122025_07_50_24_9937.jpg', 2), ('/home/nano/Desktop/images/10122025/07/50/image_10122025_07_50_14_9976.jpg', 2), ('/home/nano/Desktop/images/10122025/07/49/image_10122025_07_50_04_9947.jpg', 2), ('/home/nano/Desktop/images/10122025/07/49/image_10122025_07_49_44_9947.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 07:52:32.084257 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/07/51/image_10122025_07_51_15_9957.jpg', 2), ('/home/nano/Desktop/images/10122025/07/50/image_10122025_07_50_34_9880.jpg', 2), ('/home/nano/Desktop/images/10122025/07/50/image_10122025_07_50_24_9937.jpg', 2), ('/home/nano/Desktop/images/10122025/07/50/image_10122025_07_50_14_9976.jpg', 2), ('/home/nano/Desktop/images/10122025/07/49/image_10122025_07_50_04_9947.jpg', 2), ('/home/nano/Desktop/images/10122025/07/49/image_10122025_07_49_44_9947.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 07:53:02.854031 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/07/51/image_10122025_07_51_15_9957.jpg', 2), ('/home/nano/Desktop/images/10122025/07/50/image_10122025_07_50_34_9880.jpg', 2), ('/home/nano/Desktop/images/10122025/07/50/image_10122025_07_50_24_9937.jpg', 2), ('/home/nano/Desktop/images/10122025/07/50/image_10122025_07_50_14_9976.jpg', 2), ('/home/nano/Desktop/images/10122025/07/49/image_10122025_07_50_04_9947.jpg', 2), ('/home/nano/Desktop/images/10122025/07/49/image_10122025_07_49_44_9947.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 07:53:32.157846 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/07/51/image_10122025_07_51_15_9957.jpg', 2), ('/home/nano/Desktop/images/10122025/07/50/image_10122025_07_50_34_9880.jpg', 2), ('/home/nano/Desktop/images/10122025/07/50/image_10122025_07_50_24_9937.jpg', 2), ('/home/nano/Desktop/images/10122025/07/50/image_10122025_07_50_14_9976.jpg', 2), ('/home/nano/Desktop/images/10122025/07/49/image_10122025_07_50_04_9947.jpg', 2), ('/home/nano/Desktop/images/10122025/07/49/image_10122025_07_49_44_9947.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 07:54:03.033848 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/07/51/image_10122025_07_51_15_9957.jpg', 2), ('/home/nano/Desktop/images/10122025/07/50/image_10122025_07_50_34_9880.jpg', 2), ('/home/nano/Desktop/images/10122025/07/50/image_10122025_07_50_24_9937.jpg', 2), ('/home/nano/Desktop/images/10122025/07/50/image_10122025_07_50_14_9976.jpg', 2), ('/home/nano/Desktop/images/10122025/07/49/image_10122025_07_50_04_9947.jpg', 2), ('/home/nano/Desktop/images/10122025/07/49/image_10122025_07_49_44_9947.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 07:54:32.298079 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/07/51/image_10122025_07_51_15_9957.jpg', 2), ('/home/nano/Desktop/images/10122025/07/50/image_10122025_07_50_34_9880.jpg', 2), ('/home/nano/Desktop/images/10122025/07/50/image_10122025_07_50_24_9937.jpg', 2), ('/home/nano/Desktop/images/10122025/07/50/image_10122025_07_50_14_9976.jpg', 2), ('/home/nano/Desktop/images/10122025/07/49/image_10122025_07_50_04_9947.jpg', 2), ('/home/nano/Desktop/images/10122025/07/49/image_10122025_07_49_44_9947.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 07:55:03.198543 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/07/51/image_10122025_07_51_15_9957.jpg', 2), ('/home/nano/Desktop/images/10122025/07/50/image_10122025_07_50_34_9880.jpg', 2), ('/home/nano/Desktop/images/10122025/07/50/image_10122025_07_50_24_9937.jpg', 2), ('/home/nano/Desktop/images/10122025/07/50/image_10122025_07_50_14_9976.jpg', 2), ('/home/nano/Desktop/images/10122025/07/49/image_10122025_07_50_04_9947.jpg', 2), ('/home/nano/Desktop/images/10122025/07/49/image_10122025_07_49_44_9947.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 07:55:32.451448 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/07/51/image_10122025_07_51_15_9957.jpg', 2), ('/home/nano/Desktop/images/10122025/07/50/image_10122025_07_50_34_9880.jpg', 2), ('/home/nano/Desktop/images/10122025/07/50/image_10122025_07_50_24_9937.jpg', 2), ('/home/nano/Desktop/images/10122025/07/50/image_10122025_07_50_14_9976.jpg', 2), ('/home/nano/Desktop/images/10122025/07/49/image_10122025_07_50_04_9947.jpg', 2), ('/home/nano/Desktop/images/10122025/07/49/image_10122025_07_49_44_9947.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 07:56:03.134432 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/07/51/image_10122025_07_51_15_9957.jpg', 2), ('/home/nano/Desktop/images/10122025/07/50/image_10122025_07_50_34_9880.jpg', 2), ('/home/nano/Desktop/images/10122025/07/50/image_10122025_07_50_24_9937.jpg', 2), ('/home/nano/Desktop/images/10122025/07/50/image_10122025_07_50_14_9976.jpg', 2), ('/home/nano/Desktop/images/10122025/07/49/image_10122025_07_50_04_9947.jpg', 2), ('/home/nano/Desktop/images/10122025/07/49/image_10122025_07_49_44_9947.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 07:56:32.582047 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/07/51/image_10122025_07_51_15_9957.jpg', 2), ('/home/nano/Desktop/images/10122025/07/50/image_10122025_07_50_34_9880.jpg', 2), ('/home/nano/Desktop/images/10122025/07/50/image_10122025_07_50_24_9937.jpg', 2), ('/home/nano/Desktop/images/10122025/07/50/image_10122025_07_50_14_9976.jpg', 2), ('/home/nano/Desktop/images/10122025/07/49/image_10122025_07_50_04_9947.jpg', 2), ('/home/nano/Desktop/images/10122025/07/49/image_10122025_07_49_44_9947.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 07:57:03.334736 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/07/51/image_10122025_07_51_15_9957.jpg', 2), ('/home/nano/Desktop/images/10122025/07/50/image_10122025_07_50_34_9880.jpg', 2), ('/home/nano/Desktop/images/10122025/07/50/image_10122025_07_50_24_9937.jpg', 2), ('/home/nano/Desktop/images/10122025/07/50/image_10122025_07_50_14_9976.jpg', 2), ('/home/nano/Desktop/images/10122025/07/49/image_10122025_07_50_04_9947.jpg', 2), ('/home/nano/Desktop/images/10122025/07/49/image_10122025_07_49_44_9947.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 07:57:32.687662 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/07/57/image_10122025_07_57_44_9958.jpg', 2), ('/home/nano/Desktop/images/10122025/07/57/image_10122025_07_57_24_9895.jpg', 2), ('/home/nano/Desktop/images/10122025/07/57/image_10122025_07_57_14_9921.jpg', 2), ('/home/nano/Desktop/images/10122025/07/56/image_10122025_07_57_04_9982.jpg', 2), ('/home/nano/Desktop/images/10122025/07/51/image_10122025_07_51_15_9957.jpg', 2), ('/home/nano/Desktop/images/10122025/07/50/image_10122025_07_50_34_9880.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 07:59:03.618241 SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 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 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 283, in upload_from_sqlite limit=limit*nb_batch, order=order, verbose = verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status cur.execute(query_select) sqlite3.OperationalError: database is locked Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 07:59:17.611487 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/07/59/image_10122025_07_59_35_9888.jpg', 2), ('/home/nano/Desktop/images/10122025/07/59/image_10122025_07_59_25_9865.jpg', 2), ('/home/nano/Desktop/images/10122025/07/59/image_10122025_07_59_15_10877.jpg', 2), ('/home/nano/Desktop/images/10122025/07/58/image_10122025_07_59_04_9865.jpg', 2), ('/home/nano/Desktop/images/10122025/07/58/image_10122025_07_58_54_9860.jpg', 2), ('/home/nano/Desktop/images/10122025/07/58/image_10122025_07_58_44_9866.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 07:59:47.628901 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/07/59/image_10122025_07_59_35_9888.jpg', 2), ('/home/nano/Desktop/images/10122025/07/59/image_10122025_07_59_25_9865.jpg', 2), ('/home/nano/Desktop/images/10122025/07/59/image_10122025_07_59_15_10877.jpg', 2), ('/home/nano/Desktop/images/10122025/07/58/image_10122025_07_59_04_9865.jpg', 2), ('/home/nano/Desktop/images/10122025/07/58/image_10122025_07_58_54_9860.jpg', 2), ('/home/nano/Desktop/images/10122025/07/58/image_10122025_07_58_44_9866.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 08:00:17.702600 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/08/00/image_10122025_08_00_45_9861.jpg', 2), ('/home/nano/Desktop/images/10122025/08/00/image_10122025_08_00_35_10877.jpg', 2), ('/home/nano/Desktop/images/10122025/08/00/image_10122025_08_00_24_9868.jpg', 2), ('/home/nano/Desktop/images/10122025/08/00/image_10122025_08_00_14_9874.jpg', 2), ('/home/nano/Desktop/images/10122025/07/59/image_10122025_08_00_04_9878.jpg', 2), ('/home/nano/Desktop/images/10122025/07/59/image_10122025_07_59_45_9884.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 08:00:47.707437 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/08/00/image_10122025_08_00_45_9861.jpg', 2), ('/home/nano/Desktop/images/10122025/08/00/image_10122025_08_00_35_10877.jpg', 2), ('/home/nano/Desktop/images/10122025/08/00/image_10122025_08_00_24_9868.jpg', 2), ('/home/nano/Desktop/images/10122025/08/00/image_10122025_08_00_14_9874.jpg', 2), ('/home/nano/Desktop/images/10122025/07/59/image_10122025_08_00_04_9878.jpg', 2), ('/home/nano/Desktop/images/10122025/07/59/image_10122025_07_59_45_9884.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 08:01:16.793359 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/08/01/image_10122025_08_01_44_9868.jpg', 2), ('/home/nano/Desktop/images/10122025/08/01/image_10122025_08_01_34_9868.jpg', 2), ('/home/nano/Desktop/images/10122025/08/01/image_10122025_08_01_24_9865.jpg', 2), ('/home/nano/Desktop/images/10122025/08/01/image_10122025_08_01_15_9917.jpg', 2), ('/home/nano/Desktop/images/10122025/08/00/image_10122025_08_01_05_9896.jpg', 2), ('/home/nano/Desktop/images/10122025/08/00/image_10122025_08_00_55_9865.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 08:01:46.804536 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/08/01/image_10122025_08_01_44_9868.jpg', 2), ('/home/nano/Desktop/images/10122025/08/01/image_10122025_08_01_34_9868.jpg', 2), ('/home/nano/Desktop/images/10122025/08/01/image_10122025_08_01_24_9865.jpg', 2), ('/home/nano/Desktop/images/10122025/08/01/image_10122025_08_01_15_9917.jpg', 2), ('/home/nano/Desktop/images/10122025/08/00/image_10122025_08_01_05_9896.jpg', 2), ('/home/nano/Desktop/images/10122025/08/00/image_10122025_08_00_55_9865.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 08:02:16.898588 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/08/02/image_10122025_08_02_44_9867.jpg', 2), ('/home/nano/Desktop/images/10122025/08/02/image_10122025_08_02_35_9894.jpg', 2), ('/home/nano/Desktop/images/10122025/08/02/image_10122025_08_02_25_9869.jpg', 2), ('/home/nano/Desktop/images/10122025/08/02/image_10122025_08_02_15_9870.jpg', 2), ('/home/nano/Desktop/images/10122025/08/01/image_10122025_08_02_05_9873.jpg', 2), ('/home/nano/Desktop/images/10122025/08/01/image_10122025_08_01_55_10883.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 08:02:46.911820 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/08/02/image_10122025_08_02_44_9867.jpg', 2), ('/home/nano/Desktop/images/10122025/08/02/image_10122025_08_02_35_9894.jpg', 2), ('/home/nano/Desktop/images/10122025/08/02/image_10122025_08_02_25_9869.jpg', 2), ('/home/nano/Desktop/images/10122025/08/02/image_10122025_08_02_15_9870.jpg', 2), ('/home/nano/Desktop/images/10122025/08/01/image_10122025_08_02_05_9873.jpg', 2), ('/home/nano/Desktop/images/10122025/08/01/image_10122025_08_01_55_10883.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 08:03:17.013166 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/08/03/image_10122025_08_03_45_9867.jpg', 2), ('/home/nano/Desktop/images/10122025/08/03/image_10122025_08_03_35_9864.jpg', 2), ('/home/nano/Desktop/images/10122025/08/03/image_10122025_08_03_25_9874.jpg', 2), ('/home/nano/Desktop/images/10122025/08/03/image_10122025_08_03_15_10907.jpg', 2), ('/home/nano/Desktop/images/10122025/08/02/image_10122025_08_03_04_9876.jpg', 2), ('/home/nano/Desktop/images/10122025/08/02/image_10122025_08_02_54_9868.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 08:03:47.026197 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/08/03/image_10122025_08_03_45_9867.jpg', 2), ('/home/nano/Desktop/images/10122025/08/03/image_10122025_08_03_35_9864.jpg', 2), ('/home/nano/Desktop/images/10122025/08/03/image_10122025_08_03_25_9874.jpg', 2), ('/home/nano/Desktop/images/10122025/08/03/image_10122025_08_03_15_10907.jpg', 2), ('/home/nano/Desktop/images/10122025/08/02/image_10122025_08_03_04_9876.jpg', 2), ('/home/nano/Desktop/images/10122025/08/02/image_10122025_08_02_54_9868.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 08:04:17.152584 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/08/04/image_10122025_08_04_45_9872.jpg', 2), ('/home/nano/Desktop/images/10122025/08/04/image_10122025_08_04_35_10881.jpg', 2), ('/home/nano/Desktop/images/10122025/08/04/image_10122025_08_04_14_9893.jpg', 2), ('/home/nano/Desktop/images/10122025/08/03/image_10122025_08_04_04_9874.jpg', 2), ('/home/nano/Desktop/images/10122025/08/03/image_10122025_08_03_55_9870.jpg', 2), ('/home/nano/Desktop/images/10122025/08/03/image_10122025_08_03_45_9867.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 08:04:47.114213 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/08/04/image_10122025_08_04_45_9872.jpg', 2), ('/home/nano/Desktop/images/10122025/08/04/image_10122025_08_04_35_10881.jpg', 2), ('/home/nano/Desktop/images/10122025/08/04/image_10122025_08_04_14_9893.jpg', 2), ('/home/nano/Desktop/images/10122025/08/03/image_10122025_08_04_04_9874.jpg', 2), ('/home/nano/Desktop/images/10122025/08/03/image_10122025_08_03_55_9870.jpg', 2), ('/home/nano/Desktop/images/10122025/08/03/image_10122025_08_03_45_9867.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 08:05:17.243331 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/08/05/image_10122025_08_05_44_9886.jpg', 2), ('/home/nano/Desktop/images/10122025/08/05/image_10122025_08_05_34_9872.jpg', 2), ('/home/nano/Desktop/images/10122025/08/05/image_10122025_08_05_24_9863.jpg', 2), ('/home/nano/Desktop/images/10122025/08/05/image_10122025_08_05_15_9891.jpg', 2), ('/home/nano/Desktop/images/10122025/08/04/image_10122025_08_05_05_9886.jpg', 2), ('/home/nano/Desktop/images/10122025/08/04/image_10122025_08_04_55_9863.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 08:05:47.222200 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/08/05/image_10122025_08_05_44_9886.jpg', 2), ('/home/nano/Desktop/images/10122025/08/05/image_10122025_08_05_34_9872.jpg', 2), ('/home/nano/Desktop/images/10122025/08/05/image_10122025_08_05_24_9863.jpg', 2), ('/home/nano/Desktop/images/10122025/08/05/image_10122025_08_05_15_9891.jpg', 2), ('/home/nano/Desktop/images/10122025/08/04/image_10122025_08_05_05_9886.jpg', 2), ('/home/nano/Desktop/images/10122025/08/04/image_10122025_08_04_55_9863.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 08:06:17.319453 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/08/06/image_10122025_08_06_44_9864.jpg', 2), ('/home/nano/Desktop/images/10122025/08/06/image_10122025_08_06_35_9870.jpg', 2), ('/home/nano/Desktop/images/10122025/08/06/image_10122025_08_06_25_9868.jpg', 2), ('/home/nano/Desktop/images/10122025/08/06/image_10122025_08_06_15_9876.jpg', 2), ('/home/nano/Desktop/images/10122025/08/05/image_10122025_08_06_05_10883.jpg', 2), ('/home/nano/Desktop/images/10122025/08/05/image_10122025_08_05_54_9867.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 08:06:47.333895 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/08/06/image_10122025_08_06_44_9864.jpg', 2), ('/home/nano/Desktop/images/10122025/08/06/image_10122025_08_06_35_9870.jpg', 2), ('/home/nano/Desktop/images/10122025/08/06/image_10122025_08_06_25_9868.jpg', 2), ('/home/nano/Desktop/images/10122025/08/06/image_10122025_08_06_15_9876.jpg', 2), ('/home/nano/Desktop/images/10122025/08/05/image_10122025_08_06_05_10883.jpg', 2), ('/home/nano/Desktop/images/10122025/08/05/image_10122025_08_05_54_9867.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 08:07:17.441029 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/08/07/image_10122025_08_07_45_9873.jpg', 2), ('/home/nano/Desktop/images/10122025/08/07/image_10122025_08_07_35_9871.jpg', 2), ('/home/nano/Desktop/images/10122025/08/07/image_10122025_08_07_25_10895.jpg', 2), ('/home/nano/Desktop/images/10122025/08/07/image_10122025_08_07_14_9885.jpg', 2), ('/home/nano/Desktop/images/10122025/08/06/image_10122025_08_07_04_9897.jpg', 2), ('/home/nano/Desktop/images/10122025/08/06/image_10122025_08_06_54_9864.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 08:07:47.441145 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/08/07/image_10122025_08_07_45_9873.jpg', 2), ('/home/nano/Desktop/images/10122025/08/07/image_10122025_08_07_35_9871.jpg', 2), ('/home/nano/Desktop/images/10122025/08/07/image_10122025_08_07_25_10895.jpg', 2), ('/home/nano/Desktop/images/10122025/08/07/image_10122025_08_07_14_9885.jpg', 2), ('/home/nano/Desktop/images/10122025/08/06/image_10122025_08_07_04_9897.jpg', 2), ('/home/nano/Desktop/images/10122025/08/06/image_10122025_08_06_54_9864.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 08:08:17.539238 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/08/08/image_10122025_08_08_45_10876.jpg', 2), ('/home/nano/Desktop/images/10122025/08/08/image_10122025_08_08_34_9868.jpg', 2), ('/home/nano/Desktop/images/10122025/08/08/image_10122025_08_08_24_9865.jpg', 2), ('/home/nano/Desktop/images/10122025/08/08/image_10122025_08_08_14_9921.jpg', 2), ('/home/nano/Desktop/images/10122025/08/07/image_10122025_08_08_05_9890.jpg', 2), ('/home/nano/Desktop/images/10122025/08/07/image_10122025_08_07_55_9873.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 08:08:47.557788 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/08/08/image_10122025_08_08_45_10876.jpg', 2), ('/home/nano/Desktop/images/10122025/08/08/image_10122025_08_08_34_9868.jpg', 2), ('/home/nano/Desktop/images/10122025/08/08/image_10122025_08_08_24_9865.jpg', 2), ('/home/nano/Desktop/images/10122025/08/08/image_10122025_08_08_14_9921.jpg', 2), ('/home/nano/Desktop/images/10122025/08/07/image_10122025_08_08_05_9890.jpg', 2), ('/home/nano/Desktop/images/10122025/08/07/image_10122025_08_07_55_9873.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 08:09:17.660137 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/08/09/image_10122025_08_09_44_9872.jpg', 2), ('/home/nano/Desktop/images/10122025/08/09/image_10122025_08_09_34_9868.jpg', 2), ('/home/nano/Desktop/images/10122025/08/09/image_10122025_08_09_25_9872.jpg', 2), ('/home/nano/Desktop/images/10122025/08/09/image_10122025_08_09_15_9912.jpg', 2), ('/home/nano/Desktop/images/10122025/08/08/image_10122025_08_09_05_9883.jpg', 2), ('/home/nano/Desktop/images/10122025/08/08/image_10122025_08_08_55_9867.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 08:09:47.662568 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/08/09/image_10122025_08_09_44_9872.jpg', 2), ('/home/nano/Desktop/images/10122025/08/09/image_10122025_08_09_34_9868.jpg', 2), ('/home/nano/Desktop/images/10122025/08/09/image_10122025_08_09_25_9872.jpg', 2), ('/home/nano/Desktop/images/10122025/08/09/image_10122025_08_09_15_9912.jpg', 2), ('/home/nano/Desktop/images/10122025/08/08/image_10122025_08_09_05_9883.jpg', 2), ('/home/nano/Desktop/images/10122025/08/08/image_10122025_08_08_55_9867.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 08:10:16.803517 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/08/10/image_10122025_08_10_45_9868.jpg', 2), ('/home/nano/Desktop/images/10122025/08/10/image_10122025_08_10_35_9869.jpg', 2), ('/home/nano/Desktop/images/10122025/08/10/image_10122025_08_10_25_9864.jpg', 2), ('/home/nano/Desktop/images/10122025/08/10/image_10122025_08_10_15_9893.jpg', 2), ('/home/nano/Desktop/images/10122025/08/09/image_10122025_08_10_05_10888.jpg', 2), ('/home/nano/Desktop/images/10122025/08/09/image_10122025_08_09_54_9867.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 08:10:46.785605 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/08/10/image_10122025_08_10_45_9868.jpg', 2), ('/home/nano/Desktop/images/10122025/08/10/image_10122025_08_10_35_9869.jpg', 2), ('/home/nano/Desktop/images/10122025/08/10/image_10122025_08_10_25_9864.jpg', 2), ('/home/nano/Desktop/images/10122025/08/10/image_10122025_08_10_15_9893.jpg', 2), ('/home/nano/Desktop/images/10122025/08/09/image_10122025_08_10_05_10888.jpg', 2), ('/home/nano/Desktop/images/10122025/08/09/image_10122025_08_09_54_9867.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 08:11:16.959699 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/08/11/image_10122025_08_11_45_9865.jpg', 2), ('/home/nano/Desktop/images/10122025/08/11/image_10122025_08_11_35_10877.jpg', 2), ('/home/nano/Desktop/images/10122025/08/11/image_10122025_08_11_24_9885.jpg', 2), ('/home/nano/Desktop/images/10122025/08/11/image_10122025_08_11_14_9901.jpg', 2), ('/home/nano/Desktop/images/10122025/08/10/image_10122025_08_11_04_9884.jpg', 2), ('/home/nano/Desktop/images/10122025/08/10/image_10122025_08_10_54_9869.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 08:11:46.930191 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/08/11/image_10122025_08_11_45_9865.jpg', 2), ('/home/nano/Desktop/images/10122025/08/11/image_10122025_08_11_35_10877.jpg', 2), ('/home/nano/Desktop/images/10122025/08/11/image_10122025_08_11_24_9885.jpg', 2), ('/home/nano/Desktop/images/10122025/08/11/image_10122025_08_11_14_9901.jpg', 2), ('/home/nano/Desktop/images/10122025/08/10/image_10122025_08_11_04_9884.jpg', 2), ('/home/nano/Desktop/images/10122025/08/10/image_10122025_08_10_54_9869.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 08:12:17.011888 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/08/12/image_10122025_08_12_45_10882.jpg', 2), ('/home/nano/Desktop/images/10122025/08/12/image_10122025_08_12_34_9867.jpg', 2), ('/home/nano/Desktop/images/10122025/08/12/image_10122025_08_12_24_9868.jpg', 2), ('/home/nano/Desktop/images/10122025/08/12/image_10122025_08_12_14_9879.jpg', 2), ('/home/nano/Desktop/images/10122025/08/11/image_10122025_08_12_05_9873.jpg', 2), ('/home/nano/Desktop/images/10122025/08/11/image_10122025_08_11_55_9871.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 08:12:47.025710 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/08/12/image_10122025_08_12_45_10882.jpg', 2), ('/home/nano/Desktop/images/10122025/08/12/image_10122025_08_12_34_9867.jpg', 2), ('/home/nano/Desktop/images/10122025/08/12/image_10122025_08_12_24_9868.jpg', 2), ('/home/nano/Desktop/images/10122025/08/12/image_10122025_08_12_14_9879.jpg', 2), ('/home/nano/Desktop/images/10122025/08/11/image_10122025_08_12_05_9873.jpg', 2), ('/home/nano/Desktop/images/10122025/08/11/image_10122025_08_11_55_9871.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 08:13:17.150693 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/08/13/image_10122025_08_13_25_9887.jpg', 2), ('/home/nano/Desktop/images/10122025/08/13/image_10122025_08_13_15_9881.jpg', 2), ('/home/nano/Desktop/images/10122025/08/12/image_10122025_08_13_05_9874.jpg', 2), ('/home/nano/Desktop/images/10122025/08/12/image_10122025_08_12_55_9870.jpg', 2), ('/home/nano/Desktop/images/10122025/08/12/image_10122025_08_12_45_10882.jpg', 2), ('/home/nano/Desktop/images/10122025/08/12/image_10122025_08_12_34_9867.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 08:13:47.136383 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/08/13/image_10122025_08_13_25_9887.jpg', 2), ('/home/nano/Desktop/images/10122025/08/13/image_10122025_08_13_15_9881.jpg', 2), ('/home/nano/Desktop/images/10122025/08/12/image_10122025_08_13_05_9874.jpg', 2), ('/home/nano/Desktop/images/10122025/08/12/image_10122025_08_12_55_9870.jpg', 2), ('/home/nano/Desktop/images/10122025/08/12/image_10122025_08_12_45_10882.jpg', 2), ('/home/nano/Desktop/images/10122025/08/12/image_10122025_08_12_34_9867.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 08:14:17.263146 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/08/13/image_10122025_08_13_25_9887.jpg', 2), ('/home/nano/Desktop/images/10122025/08/13/image_10122025_08_13_15_9881.jpg', 2), ('/home/nano/Desktop/images/10122025/08/12/image_10122025_08_13_05_9874.jpg', 2), ('/home/nano/Desktop/images/10122025/08/12/image_10122025_08_12_55_9870.jpg', 2), ('/home/nano/Desktop/images/10122025/08/12/image_10122025_08_12_45_10882.jpg', 2), ('/home/nano/Desktop/images/10122025/08/12/image_10122025_08_12_34_9867.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 08:14:47.307157 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/08/13/image_10122025_08_13_25_9887.jpg', 2), ('/home/nano/Desktop/images/10122025/08/13/image_10122025_08_13_15_9881.jpg', 2), ('/home/nano/Desktop/images/10122025/08/12/image_10122025_08_13_05_9874.jpg', 2), ('/home/nano/Desktop/images/10122025/08/12/image_10122025_08_12_55_9870.jpg', 2), ('/home/nano/Desktop/images/10122025/08/12/image_10122025_08_12_45_10882.jpg', 2), ('/home/nano/Desktop/images/10122025/08/12/image_10122025_08_12_34_9867.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 08:15:17.419938 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/08/13/image_10122025_08_13_25_9887.jpg', 2), ('/home/nano/Desktop/images/10122025/08/13/image_10122025_08_13_15_9881.jpg', 2), ('/home/nano/Desktop/images/10122025/08/12/image_10122025_08_13_05_9874.jpg', 2), ('/home/nano/Desktop/images/10122025/08/12/image_10122025_08_12_55_9870.jpg', 2), ('/home/nano/Desktop/images/10122025/08/12/image_10122025_08_12_45_10882.jpg', 2), ('/home/nano/Desktop/images/10122025/08/12/image_10122025_08_12_34_9867.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 08:15:47.500148 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/08/13/image_10122025_08_13_25_9887.jpg', 2), ('/home/nano/Desktop/images/10122025/08/13/image_10122025_08_13_15_9881.jpg', 2), ('/home/nano/Desktop/images/10122025/08/12/image_10122025_08_13_05_9874.jpg', 2), ('/home/nano/Desktop/images/10122025/08/12/image_10122025_08_12_55_9870.jpg', 2), ('/home/nano/Desktop/images/10122025/08/12/image_10122025_08_12_45_10882.jpg', 2), ('/home/nano/Desktop/images/10122025/08/12/image_10122025_08_12_34_9867.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 08:16:17.591214 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/08/16/image_10122025_08_16_35_9961.jpg', 2), ('/home/nano/Desktop/images/10122025/08/13/image_10122025_08_13_25_9887.jpg', 2), ('/home/nano/Desktop/images/10122025/08/13/image_10122025_08_13_15_9881.jpg', 2), ('/home/nano/Desktop/images/10122025/08/12/image_10122025_08_13_05_9874.jpg', 2), ('/home/nano/Desktop/images/10122025/08/12/image_10122025_08_12_55_9870.jpg', 2), ('/home/nano/Desktop/images/10122025/08/12/image_10122025_08_12_45_10882.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 08:16:47.575304 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/08/16/image_10122025_08_16_35_9961.jpg', 2), ('/home/nano/Desktop/images/10122025/08/13/image_10122025_08_13_25_9887.jpg', 2), ('/home/nano/Desktop/images/10122025/08/13/image_10122025_08_13_15_9881.jpg', 2), ('/home/nano/Desktop/images/10122025/08/12/image_10122025_08_13_05_9874.jpg', 2), ('/home/nano/Desktop/images/10122025/08/12/image_10122025_08_12_55_9870.jpg', 2), ('/home/nano/Desktop/images/10122025/08/12/image_10122025_08_12_45_10882.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 08:17:17.665550 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/08/16/image_10122025_08_16_35_9961.jpg', 2), ('/home/nano/Desktop/images/10122025/08/13/image_10122025_08_13_25_9887.jpg', 2), ('/home/nano/Desktop/images/10122025/08/13/image_10122025_08_13_15_9881.jpg', 2), ('/home/nano/Desktop/images/10122025/08/12/image_10122025_08_13_05_9874.jpg', 2), ('/home/nano/Desktop/images/10122025/08/12/image_10122025_08_12_55_9870.jpg', 2), ('/home/nano/Desktop/images/10122025/08/12/image_10122025_08_12_45_10882.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 08:17:47.662156 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/08/16/image_10122025_08_16_35_9961.jpg', 2), ('/home/nano/Desktop/images/10122025/08/13/image_10122025_08_13_25_9887.jpg', 2), ('/home/nano/Desktop/images/10122025/08/13/image_10122025_08_13_15_9881.jpg', 2), ('/home/nano/Desktop/images/10122025/08/12/image_10122025_08_13_05_9874.jpg', 2), ('/home/nano/Desktop/images/10122025/08/12/image_10122025_08_12_55_9870.jpg', 2), ('/home/nano/Desktop/images/10122025/08/12/image_10122025_08_12_45_10882.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 08:18:16.794412 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/08/18/image_10122025_08_18_45_9941.jpg', 2), ('/home/nano/Desktop/images/10122025/08/18/image_10122025_08_18_35_9949.jpg', 2), ('/home/nano/Desktop/images/10122025/08/16/image_10122025_08_16_35_9961.jpg', 2), ('/home/nano/Desktop/images/10122025/08/13/image_10122025_08_13_25_9887.jpg', 2), ('/home/nano/Desktop/images/10122025/08/13/image_10122025_08_13_15_9881.jpg', 2), ('/home/nano/Desktop/images/10122025/08/12/image_10122025_08_13_05_9874.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 08:18:46.772616 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/08/18/image_10122025_08_18_45_9941.jpg', 2), ('/home/nano/Desktop/images/10122025/08/18/image_10122025_08_18_35_9949.jpg', 2), ('/home/nano/Desktop/images/10122025/08/16/image_10122025_08_16_35_9961.jpg', 2), ('/home/nano/Desktop/images/10122025/08/13/image_10122025_08_13_25_9887.jpg', 2), ('/home/nano/Desktop/images/10122025/08/13/image_10122025_08_13_15_9881.jpg', 2), ('/home/nano/Desktop/images/10122025/08/12/image_10122025_08_13_05_9874.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 08:19:16.869257 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/08/18/image_10122025_08_18_45_9941.jpg', 2), ('/home/nano/Desktop/images/10122025/08/18/image_10122025_08_18_35_9949.jpg', 2), ('/home/nano/Desktop/images/10122025/08/16/image_10122025_08_16_35_9961.jpg', 2), ('/home/nano/Desktop/images/10122025/08/13/image_10122025_08_13_25_9887.jpg', 2), ('/home/nano/Desktop/images/10122025/08/13/image_10122025_08_13_15_9881.jpg', 2), ('/home/nano/Desktop/images/10122025/08/12/image_10122025_08_13_05_9874.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 08:19:46.854630 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/08/18/image_10122025_08_18_45_9941.jpg', 2), ('/home/nano/Desktop/images/10122025/08/18/image_10122025_08_18_35_9949.jpg', 2), ('/home/nano/Desktop/images/10122025/08/16/image_10122025_08_16_35_9961.jpg', 2), ('/home/nano/Desktop/images/10122025/08/13/image_10122025_08_13_25_9887.jpg', 2), ('/home/nano/Desktop/images/10122025/08/13/image_10122025_08_13_15_9881.jpg', 2), ('/home/nano/Desktop/images/10122025/08/12/image_10122025_08_13_05_9874.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 08:20:16.950838 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/08/18/image_10122025_08_18_45_9941.jpg', 2), ('/home/nano/Desktop/images/10122025/08/18/image_10122025_08_18_35_9949.jpg', 2), ('/home/nano/Desktop/images/10122025/08/16/image_10122025_08_16_35_9961.jpg', 2), ('/home/nano/Desktop/images/10122025/08/13/image_10122025_08_13_25_9887.jpg', 2), ('/home/nano/Desktop/images/10122025/08/13/image_10122025_08_13_15_9881.jpg', 2), ('/home/nano/Desktop/images/10122025/08/12/image_10122025_08_13_05_9874.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 08:20:47.007653 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/08/18/image_10122025_08_18_45_9941.jpg', 2), ('/home/nano/Desktop/images/10122025/08/18/image_10122025_08_18_35_9949.jpg', 2), ('/home/nano/Desktop/images/10122025/08/16/image_10122025_08_16_35_9961.jpg', 2), ('/home/nano/Desktop/images/10122025/08/13/image_10122025_08_13_25_9887.jpg', 2), ('/home/nano/Desktop/images/10122025/08/13/image_10122025_08_13_15_9881.jpg', 2), ('/home/nano/Desktop/images/10122025/08/12/image_10122025_08_13_05_9874.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 08:21:17.143543 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/08/20/image_10122025_08_21_04_10003.jpg', 2), ('/home/nano/Desktop/images/10122025/08/18/image_10122025_08_18_45_9941.jpg', 2), ('/home/nano/Desktop/images/10122025/08/18/image_10122025_08_18_35_9949.jpg', 2), ('/home/nano/Desktop/images/10122025/08/16/image_10122025_08_16_35_9961.jpg', 2), ('/home/nano/Desktop/images/10122025/08/13/image_10122025_08_13_25_9887.jpg', 2), ('/home/nano/Desktop/images/10122025/08/13/image_10122025_08_13_15_9881.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 08:21:47.151147 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/08/20/image_10122025_08_21_04_10003.jpg', 2), ('/home/nano/Desktop/images/10122025/08/18/image_10122025_08_18_45_9941.jpg', 2), ('/home/nano/Desktop/images/10122025/08/18/image_10122025_08_18_35_9949.jpg', 2), ('/home/nano/Desktop/images/10122025/08/16/image_10122025_08_16_35_9961.jpg', 2), ('/home/nano/Desktop/images/10122025/08/13/image_10122025_08_13_25_9887.jpg', 2), ('/home/nano/Desktop/images/10122025/08/13/image_10122025_08_13_15_9881.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 08:22:17.270398 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/08/20/image_10122025_08_21_04_10003.jpg', 2), ('/home/nano/Desktop/images/10122025/08/18/image_10122025_08_18_45_9941.jpg', 2), ('/home/nano/Desktop/images/10122025/08/18/image_10122025_08_18_35_9949.jpg', 2), ('/home/nano/Desktop/images/10122025/08/16/image_10122025_08_16_35_9961.jpg', 2), ('/home/nano/Desktop/images/10122025/08/13/image_10122025_08_13_25_9887.jpg', 2), ('/home/nano/Desktop/images/10122025/08/13/image_10122025_08_13_15_9881.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 08:22:47.229088 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/08/20/image_10122025_08_21_04_10003.jpg', 2), ('/home/nano/Desktop/images/10122025/08/18/image_10122025_08_18_45_9941.jpg', 2), ('/home/nano/Desktop/images/10122025/08/18/image_10122025_08_18_35_9949.jpg', 2), ('/home/nano/Desktop/images/10122025/08/16/image_10122025_08_16_35_9961.jpg', 2), ('/home/nano/Desktop/images/10122025/08/13/image_10122025_08_13_25_9887.jpg', 2), ('/home/nano/Desktop/images/10122025/08/13/image_10122025_08_13_15_9881.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 08:23:17.343175 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/08/20/image_10122025_08_21_04_10003.jpg', 2), ('/home/nano/Desktop/images/10122025/08/18/image_10122025_08_18_45_9941.jpg', 2), ('/home/nano/Desktop/images/10122025/08/18/image_10122025_08_18_35_9949.jpg', 2), ('/home/nano/Desktop/images/10122025/08/16/image_10122025_08_16_35_9961.jpg', 2), ('/home/nano/Desktop/images/10122025/08/13/image_10122025_08_13_25_9887.jpg', 2), ('/home/nano/Desktop/images/10122025/08/13/image_10122025_08_13_15_9881.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 08:23:47.354745 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/08/20/image_10122025_08_21_04_10003.jpg', 2), ('/home/nano/Desktop/images/10122025/08/18/image_10122025_08_18_45_9941.jpg', 2), ('/home/nano/Desktop/images/10122025/08/18/image_10122025_08_18_35_9949.jpg', 2), ('/home/nano/Desktop/images/10122025/08/16/image_10122025_08_16_35_9961.jpg', 2), ('/home/nano/Desktop/images/10122025/08/13/image_10122025_08_13_25_9887.jpg', 2), ('/home/nano/Desktop/images/10122025/08/13/image_10122025_08_13_15_9881.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 08:24:17.580904 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/08/20/image_10122025_08_21_04_10003.jpg', 2), ('/home/nano/Desktop/images/10122025/08/18/image_10122025_08_18_45_9941.jpg', 2), ('/home/nano/Desktop/images/10122025/08/18/image_10122025_08_18_35_9949.jpg', 2), ('/home/nano/Desktop/images/10122025/08/16/image_10122025_08_16_35_9961.jpg', 2), ('/home/nano/Desktop/images/10122025/08/13/image_10122025_08_13_25_9887.jpg', 2), ('/home/nano/Desktop/images/10122025/08/13/image_10122025_08_13_15_9881.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 08:24:47.462957 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/08/20/image_10122025_08_21_04_10003.jpg', 2), ('/home/nano/Desktop/images/10122025/08/18/image_10122025_08_18_45_9941.jpg', 2), ('/home/nano/Desktop/images/10122025/08/18/image_10122025_08_18_35_9949.jpg', 2), ('/home/nano/Desktop/images/10122025/08/16/image_10122025_08_16_35_9961.jpg', 2), ('/home/nano/Desktop/images/10122025/08/13/image_10122025_08_13_25_9887.jpg', 2), ('/home/nano/Desktop/images/10122025/08/13/image_10122025_08_13_15_9881.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 08:25:17.557906 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/08/20/image_10122025_08_21_04_10003.jpg', 2), ('/home/nano/Desktop/images/10122025/08/18/image_10122025_08_18_45_9941.jpg', 2), ('/home/nano/Desktop/images/10122025/08/18/image_10122025_08_18_35_9949.jpg', 2), ('/home/nano/Desktop/images/10122025/08/16/image_10122025_08_16_35_9961.jpg', 2), ('/home/nano/Desktop/images/10122025/08/13/image_10122025_08_13_25_9887.jpg', 2), ('/home/nano/Desktop/images/10122025/08/13/image_10122025_08_13_15_9881.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 08:25:47.545094 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/08/20/image_10122025_08_21_04_10003.jpg', 2), ('/home/nano/Desktop/images/10122025/08/18/image_10122025_08_18_45_9941.jpg', 2), ('/home/nano/Desktop/images/10122025/08/18/image_10122025_08_18_35_9949.jpg', 2), ('/home/nano/Desktop/images/10122025/08/16/image_10122025_08_16_35_9961.jpg', 2), ('/home/nano/Desktop/images/10122025/08/13/image_10122025_08_13_25_9887.jpg', 2), ('/home/nano/Desktop/images/10122025/08/13/image_10122025_08_13_15_9881.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 08:26:17.639726 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/08/20/image_10122025_08_21_04_10003.jpg', 2), ('/home/nano/Desktop/images/10122025/08/18/image_10122025_08_18_45_9941.jpg', 2), ('/home/nano/Desktop/images/10122025/08/18/image_10122025_08_18_35_9949.jpg', 2), ('/home/nano/Desktop/images/10122025/08/16/image_10122025_08_16_35_9961.jpg', 2), ('/home/nano/Desktop/images/10122025/08/13/image_10122025_08_13_25_9887.jpg', 2), ('/home/nano/Desktop/images/10122025/08/13/image_10122025_08_13_15_9881.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 08:26:47.665456 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/08/20/image_10122025_08_21_04_10003.jpg', 2), ('/home/nano/Desktop/images/10122025/08/18/image_10122025_08_18_45_9941.jpg', 2), ('/home/nano/Desktop/images/10122025/08/18/image_10122025_08_18_35_9949.jpg', 2), ('/home/nano/Desktop/images/10122025/08/16/image_10122025_08_16_35_9961.jpg', 2), ('/home/nano/Desktop/images/10122025/08/13/image_10122025_08_13_25_9887.jpg', 2), ('/home/nano/Desktop/images/10122025/08/13/image_10122025_08_13_15_9881.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 08:27:17.755069 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/08/20/image_10122025_08_21_04_10003.jpg', 2), ('/home/nano/Desktop/images/10122025/08/18/image_10122025_08_18_45_9941.jpg', 2), ('/home/nano/Desktop/images/10122025/08/18/image_10122025_08_18_35_9949.jpg', 2), ('/home/nano/Desktop/images/10122025/08/16/image_10122025_08_16_35_9961.jpg', 2), ('/home/nano/Desktop/images/10122025/08/13/image_10122025_08_13_25_9887.jpg', 2), ('/home/nano/Desktop/images/10122025/08/13/image_10122025_08_13_15_9881.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 08:27:47.884193 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/08/20/image_10122025_08_21_04_10003.jpg', 2), ('/home/nano/Desktop/images/10122025/08/18/image_10122025_08_18_45_9941.jpg', 2), ('/home/nano/Desktop/images/10122025/08/18/image_10122025_08_18_35_9949.jpg', 2), ('/home/nano/Desktop/images/10122025/08/16/image_10122025_08_16_35_9961.jpg', 2), ('/home/nano/Desktop/images/10122025/08/13/image_10122025_08_13_25_9887.jpg', 2), ('/home/nano/Desktop/images/10122025/08/13/image_10122025_08_13_15_9881.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 08:28:17.032172 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/08/20/image_10122025_08_21_04_10003.jpg', 2), ('/home/nano/Desktop/images/10122025/08/18/image_10122025_08_18_45_9941.jpg', 2), ('/home/nano/Desktop/images/10122025/08/18/image_10122025_08_18_35_9949.jpg', 2), ('/home/nano/Desktop/images/10122025/08/16/image_10122025_08_16_35_9961.jpg', 2), ('/home/nano/Desktop/images/10122025/08/13/image_10122025_08_13_25_9887.jpg', 2), ('/home/nano/Desktop/images/10122025/08/13/image_10122025_08_13_15_9881.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 08:28:47.026868 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/08/20/image_10122025_08_21_04_10003.jpg', 2), ('/home/nano/Desktop/images/10122025/08/18/image_10122025_08_18_45_9941.jpg', 2), ('/home/nano/Desktop/images/10122025/08/18/image_10122025_08_18_35_9949.jpg', 2), ('/home/nano/Desktop/images/10122025/08/16/image_10122025_08_16_35_9961.jpg', 2), ('/home/nano/Desktop/images/10122025/08/13/image_10122025_08_13_25_9887.jpg', 2), ('/home/nano/Desktop/images/10122025/08/13/image_10122025_08_13_15_9881.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 08:29:17.149614 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/08/20/image_10122025_08_21_04_10003.jpg', 2), ('/home/nano/Desktop/images/10122025/08/18/image_10122025_08_18_45_9941.jpg', 2), ('/home/nano/Desktop/images/10122025/08/18/image_10122025_08_18_35_9949.jpg', 2), ('/home/nano/Desktop/images/10122025/08/16/image_10122025_08_16_35_9961.jpg', 2), ('/home/nano/Desktop/images/10122025/08/13/image_10122025_08_13_25_9887.jpg', 2), ('/home/nano/Desktop/images/10122025/08/13/image_10122025_08_13_15_9881.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 08:29:47.160262 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/08/20/image_10122025_08_21_04_10003.jpg', 2), ('/home/nano/Desktop/images/10122025/08/18/image_10122025_08_18_45_9941.jpg', 2), ('/home/nano/Desktop/images/10122025/08/18/image_10122025_08_18_35_9949.jpg', 2), ('/home/nano/Desktop/images/10122025/08/16/image_10122025_08_16_35_9961.jpg', 2), ('/home/nano/Desktop/images/10122025/08/13/image_10122025_08_13_25_9887.jpg', 2), ('/home/nano/Desktop/images/10122025/08/13/image_10122025_08_13_15_9881.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 08:30:17.303833 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/08/30/image_10122025_08_30_15_9998.jpg', 2), ('/home/nano/Desktop/images/10122025/08/20/image_10122025_08_21_04_10003.jpg', 2), ('/home/nano/Desktop/images/10122025/08/18/image_10122025_08_18_45_9941.jpg', 2), ('/home/nano/Desktop/images/10122025/08/18/image_10122025_08_18_35_9949.jpg', 2), ('/home/nano/Desktop/images/10122025/08/16/image_10122025_08_16_35_9961.jpg', 2), ('/home/nano/Desktop/images/10122025/08/13/image_10122025_08_13_25_9887.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 08:30:47.292794 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/08/30/image_10122025_08_30_15_9998.jpg', 2), ('/home/nano/Desktop/images/10122025/08/20/image_10122025_08_21_04_10003.jpg', 2), ('/home/nano/Desktop/images/10122025/08/18/image_10122025_08_18_45_9941.jpg', 2), ('/home/nano/Desktop/images/10122025/08/18/image_10122025_08_18_35_9949.jpg', 2), ('/home/nano/Desktop/images/10122025/08/16/image_10122025_08_16_35_9961.jpg', 2), ('/home/nano/Desktop/images/10122025/08/13/image_10122025_08_13_25_9887.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 08:31:17.404251 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/08/30/image_10122025_08_30_15_9998.jpg', 2), ('/home/nano/Desktop/images/10122025/08/20/image_10122025_08_21_04_10003.jpg', 2), ('/home/nano/Desktop/images/10122025/08/18/image_10122025_08_18_45_9941.jpg', 2), ('/home/nano/Desktop/images/10122025/08/18/image_10122025_08_18_35_9949.jpg', 2), ('/home/nano/Desktop/images/10122025/08/16/image_10122025_08_16_35_9961.jpg', 2), ('/home/nano/Desktop/images/10122025/08/13/image_10122025_08_13_25_9887.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 08:31:47.405288 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/08/30/image_10122025_08_30_15_9998.jpg', 2), ('/home/nano/Desktop/images/10122025/08/20/image_10122025_08_21_04_10003.jpg', 2), ('/home/nano/Desktop/images/10122025/08/18/image_10122025_08_18_45_9941.jpg', 2), ('/home/nano/Desktop/images/10122025/08/18/image_10122025_08_18_35_9949.jpg', 2), ('/home/nano/Desktop/images/10122025/08/16/image_10122025_08_16_35_9961.jpg', 2), ('/home/nano/Desktop/images/10122025/08/13/image_10122025_08_13_25_9887.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 08:32:17.512611 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/08/30/image_10122025_08_30_15_9998.jpg', 2), ('/home/nano/Desktop/images/10122025/08/20/image_10122025_08_21_04_10003.jpg', 2), ('/home/nano/Desktop/images/10122025/08/18/image_10122025_08_18_45_9941.jpg', 2), ('/home/nano/Desktop/images/10122025/08/18/image_10122025_08_18_35_9949.jpg', 2), ('/home/nano/Desktop/images/10122025/08/16/image_10122025_08_16_35_9961.jpg', 2), ('/home/nano/Desktop/images/10122025/08/13/image_10122025_08_13_25_9887.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 08:32:47.525132 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/08/30/image_10122025_08_30_15_9998.jpg', 2), ('/home/nano/Desktop/images/10122025/08/20/image_10122025_08_21_04_10003.jpg', 2), ('/home/nano/Desktop/images/10122025/08/18/image_10122025_08_18_45_9941.jpg', 2), ('/home/nano/Desktop/images/10122025/08/18/image_10122025_08_18_35_9949.jpg', 2), ('/home/nano/Desktop/images/10122025/08/16/image_10122025_08_16_35_9961.jpg', 2), ('/home/nano/Desktop/images/10122025/08/13/image_10122025_08_13_25_9887.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 08:33:17.651785 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/08/30/image_10122025_08_30_15_9998.jpg', 2), ('/home/nano/Desktop/images/10122025/08/20/image_10122025_08_21_04_10003.jpg', 2), ('/home/nano/Desktop/images/10122025/08/18/image_10122025_08_18_45_9941.jpg', 2), ('/home/nano/Desktop/images/10122025/08/18/image_10122025_08_18_35_9949.jpg', 2), ('/home/nano/Desktop/images/10122025/08/16/image_10122025_08_16_35_9961.jpg', 2), ('/home/nano/Desktop/images/10122025/08/13/image_10122025_08_13_25_9887.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 08:33:47.598666 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/08/30/image_10122025_08_30_15_9998.jpg', 2), ('/home/nano/Desktop/images/10122025/08/20/image_10122025_08_21_04_10003.jpg', 2), ('/home/nano/Desktop/images/10122025/08/18/image_10122025_08_18_45_9941.jpg', 2), ('/home/nano/Desktop/images/10122025/08/18/image_10122025_08_18_35_9949.jpg', 2), ('/home/nano/Desktop/images/10122025/08/16/image_10122025_08_16_35_9961.jpg', 2), ('/home/nano/Desktop/images/10122025/08/13/image_10122025_08_13_25_9887.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 08:34:17.758713 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/08/30/image_10122025_08_30_15_9998.jpg', 2), ('/home/nano/Desktop/images/10122025/08/20/image_10122025_08_21_04_10003.jpg', 2), ('/home/nano/Desktop/images/10122025/08/18/image_10122025_08_18_45_9941.jpg', 2), ('/home/nano/Desktop/images/10122025/08/18/image_10122025_08_18_35_9949.jpg', 2), ('/home/nano/Desktop/images/10122025/08/16/image_10122025_08_16_35_9961.jpg', 2), ('/home/nano/Desktop/images/10122025/08/13/image_10122025_08_13_25_9887.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 08:34:47.732811 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/08/30/image_10122025_08_30_15_9998.jpg', 2), ('/home/nano/Desktop/images/10122025/08/20/image_10122025_08_21_04_10003.jpg', 2), ('/home/nano/Desktop/images/10122025/08/18/image_10122025_08_18_45_9941.jpg', 2), ('/home/nano/Desktop/images/10122025/08/18/image_10122025_08_18_35_9949.jpg', 2), ('/home/nano/Desktop/images/10122025/08/16/image_10122025_08_16_35_9961.jpg', 2), ('/home/nano/Desktop/images/10122025/08/13/image_10122025_08_13_25_9887.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 08:35:16.831406 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/08/30/image_10122025_08_30_15_9998.jpg', 2), ('/home/nano/Desktop/images/10122025/08/20/image_10122025_08_21_04_10003.jpg', 2), ('/home/nano/Desktop/images/10122025/08/18/image_10122025_08_18_45_9941.jpg', 2), ('/home/nano/Desktop/images/10122025/08/18/image_10122025_08_18_35_9949.jpg', 2), ('/home/nano/Desktop/images/10122025/08/16/image_10122025_08_16_35_9961.jpg', 2), ('/home/nano/Desktop/images/10122025/08/13/image_10122025_08_13_25_9887.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 08:35:46.873761 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/08/30/image_10122025_08_30_15_9998.jpg', 2), ('/home/nano/Desktop/images/10122025/08/20/image_10122025_08_21_04_10003.jpg', 2), ('/home/nano/Desktop/images/10122025/08/18/image_10122025_08_18_45_9941.jpg', 2), ('/home/nano/Desktop/images/10122025/08/18/image_10122025_08_18_35_9949.jpg', 2), ('/home/nano/Desktop/images/10122025/08/16/image_10122025_08_16_35_9961.jpg', 2), ('/home/nano/Desktop/images/10122025/08/13/image_10122025_08_13_25_9887.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 08:36:16.992869 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/08/30/image_10122025_08_30_15_9998.jpg', 2), ('/home/nano/Desktop/images/10122025/08/20/image_10122025_08_21_04_10003.jpg', 2), ('/home/nano/Desktop/images/10122025/08/18/image_10122025_08_18_45_9941.jpg', 2), ('/home/nano/Desktop/images/10122025/08/18/image_10122025_08_18_35_9949.jpg', 2), ('/home/nano/Desktop/images/10122025/08/16/image_10122025_08_16_35_9961.jpg', 2), ('/home/nano/Desktop/images/10122025/08/13/image_10122025_08_13_25_9887.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 08:36:46.935039 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/08/30/image_10122025_08_30_15_9998.jpg', 2), ('/home/nano/Desktop/images/10122025/08/20/image_10122025_08_21_04_10003.jpg', 2), ('/home/nano/Desktop/images/10122025/08/18/image_10122025_08_18_45_9941.jpg', 2), ('/home/nano/Desktop/images/10122025/08/18/image_10122025_08_18_35_9949.jpg', 2), ('/home/nano/Desktop/images/10122025/08/16/image_10122025_08_16_35_9961.jpg', 2), ('/home/nano/Desktop/images/10122025/08/13/image_10122025_08_13_25_9887.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 08:37:17.069136 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/08/30/image_10122025_08_30_15_9998.jpg', 2), ('/home/nano/Desktop/images/10122025/08/20/image_10122025_08_21_04_10003.jpg', 2), ('/home/nano/Desktop/images/10122025/08/18/image_10122025_08_18_45_9941.jpg', 2), ('/home/nano/Desktop/images/10122025/08/18/image_10122025_08_18_35_9949.jpg', 2), ('/home/nano/Desktop/images/10122025/08/16/image_10122025_08_16_35_9961.jpg', 2), ('/home/nano/Desktop/images/10122025/08/13/image_10122025_08_13_25_9887.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 08:37:47.034118 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/08/30/image_10122025_08_30_15_9998.jpg', 2), ('/home/nano/Desktop/images/10122025/08/20/image_10122025_08_21_04_10003.jpg', 2), ('/home/nano/Desktop/images/10122025/08/18/image_10122025_08_18_45_9941.jpg', 2), ('/home/nano/Desktop/images/10122025/08/18/image_10122025_08_18_35_9949.jpg', 2), ('/home/nano/Desktop/images/10122025/08/16/image_10122025_08_16_35_9961.jpg', 2), ('/home/nano/Desktop/images/10122025/08/13/image_10122025_08_13_25_9887.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 08:38:17.124948 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/08/30/image_10122025_08_30_15_9998.jpg', 2), ('/home/nano/Desktop/images/10122025/08/20/image_10122025_08_21_04_10003.jpg', 2), ('/home/nano/Desktop/images/10122025/08/18/image_10122025_08_18_45_9941.jpg', 2), ('/home/nano/Desktop/images/10122025/08/18/image_10122025_08_18_35_9949.jpg', 2), ('/home/nano/Desktop/images/10122025/08/16/image_10122025_08_16_35_9961.jpg', 2), ('/home/nano/Desktop/images/10122025/08/13/image_10122025_08_13_25_9887.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 08:38:47.139527 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/08/30/image_10122025_08_30_15_9998.jpg', 2), ('/home/nano/Desktop/images/10122025/08/20/image_10122025_08_21_04_10003.jpg', 2), ('/home/nano/Desktop/images/10122025/08/18/image_10122025_08_18_45_9941.jpg', 2), ('/home/nano/Desktop/images/10122025/08/18/image_10122025_08_18_35_9949.jpg', 2), ('/home/nano/Desktop/images/10122025/08/16/image_10122025_08_16_35_9961.jpg', 2), ('/home/nano/Desktop/images/10122025/08/13/image_10122025_08_13_25_9887.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 08:39:17.262027 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/08/39/image_10122025_08_39_25_9950.jpg', 2), ('/home/nano/Desktop/images/10122025/08/30/image_10122025_08_30_15_9998.jpg', 2), ('/home/nano/Desktop/images/10122025/08/20/image_10122025_08_21_04_10003.jpg', 2), ('/home/nano/Desktop/images/10122025/08/18/image_10122025_08_18_45_9941.jpg', 2), ('/home/nano/Desktop/images/10122025/08/18/image_10122025_08_18_35_9949.jpg', 2), ('/home/nano/Desktop/images/10122025/08/16/image_10122025_08_16_35_9961.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 08:39:47.244286 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/08/39/image_10122025_08_39_25_9950.jpg', 2), ('/home/nano/Desktop/images/10122025/08/30/image_10122025_08_30_15_9998.jpg', 2), ('/home/nano/Desktop/images/10122025/08/20/image_10122025_08_21_04_10003.jpg', 2), ('/home/nano/Desktop/images/10122025/08/18/image_10122025_08_18_45_9941.jpg', 2), ('/home/nano/Desktop/images/10122025/08/18/image_10122025_08_18_35_9949.jpg', 2), ('/home/nano/Desktop/images/10122025/08/16/image_10122025_08_16_35_9961.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 08:40:17.350805 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/08/39/image_10122025_08_39_25_9950.jpg', 2), ('/home/nano/Desktop/images/10122025/08/30/image_10122025_08_30_15_9998.jpg', 2), ('/home/nano/Desktop/images/10122025/08/20/image_10122025_08_21_04_10003.jpg', 2), ('/home/nano/Desktop/images/10122025/08/18/image_10122025_08_18_45_9941.jpg', 2), ('/home/nano/Desktop/images/10122025/08/18/image_10122025_08_18_35_9949.jpg', 2), ('/home/nano/Desktop/images/10122025/08/16/image_10122025_08_16_35_9961.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 08:40:47.370564 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/08/39/image_10122025_08_39_25_9950.jpg', 2), ('/home/nano/Desktop/images/10122025/08/30/image_10122025_08_30_15_9998.jpg', 2), ('/home/nano/Desktop/images/10122025/08/20/image_10122025_08_21_04_10003.jpg', 2), ('/home/nano/Desktop/images/10122025/08/18/image_10122025_08_18_45_9941.jpg', 2), ('/home/nano/Desktop/images/10122025/08/18/image_10122025_08_18_35_9949.jpg', 2), ('/home/nano/Desktop/images/10122025/08/16/image_10122025_08_16_35_9961.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 08:41:17.467071 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/08/39/image_10122025_08_39_25_9950.jpg', 2), ('/home/nano/Desktop/images/10122025/08/30/image_10122025_08_30_15_9998.jpg', 2), ('/home/nano/Desktop/images/10122025/08/20/image_10122025_08_21_04_10003.jpg', 2), ('/home/nano/Desktop/images/10122025/08/18/image_10122025_08_18_45_9941.jpg', 2), ('/home/nano/Desktop/images/10122025/08/18/image_10122025_08_18_35_9949.jpg', 2), ('/home/nano/Desktop/images/10122025/08/16/image_10122025_08_16_35_9961.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 08:41:47.478500 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/08/39/image_10122025_08_39_25_9950.jpg', 2), ('/home/nano/Desktop/images/10122025/08/30/image_10122025_08_30_15_9998.jpg', 2), ('/home/nano/Desktop/images/10122025/08/20/image_10122025_08_21_04_10003.jpg', 2), ('/home/nano/Desktop/images/10122025/08/18/image_10122025_08_18_45_9941.jpg', 2), ('/home/nano/Desktop/images/10122025/08/18/image_10122025_08_18_35_9949.jpg', 2), ('/home/nano/Desktop/images/10122025/08/16/image_10122025_08_16_35_9961.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 08:42:17.576300 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/08/39/image_10122025_08_39_25_9950.jpg', 2), ('/home/nano/Desktop/images/10122025/08/30/image_10122025_08_30_15_9998.jpg', 2), ('/home/nano/Desktop/images/10122025/08/20/image_10122025_08_21_04_10003.jpg', 2), ('/home/nano/Desktop/images/10122025/08/18/image_10122025_08_18_45_9941.jpg', 2), ('/home/nano/Desktop/images/10122025/08/18/image_10122025_08_18_35_9949.jpg', 2), ('/home/nano/Desktop/images/10122025/08/16/image_10122025_08_16_35_9961.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 08:42:47.549348 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/08/39/image_10122025_08_39_25_9950.jpg', 2), ('/home/nano/Desktop/images/10122025/08/30/image_10122025_08_30_15_9998.jpg', 2), ('/home/nano/Desktop/images/10122025/08/20/image_10122025_08_21_04_10003.jpg', 2), ('/home/nano/Desktop/images/10122025/08/18/image_10122025_08_18_45_9941.jpg', 2), ('/home/nano/Desktop/images/10122025/08/18/image_10122025_08_18_35_9949.jpg', 2), ('/home/nano/Desktop/images/10122025/08/16/image_10122025_08_16_35_9961.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 08:43:17.653709 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/08/39/image_10122025_08_39_25_9950.jpg', 2), ('/home/nano/Desktop/images/10122025/08/30/image_10122025_08_30_15_9998.jpg', 2), ('/home/nano/Desktop/images/10122025/08/20/image_10122025_08_21_04_10003.jpg', 2), ('/home/nano/Desktop/images/10122025/08/18/image_10122025_08_18_45_9941.jpg', 2), ('/home/nano/Desktop/images/10122025/08/18/image_10122025_08_18_35_9949.jpg', 2), ('/home/nano/Desktop/images/10122025/08/16/image_10122025_08_16_35_9961.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 08:43:47.649051 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/08/39/image_10122025_08_39_25_9950.jpg', 2), ('/home/nano/Desktop/images/10122025/08/30/image_10122025_08_30_15_9998.jpg', 2), ('/home/nano/Desktop/images/10122025/08/20/image_10122025_08_21_04_10003.jpg', 2), ('/home/nano/Desktop/images/10122025/08/18/image_10122025_08_18_45_9941.jpg', 2), ('/home/nano/Desktop/images/10122025/08/18/image_10122025_08_18_35_9949.jpg', 2), ('/home/nano/Desktop/images/10122025/08/16/image_10122025_08_16_35_9961.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 08:44:17.762781 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/08/39/image_10122025_08_39_25_9950.jpg', 2), ('/home/nano/Desktop/images/10122025/08/30/image_10122025_08_30_15_9998.jpg', 2), ('/home/nano/Desktop/images/10122025/08/20/image_10122025_08_21_04_10003.jpg', 2), ('/home/nano/Desktop/images/10122025/08/18/image_10122025_08_18_45_9941.jpg', 2), ('/home/nano/Desktop/images/10122025/08/18/image_10122025_08_18_35_9949.jpg', 2), ('/home/nano/Desktop/images/10122025/08/16/image_10122025_08_16_35_9961.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 08:44:47.780991 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/08/39/image_10122025_08_39_25_9950.jpg', 2), ('/home/nano/Desktop/images/10122025/08/30/image_10122025_08_30_15_9998.jpg', 2), ('/home/nano/Desktop/images/10122025/08/20/image_10122025_08_21_04_10003.jpg', 2), ('/home/nano/Desktop/images/10122025/08/18/image_10122025_08_18_45_9941.jpg', 2), ('/home/nano/Desktop/images/10122025/08/18/image_10122025_08_18_35_9949.jpg', 2), ('/home/nano/Desktop/images/10122025/08/16/image_10122025_08_16_35_9961.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 08:45:16.852775 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/08/39/image_10122025_08_39_25_9950.jpg', 2), ('/home/nano/Desktop/images/10122025/08/30/image_10122025_08_30_15_9998.jpg', 2), ('/home/nano/Desktop/images/10122025/08/20/image_10122025_08_21_04_10003.jpg', 2), ('/home/nano/Desktop/images/10122025/08/18/image_10122025_08_18_45_9941.jpg', 2), ('/home/nano/Desktop/images/10122025/08/18/image_10122025_08_18_35_9949.jpg', 2), ('/home/nano/Desktop/images/10122025/08/16/image_10122025_08_16_35_9961.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 08:45:46.895238 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/08/39/image_10122025_08_39_25_9950.jpg', 2), ('/home/nano/Desktop/images/10122025/08/30/image_10122025_08_30_15_9998.jpg', 2), ('/home/nano/Desktop/images/10122025/08/20/image_10122025_08_21_04_10003.jpg', 2), ('/home/nano/Desktop/images/10122025/08/18/image_10122025_08_18_45_9941.jpg', 2), ('/home/nano/Desktop/images/10122025/08/18/image_10122025_08_18_35_9949.jpg', 2), ('/home/nano/Desktop/images/10122025/08/16/image_10122025_08_16_35_9961.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 08:46:16.987573 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/08/39/image_10122025_08_39_25_9950.jpg', 2), ('/home/nano/Desktop/images/10122025/08/30/image_10122025_08_30_15_9998.jpg', 2), ('/home/nano/Desktop/images/10122025/08/20/image_10122025_08_21_04_10003.jpg', 2), ('/home/nano/Desktop/images/10122025/08/18/image_10122025_08_18_45_9941.jpg', 2), ('/home/nano/Desktop/images/10122025/08/18/image_10122025_08_18_35_9949.jpg', 2), ('/home/nano/Desktop/images/10122025/08/16/image_10122025_08_16_35_9961.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 08:46:46.976084 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/08/39/image_10122025_08_39_25_9950.jpg', 2), ('/home/nano/Desktop/images/10122025/08/30/image_10122025_08_30_15_9998.jpg', 2), ('/home/nano/Desktop/images/10122025/08/20/image_10122025_08_21_04_10003.jpg', 2), ('/home/nano/Desktop/images/10122025/08/18/image_10122025_08_18_45_9941.jpg', 2), ('/home/nano/Desktop/images/10122025/08/18/image_10122025_08_18_35_9949.jpg', 2), ('/home/nano/Desktop/images/10122025/08/16/image_10122025_08_16_35_9961.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 08:47:17.121697 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/08/39/image_10122025_08_39_25_9950.jpg', 2), ('/home/nano/Desktop/images/10122025/08/30/image_10122025_08_30_15_9998.jpg', 2), ('/home/nano/Desktop/images/10122025/08/20/image_10122025_08_21_04_10003.jpg', 2), ('/home/nano/Desktop/images/10122025/08/18/image_10122025_08_18_45_9941.jpg', 2), ('/home/nano/Desktop/images/10122025/08/18/image_10122025_08_18_35_9949.jpg', 2), ('/home/nano/Desktop/images/10122025/08/16/image_10122025_08_16_35_9961.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 08:47:47.089606 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/08/39/image_10122025_08_39_25_9950.jpg', 2), ('/home/nano/Desktop/images/10122025/08/30/image_10122025_08_30_15_9998.jpg', 2), ('/home/nano/Desktop/images/10122025/08/20/image_10122025_08_21_04_10003.jpg', 2), ('/home/nano/Desktop/images/10122025/08/18/image_10122025_08_18_45_9941.jpg', 2), ('/home/nano/Desktop/images/10122025/08/18/image_10122025_08_18_35_9949.jpg', 2), ('/home/nano/Desktop/images/10122025/08/16/image_10122025_08_16_35_9961.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 08:48:17.220015 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/08/48/image_10122025_08_48_35_10974.jpg', 2), ('/home/nano/Desktop/images/10122025/08/39/image_10122025_08_39_25_9950.jpg', 2), ('/home/nano/Desktop/images/10122025/08/30/image_10122025_08_30_15_9998.jpg', 2), ('/home/nano/Desktop/images/10122025/08/20/image_10122025_08_21_04_10003.jpg', 2), ('/home/nano/Desktop/images/10122025/08/18/image_10122025_08_18_45_9941.jpg', 2), ('/home/nano/Desktop/images/10122025/08/18/image_10122025_08_18_35_9949.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 08:48:47.202224 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/08/48/image_10122025_08_48_35_10974.jpg', 2), ('/home/nano/Desktop/images/10122025/08/39/image_10122025_08_39_25_9950.jpg', 2), ('/home/nano/Desktop/images/10122025/08/30/image_10122025_08_30_15_9998.jpg', 2), ('/home/nano/Desktop/images/10122025/08/20/image_10122025_08_21_04_10003.jpg', 2), ('/home/nano/Desktop/images/10122025/08/18/image_10122025_08_18_45_9941.jpg', 2), ('/home/nano/Desktop/images/10122025/08/18/image_10122025_08_18_35_9949.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 08:49:17.333354 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/08/48/image_10122025_08_48_35_10974.jpg', 2), ('/home/nano/Desktop/images/10122025/08/39/image_10122025_08_39_25_9950.jpg', 2), ('/home/nano/Desktop/images/10122025/08/30/image_10122025_08_30_15_9998.jpg', 2), ('/home/nano/Desktop/images/10122025/08/20/image_10122025_08_21_04_10003.jpg', 2), ('/home/nano/Desktop/images/10122025/08/18/image_10122025_08_18_45_9941.jpg', 2), ('/home/nano/Desktop/images/10122025/08/18/image_10122025_08_18_35_9949.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 08:49:47.366586 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/08/48/image_10122025_08_48_35_10974.jpg', 2), ('/home/nano/Desktop/images/10122025/08/39/image_10122025_08_39_25_9950.jpg', 2), ('/home/nano/Desktop/images/10122025/08/30/image_10122025_08_30_15_9998.jpg', 2), ('/home/nano/Desktop/images/10122025/08/20/image_10122025_08_21_04_10003.jpg', 2), ('/home/nano/Desktop/images/10122025/08/18/image_10122025_08_18_45_9941.jpg', 2), ('/home/nano/Desktop/images/10122025/08/18/image_10122025_08_18_35_9949.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 08:50:17.474541 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/08/48/image_10122025_08_48_35_10974.jpg', 2), ('/home/nano/Desktop/images/10122025/08/39/image_10122025_08_39_25_9950.jpg', 2), ('/home/nano/Desktop/images/10122025/08/30/image_10122025_08_30_15_9998.jpg', 2), ('/home/nano/Desktop/images/10122025/08/20/image_10122025_08_21_04_10003.jpg', 2), ('/home/nano/Desktop/images/10122025/08/18/image_10122025_08_18_45_9941.jpg', 2), ('/home/nano/Desktop/images/10122025/08/18/image_10122025_08_18_35_9949.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 08:50:47.459593 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/08/48/image_10122025_08_48_35_10974.jpg', 2), ('/home/nano/Desktop/images/10122025/08/39/image_10122025_08_39_25_9950.jpg', 2), ('/home/nano/Desktop/images/10122025/08/30/image_10122025_08_30_15_9998.jpg', 2), ('/home/nano/Desktop/images/10122025/08/20/image_10122025_08_21_04_10003.jpg', 2), ('/home/nano/Desktop/images/10122025/08/18/image_10122025_08_18_45_9941.jpg', 2), ('/home/nano/Desktop/images/10122025/08/18/image_10122025_08_18_35_9949.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 08:51:17.581373 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/08/48/image_10122025_08_48_35_10974.jpg', 2), ('/home/nano/Desktop/images/10122025/08/39/image_10122025_08_39_25_9950.jpg', 2), ('/home/nano/Desktop/images/10122025/08/30/image_10122025_08_30_15_9998.jpg', 2), ('/home/nano/Desktop/images/10122025/08/20/image_10122025_08_21_04_10003.jpg', 2), ('/home/nano/Desktop/images/10122025/08/18/image_10122025_08_18_45_9941.jpg', 2), ('/home/nano/Desktop/images/10122025/08/18/image_10122025_08_18_35_9949.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 08:51:47.621887 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/08/48/image_10122025_08_48_35_10974.jpg', 2), ('/home/nano/Desktop/images/10122025/08/39/image_10122025_08_39_25_9950.jpg', 2), ('/home/nano/Desktop/images/10122025/08/30/image_10122025_08_30_15_9998.jpg', 2), ('/home/nano/Desktop/images/10122025/08/20/image_10122025_08_21_04_10003.jpg', 2), ('/home/nano/Desktop/images/10122025/08/18/image_10122025_08_18_45_9941.jpg', 2), ('/home/nano/Desktop/images/10122025/08/18/image_10122025_08_18_35_9949.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 08:52:17.745399 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/08/48/image_10122025_08_48_35_10974.jpg', 2), ('/home/nano/Desktop/images/10122025/08/39/image_10122025_08_39_25_9950.jpg', 2), ('/home/nano/Desktop/images/10122025/08/30/image_10122025_08_30_15_9998.jpg', 2), ('/home/nano/Desktop/images/10122025/08/20/image_10122025_08_21_04_10003.jpg', 2), ('/home/nano/Desktop/images/10122025/08/18/image_10122025_08_18_45_9941.jpg', 2), ('/home/nano/Desktop/images/10122025/08/18/image_10122025_08_18_35_9949.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 08:52:47.725741 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/08/48/image_10122025_08_48_35_10974.jpg', 2), ('/home/nano/Desktop/images/10122025/08/39/image_10122025_08_39_25_9950.jpg', 2), ('/home/nano/Desktop/images/10122025/08/30/image_10122025_08_30_15_9998.jpg', 2), ('/home/nano/Desktop/images/10122025/08/20/image_10122025_08_21_04_10003.jpg', 2), ('/home/nano/Desktop/images/10122025/08/18/image_10122025_08_18_45_9941.jpg', 2), ('/home/nano/Desktop/images/10122025/08/18/image_10122025_08_18_35_9949.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 08:53:16.855617 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/08/48/image_10122025_08_48_35_10974.jpg', 2), ('/home/nano/Desktop/images/10122025/08/39/image_10122025_08_39_25_9950.jpg', 2), ('/home/nano/Desktop/images/10122025/08/30/image_10122025_08_30_15_9998.jpg', 2), ('/home/nano/Desktop/images/10122025/08/20/image_10122025_08_21_04_10003.jpg', 2), ('/home/nano/Desktop/images/10122025/08/18/image_10122025_08_18_45_9941.jpg', 2), ('/home/nano/Desktop/images/10122025/08/18/image_10122025_08_18_35_9949.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 08:53:46.875740 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/08/48/image_10122025_08_48_35_10974.jpg', 2), ('/home/nano/Desktop/images/10122025/08/39/image_10122025_08_39_25_9950.jpg', 2), ('/home/nano/Desktop/images/10122025/08/30/image_10122025_08_30_15_9998.jpg', 2), ('/home/nano/Desktop/images/10122025/08/20/image_10122025_08_21_04_10003.jpg', 2), ('/home/nano/Desktop/images/10122025/08/18/image_10122025_08_18_45_9941.jpg', 2), ('/home/nano/Desktop/images/10122025/08/18/image_10122025_08_18_35_9949.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 08:54:17.014632 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/08/54/image_10122025_08_54_35_9907.jpg', 2), ('/home/nano/Desktop/images/10122025/08/54/image_10122025_08_54_25_9962.jpg', 2), ('/home/nano/Desktop/images/10122025/08/54/image_10122025_08_54_15_10843.jpg', 2), ('/home/nano/Desktop/images/10122025/08/53/image_10122025_08_54_04_10012.jpg', 2), ('/home/nano/Desktop/images/10122025/08/53/image_10122025_08_53_54_9971.jpg', 2), ('/home/nano/Desktop/images/10122025/08/48/image_10122025_08_48_35_10974.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 08:54:47.048378 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/08/54/image_10122025_08_54_35_9907.jpg', 2), ('/home/nano/Desktop/images/10122025/08/54/image_10122025_08_54_25_9962.jpg', 2), ('/home/nano/Desktop/images/10122025/08/54/image_10122025_08_54_15_10843.jpg', 2), ('/home/nano/Desktop/images/10122025/08/53/image_10122025_08_54_04_10012.jpg', 2), ('/home/nano/Desktop/images/10122025/08/53/image_10122025_08_53_54_9971.jpg', 2), ('/home/nano/Desktop/images/10122025/08/48/image_10122025_08_48_35_10974.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 08:55:17.125811 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/08/54/image_10122025_08_55_05_9957.jpg', 2), ('/home/nano/Desktop/images/10122025/08/54/image_10122025_08_54_35_9907.jpg', 2), ('/home/nano/Desktop/images/10122025/08/54/image_10122025_08_54_25_9962.jpg', 2), ('/home/nano/Desktop/images/10122025/08/54/image_10122025_08_54_15_10843.jpg', 2), ('/home/nano/Desktop/images/10122025/08/53/image_10122025_08_54_04_10012.jpg', 2), ('/home/nano/Desktop/images/10122025/08/53/image_10122025_08_53_54_9971.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 08:55:47.158473 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/08/54/image_10122025_08_55_05_9957.jpg', 2), ('/home/nano/Desktop/images/10122025/08/54/image_10122025_08_54_35_9907.jpg', 2), ('/home/nano/Desktop/images/10122025/08/54/image_10122025_08_54_25_9962.jpg', 2), ('/home/nano/Desktop/images/10122025/08/54/image_10122025_08_54_15_10843.jpg', 2), ('/home/nano/Desktop/images/10122025/08/53/image_10122025_08_54_04_10012.jpg', 2), ('/home/nano/Desktop/images/10122025/08/53/image_10122025_08_53_54_9971.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 08:56:17.269473 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/08/54/image_10122025_08_55_05_9957.jpg', 2), ('/home/nano/Desktop/images/10122025/08/54/image_10122025_08_54_35_9907.jpg', 2), ('/home/nano/Desktop/images/10122025/08/54/image_10122025_08_54_25_9962.jpg', 2), ('/home/nano/Desktop/images/10122025/08/54/image_10122025_08_54_15_10843.jpg', 2), ('/home/nano/Desktop/images/10122025/08/53/image_10122025_08_54_04_10012.jpg', 2), ('/home/nano/Desktop/images/10122025/08/53/image_10122025_08_53_54_9971.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 08:56:47.270421 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/08/54/image_10122025_08_55_05_9957.jpg', 2), ('/home/nano/Desktop/images/10122025/08/54/image_10122025_08_54_35_9907.jpg', 2), ('/home/nano/Desktop/images/10122025/08/54/image_10122025_08_54_25_9962.jpg', 2), ('/home/nano/Desktop/images/10122025/08/54/image_10122025_08_54_15_10843.jpg', 2), ('/home/nano/Desktop/images/10122025/08/53/image_10122025_08_54_04_10012.jpg', 2), ('/home/nano/Desktop/images/10122025/08/53/image_10122025_08_53_54_9971.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 08:57:17.394825 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/08/57/image_10122025_08_57_45_9928.jpg', 2), ('/home/nano/Desktop/images/10122025/08/57/image_10122025_08_57_35_9786.jpg', 2), ('/home/nano/Desktop/images/10122025/08/57/image_10122025_08_57_25_9950.jpg', 2), ('/home/nano/Desktop/images/10122025/08/54/image_10122025_08_55_05_9957.jpg', 2), ('/home/nano/Desktop/images/10122025/08/54/image_10122025_08_54_35_9907.jpg', 2), ('/home/nano/Desktop/images/10122025/08/54/image_10122025_08_54_25_9962.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 08:57:47.388418 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 08:58:02.736694 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/08/57/image_10122025_08_57_45_9928.jpg', 2), ('/home/nano/Desktop/images/10122025/08/57/image_10122025_08_57_35_9786.jpg', 2), ('/home/nano/Desktop/images/10122025/08/57/image_10122025_08_57_25_9950.jpg', 2), ('/home/nano/Desktop/images/10122025/08/54/image_10122025_08_55_05_9957.jpg', 2), ('/home/nano/Desktop/images/10122025/08/54/image_10122025_08_54_35_9907.jpg', 2), ('/home/nano/Desktop/images/10122025/08/54/image_10122025_08_54_25_9962.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 08:58:47.502337 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/08/57/image_10122025_08_57_45_9928.jpg', 2), ('/home/nano/Desktop/images/10122025/08/57/image_10122025_08_57_35_9786.jpg', 2), ('/home/nano/Desktop/images/10122025/08/57/image_10122025_08_57_25_9950.jpg', 2), ('/home/nano/Desktop/images/10122025/08/54/image_10122025_08_55_05_9957.jpg', 2), ('/home/nano/Desktop/images/10122025/08/54/image_10122025_08_54_35_9907.jpg', 2), ('/home/nano/Desktop/images/10122025/08/54/image_10122025_08_54_25_9962.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 08:59:17.620285 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/08/58/image_10122025_08_58_55_10654.jpg', 2), ('/home/nano/Desktop/images/10122025/08/58/image_10122025_08_58_25_10648.jpg', 2), ('/home/nano/Desktop/images/10122025/08/58/image_10122025_08_58_14_9749.jpg', 2), ('/home/nano/Desktop/images/10122025/08/57/image_10122025_08_58_05_9915.jpg', 2), ('/home/nano/Desktop/images/10122025/08/57/image_10122025_08_57_55_9973.jpg', 2), ('/home/nano/Desktop/images/10122025/08/57/image_10122025_08_57_45_9928.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 08:59:47.619187 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/08/58/image_10122025_08_58_55_10654.jpg', 2), ('/home/nano/Desktop/images/10122025/08/58/image_10122025_08_58_25_10648.jpg', 2), ('/home/nano/Desktop/images/10122025/08/58/image_10122025_08_58_14_9749.jpg', 2), ('/home/nano/Desktop/images/10122025/08/57/image_10122025_08_58_05_9915.jpg', 2), ('/home/nano/Desktop/images/10122025/08/57/image_10122025_08_57_55_9973.jpg', 2), ('/home/nano/Desktop/images/10122025/08/57/image_10122025_08_57_45_9928.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 09:00:17.725136 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/09/00/image_10122025_09_00_45_10633.jpg', 2), ('/home/nano/Desktop/images/10122025/09/00/image_10122025_09_00_34_9627.jpg', 2), ('/home/nano/Desktop/images/10122025/08/58/image_10122025_08_59_05_9641.jpg', 2), ('/home/nano/Desktop/images/10122025/08/58/image_10122025_08_58_55_10654.jpg', 2), ('/home/nano/Desktop/images/10122025/08/58/image_10122025_08_58_25_10648.jpg', 2), ('/home/nano/Desktop/images/10122025/08/58/image_10122025_08_58_14_9749.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 09:00:47.720782 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/09/00/image_10122025_09_00_45_10633.jpg', 2), ('/home/nano/Desktop/images/10122025/09/00/image_10122025_09_00_34_9627.jpg', 2), ('/home/nano/Desktop/images/10122025/08/58/image_10122025_08_59_05_9641.jpg', 2), ('/home/nano/Desktop/images/10122025/08/58/image_10122025_08_58_55_10654.jpg', 2), ('/home/nano/Desktop/images/10122025/08/58/image_10122025_08_58_25_10648.jpg', 2), ('/home/nano/Desktop/images/10122025/08/58/image_10122025_08_58_14_9749.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 09:01:16.838669 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/09/00/image_10122025_09_00_55_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/09/00/image_10122025_09_00_45_10633.jpg', 2), ('/home/nano/Desktop/images/10122025/09/00/image_10122025_09_00_34_9627.jpg', 2), ('/home/nano/Desktop/images/10122025/08/58/image_10122025_08_59_05_9641.jpg', 2), ('/home/nano/Desktop/images/10122025/08/58/image_10122025_08_58_55_10654.jpg', 2), ('/home/nano/Desktop/images/10122025/08/58/image_10122025_08_58_25_10648.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 09:01:46.925060 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/09/00/image_10122025_09_00_55_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/09/00/image_10122025_09_00_45_10633.jpg', 2), ('/home/nano/Desktop/images/10122025/09/00/image_10122025_09_00_34_9627.jpg', 2), ('/home/nano/Desktop/images/10122025/08/58/image_10122025_08_59_05_9641.jpg', 2), ('/home/nano/Desktop/images/10122025/08/58/image_10122025_08_58_55_10654.jpg', 2), ('/home/nano/Desktop/images/10122025/08/58/image_10122025_08_58_25_10648.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 09:02:16.992737 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/09/01/image_10122025_09_01_15_10670.jpg', 2), ('/home/nano/Desktop/images/10122025/09/00/image_10122025_09_00_55_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/09/00/image_10122025_09_00_45_10633.jpg', 2), ('/home/nano/Desktop/images/10122025/09/00/image_10122025_09_00_34_9627.jpg', 2), ('/home/nano/Desktop/images/10122025/08/58/image_10122025_08_59_05_9641.jpg', 2), ('/home/nano/Desktop/images/10122025/08/58/image_10122025_08_58_55_10654.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 09:02:46.987131 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/09/01/image_10122025_09_01_15_10670.jpg', 2), ('/home/nano/Desktop/images/10122025/09/00/image_10122025_09_00_55_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/09/00/image_10122025_09_00_45_10633.jpg', 2), ('/home/nano/Desktop/images/10122025/09/00/image_10122025_09_00_34_9627.jpg', 2), ('/home/nano/Desktop/images/10122025/08/58/image_10122025_08_59_05_9641.jpg', 2), ('/home/nano/Desktop/images/10122025/08/58/image_10122025_08_58_55_10654.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 09:03:17.085942 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/09/03/image_10122025_09_03_44_9661.jpg', 2), ('/home/nano/Desktop/images/10122025/09/03/image_10122025_09_03_35_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/09/03/image_10122025_09_03_25_10585.jpg', 2), ('/home/nano/Desktop/images/10122025/09/03/image_10122025_09_03_14_9625.jpg', 2), ('/home/nano/Desktop/images/10122025/09/02/image_10122025_09_03_05_10655.jpg', 2), ('/home/nano/Desktop/images/10122025/09/02/image_10122025_09_02_44_9619.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 09:03:47.107891 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/09/03/image_10122025_09_03_44_9661.jpg', 2), ('/home/nano/Desktop/images/10122025/09/03/image_10122025_09_03_35_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/09/03/image_10122025_09_03_25_10585.jpg', 2), ('/home/nano/Desktop/images/10122025/09/03/image_10122025_09_03_14_9625.jpg', 2), ('/home/nano/Desktop/images/10122025/09/02/image_10122025_09_03_05_10655.jpg', 2), ('/home/nano/Desktop/images/10122025/09/02/image_10122025_09_02_44_9619.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 09:04:17.197589 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/09/04/image_10122025_09_04_44_9685.jpg', 2), ('/home/nano/Desktop/images/10122025/09/04/image_10122025_09_04_35_9699.jpg', 2), ('/home/nano/Desktop/images/10122025/09/04/image_10122025_09_04_25_10710.jpg', 2), ('/home/nano/Desktop/images/10122025/09/04/image_10122025_09_04_14_9692.jpg', 2), ('/home/nano/Desktop/images/10122025/09/03/image_10122025_09_04_04_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/09/03/image_10122025_09_03_55_10603.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 09:04:47.187517 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/09/04/image_10122025_09_04_44_9685.jpg', 2), ('/home/nano/Desktop/images/10122025/09/04/image_10122025_09_04_35_9699.jpg', 2), ('/home/nano/Desktop/images/10122025/09/04/image_10122025_09_04_25_10710.jpg', 2), ('/home/nano/Desktop/images/10122025/09/04/image_10122025_09_04_14_9692.jpg', 2), ('/home/nano/Desktop/images/10122025/09/03/image_10122025_09_04_04_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/09/03/image_10122025_09_03_55_10603.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 09:05:17.309923 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/09/05/image_10122025_09_05_44_9632.jpg', 2), ('/home/nano/Desktop/images/10122025/09/05/image_10122025_09_05_35_9647.jpg', 2), ('/home/nano/Desktop/images/10122025/09/05/image_10122025_09_05_25_10633.jpg', 2), ('/home/nano/Desktop/images/10122025/09/05/image_10122025_09_05_14_9670.jpg', 2), ('/home/nano/Desktop/images/10122025/09/04/image_10122025_09_05_05_9693.jpg', 2), ('/home/nano/Desktop/images/10122025/09/04/image_10122025_09_04_55_10665.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 09:05:47.296010 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/09/05/image_10122025_09_05_44_9632.jpg', 2), ('/home/nano/Desktop/images/10122025/09/05/image_10122025_09_05_35_9647.jpg', 2), ('/home/nano/Desktop/images/10122025/09/05/image_10122025_09_05_25_10633.jpg', 2), ('/home/nano/Desktop/images/10122025/09/05/image_10122025_09_05_14_9670.jpg', 2), ('/home/nano/Desktop/images/10122025/09/04/image_10122025_09_05_05_9693.jpg', 2), ('/home/nano/Desktop/images/10122025/09/04/image_10122025_09_04_55_10665.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 09:06:17.417332 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/09/06/image_10122025_09_06_55_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/09/06/image_10122025_09_06_35_9698.jpg', 2), ('/home/nano/Desktop/images/10122025/09/06/image_10122025_09_06_25_10710.jpg', 2), ('/home/nano/Desktop/images/10122025/09/06/image_10122025_09_06_14_9693.jpg', 2), ('/home/nano/Desktop/images/10122025/09/05/image_10122025_09_06_05_9695.jpg', 2), ('/home/nano/Desktop/images/10122025/09/05/image_10122025_09_05_55_10658.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 09:06:47.381103 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/09/06/image_10122025_09_06_55_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/09/06/image_10122025_09_06_35_9698.jpg', 2), ('/home/nano/Desktop/images/10122025/09/06/image_10122025_09_06_25_10710.jpg', 2), ('/home/nano/Desktop/images/10122025/09/06/image_10122025_09_06_14_9693.jpg', 2), ('/home/nano/Desktop/images/10122025/09/05/image_10122025_09_06_05_9695.jpg', 2), ('/home/nano/Desktop/images/10122025/09/05/image_10122025_09_05_55_10658.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 09:07:17.480581 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/09/07/image_10122025_09_07_45_10674.jpg', 2), ('/home/nano/Desktop/images/10122025/09/07/image_10122025_09_07_34_9691.jpg', 2), ('/home/nano/Desktop/images/10122025/09/07/image_10122025_09_07_25_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/09/07/image_10122025_09_07_14_9634.jpg', 2), ('/home/nano/Desktop/images/10122025/09/06/image_10122025_09_07_04_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/09/06/image_10122025_09_06_55_10615.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 09:07:47.476099 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/09/07/image_10122025_09_07_45_10674.jpg', 2), ('/home/nano/Desktop/images/10122025/09/07/image_10122025_09_07_34_9691.jpg', 2), ('/home/nano/Desktop/images/10122025/09/07/image_10122025_09_07_25_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/09/07/image_10122025_09_07_14_9634.jpg', 2), ('/home/nano/Desktop/images/10122025/09/06/image_10122025_09_07_04_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/09/06/image_10122025_09_06_55_10615.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 09:08:17.601869 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/09/08/image_10122025_09_08_45_10647.jpg', 2), ('/home/nano/Desktop/images/10122025/09/08/image_10122025_09_08_34_9631.jpg', 2), ('/home/nano/Desktop/images/10122025/09/08/image_10122025_09_08_25_9637.jpg', 2), ('/home/nano/Desktop/images/10122025/09/08/image_10122025_09_08_15_10659.jpg', 2), ('/home/nano/Desktop/images/10122025/09/07/image_10122025_09_08_04_9663.jpg', 2), ('/home/nano/Desktop/images/10122025/09/07/image_10122025_09_07_55_9621.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 09:08:47.566643 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/09/08/image_10122025_09_08_45_10647.jpg', 2), ('/home/nano/Desktop/images/10122025/09/08/image_10122025_09_08_34_9631.jpg', 2), ('/home/nano/Desktop/images/10122025/09/08/image_10122025_09_08_25_9637.jpg', 2), ('/home/nano/Desktop/images/10122025/09/08/image_10122025_09_08_15_10659.jpg', 2), ('/home/nano/Desktop/images/10122025/09/07/image_10122025_09_08_04_9663.jpg', 2), ('/home/nano/Desktop/images/10122025/09/07/image_10122025_09_07_55_9621.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 09:09:17.705449 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/09/09/image_10122025_09_09_45_10671.jpg', 2), ('/home/nano/Desktop/images/10122025/09/09/image_10122025_09_09_34_9637.jpg', 2), ('/home/nano/Desktop/images/10122025/09/09/image_10122025_09_09_25_9671.jpg', 2), ('/home/nano/Desktop/images/10122025/09/09/image_10122025_09_09_15_10671.jpg', 2), ('/home/nano/Desktop/images/10122025/09/08/image_10122025_09_09_04_9649.jpg', 2), ('/home/nano/Desktop/images/10122025/09/08/image_10122025_09_08_55_9605.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 09:09:47.762599 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/09/09/image_10122025_09_09_45_10671.jpg', 2), ('/home/nano/Desktop/images/10122025/09/09/image_10122025_09_09_34_9637.jpg', 2), ('/home/nano/Desktop/images/10122025/09/09/image_10122025_09_09_25_9671.jpg', 2), ('/home/nano/Desktop/images/10122025/09/09/image_10122025_09_09_15_10671.jpg', 2), ('/home/nano/Desktop/images/10122025/09/08/image_10122025_09_09_04_9649.jpg', 2), ('/home/nano/Desktop/images/10122025/09/08/image_10122025_09_08_55_9605.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 09:10:16.840018 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/09/10/image_10122025_09_10_45_10028.jpg', 2), ('/home/nano/Desktop/images/10122025/09/10/image_10122025_09_10_34_9670.jpg', 2), ('/home/nano/Desktop/images/10122025/09/10/image_10122025_09_10_25_10715.jpg', 2), ('/home/nano/Desktop/images/10122025/09/10/image_10122025_09_10_14_9763.jpg', 2), ('/home/nano/Desktop/images/10122025/09/09/image_10122025_09_10_04_9757.jpg', 2), ('/home/nano/Desktop/images/10122025/09/09/image_10122025_09_09_55_9735.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 09:10:46.852126 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/09/10/image_10122025_09_10_45_10028.jpg', 2), ('/home/nano/Desktop/images/10122025/09/10/image_10122025_09_10_34_9670.jpg', 2), ('/home/nano/Desktop/images/10122025/09/10/image_10122025_09_10_25_10715.jpg', 2), ('/home/nano/Desktop/images/10122025/09/10/image_10122025_09_10_14_9763.jpg', 2), ('/home/nano/Desktop/images/10122025/09/09/image_10122025_09_10_04_9757.jpg', 2), ('/home/nano/Desktop/images/10122025/09/09/image_10122025_09_09_55_9735.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 09:11:16.971723 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/09/11/image_10122025_09_11_45_10711.jpg', 2), ('/home/nano/Desktop/images/10122025/09/11/image_10122025_09_11_25_9765.jpg', 2), ('/home/nano/Desktop/images/10122025/09/11/image_10122025_09_11_15_9690.jpg', 2), ('/home/nano/Desktop/images/10122025/09/10/image_10122025_09_11_05_10708.jpg', 2), ('/home/nano/Desktop/images/10122025/09/10/image_10122025_09_10_54_9855.jpg', 2), ('/home/nano/Desktop/images/10122025/09/10/image_10122025_09_10_45_10028.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 09:11:46.979006 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/09/11/image_10122025_09_11_45_10711.jpg', 2), ('/home/nano/Desktop/images/10122025/09/11/image_10122025_09_11_25_9765.jpg', 2), ('/home/nano/Desktop/images/10122025/09/11/image_10122025_09_11_15_9690.jpg', 2), ('/home/nano/Desktop/images/10122025/09/10/image_10122025_09_11_05_10708.jpg', 2), ('/home/nano/Desktop/images/10122025/09/10/image_10122025_09_10_54_9855.jpg', 2), ('/home/nano/Desktop/images/10122025/09/10/image_10122025_09_10_45_10028.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 09:12:17.101824 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/09/12/image_10122025_09_12_44_9751.jpg', 2), ('/home/nano/Desktop/images/10122025/09/12/image_10122025_09_12_34_9748.jpg', 2), ('/home/nano/Desktop/images/10122025/09/12/image_10122025_09_12_25_9661.jpg', 2), ('/home/nano/Desktop/images/10122025/09/12/image_10122025_09_12_15_10702.jpg', 2), ('/home/nano/Desktop/images/10122025/09/11/image_10122025_09_12_04_9678.jpg', 2), ('/home/nano/Desktop/images/10122025/09/11/image_10122025_09_11_55_9676.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 09:12:47.086865 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/09/12/image_10122025_09_12_44_9751.jpg', 2), ('/home/nano/Desktop/images/10122025/09/12/image_10122025_09_12_34_9748.jpg', 2), ('/home/nano/Desktop/images/10122025/09/12/image_10122025_09_12_25_9661.jpg', 2), ('/home/nano/Desktop/images/10122025/09/12/image_10122025_09_12_15_10702.jpg', 2), ('/home/nano/Desktop/images/10122025/09/11/image_10122025_09_12_04_9678.jpg', 2), ('/home/nano/Desktop/images/10122025/09/11/image_10122025_09_11_55_9676.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 09:13:17.175138 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/09/13/image_10122025_09_13_44_9616.jpg', 2), ('/home/nano/Desktop/images/10122025/09/13/image_10122025_09_13_35_10700.jpg', 2), ('/home/nano/Desktop/images/10122025/09/13/image_10122025_09_13_24_9704.jpg', 2), ('/home/nano/Desktop/images/10122025/09/13/image_10122025_09_13_14_9730.jpg', 2), ('/home/nano/Desktop/images/10122025/09/12/image_10122025_09_13_05_9717.jpg', 2), ('/home/nano/Desktop/images/10122025/09/12/image_10122025_09_12_55_10762.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 09:13:47.167370 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/09/13/image_10122025_09_13_44_9616.jpg', 2), ('/home/nano/Desktop/images/10122025/09/13/image_10122025_09_13_35_10700.jpg', 2), ('/home/nano/Desktop/images/10122025/09/13/image_10122025_09_13_24_9704.jpg', 2), ('/home/nano/Desktop/images/10122025/09/13/image_10122025_09_13_14_9730.jpg', 2), ('/home/nano/Desktop/images/10122025/09/12/image_10122025_09_13_05_9717.jpg', 2), ('/home/nano/Desktop/images/10122025/09/12/image_10122025_09_12_55_10762.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 09:14:17.289086 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/09/14/image_10122025_09_14_45_9627.jpg', 2), ('/home/nano/Desktop/images/10122025/09/14/image_10122025_09_14_35_10719.jpg', 2), ('/home/nano/Desktop/images/10122025/09/14/image_10122025_09_14_24_9715.jpg', 2), ('/home/nano/Desktop/images/10122025/09/14/image_10122025_09_14_14_9732.jpg', 2), ('/home/nano/Desktop/images/10122025/09/13/image_10122025_09_14_05_9682.jpg', 2), ('/home/nano/Desktop/images/10122025/09/13/image_10122025_09_13_55_10650.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 09:14:47.297800 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/09/14/image_10122025_09_14_45_9627.jpg', 2), ('/home/nano/Desktop/images/10122025/09/14/image_10122025_09_14_35_10719.jpg', 2), ('/home/nano/Desktop/images/10122025/09/14/image_10122025_09_14_24_9715.jpg', 2), ('/home/nano/Desktop/images/10122025/09/14/image_10122025_09_14_14_9732.jpg', 2), ('/home/nano/Desktop/images/10122025/09/13/image_10122025_09_14_05_9682.jpg', 2), ('/home/nano/Desktop/images/10122025/09/13/image_10122025_09_13_55_10650.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 09:15:17.399587 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/09/15/image_10122025_09_15_45_10723.jpg', 2), ('/home/nano/Desktop/images/10122025/09/15/image_10122025_09_15_34_9697.jpg', 2), ('/home/nano/Desktop/images/10122025/09/15/image_10122025_09_15_24_9668.jpg', 2), ('/home/nano/Desktop/images/10122025/09/15/image_10122025_09_15_15_9757.jpg', 2), ('/home/nano/Desktop/images/10122025/09/14/image_10122025_09_15_05_10762.jpg', 2), ('/home/nano/Desktop/images/10122025/09/14/image_10122025_09_14_54_9741.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 09:15:47.393633 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/09/15/image_10122025_09_15_45_10723.jpg', 2), ('/home/nano/Desktop/images/10122025/09/15/image_10122025_09_15_34_9697.jpg', 2), ('/home/nano/Desktop/images/10122025/09/15/image_10122025_09_15_24_9668.jpg', 2), ('/home/nano/Desktop/images/10122025/09/15/image_10122025_09_15_15_9757.jpg', 2), ('/home/nano/Desktop/images/10122025/09/14/image_10122025_09_15_05_10762.jpg', 2), ('/home/nano/Desktop/images/10122025/09/14/image_10122025_09_14_54_9741.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 09:16:17.514200 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/09/16/image_10122025_09_16_44_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/09/16/image_10122025_09_16_34_9680.jpg', 2), ('/home/nano/Desktop/images/10122025/09/16/image_10122025_09_16_25_9707.jpg', 2), ('/home/nano/Desktop/images/10122025/09/16/image_10122025_09_16_15_10786.jpg', 2), ('/home/nano/Desktop/images/10122025/09/15/image_10122025_09_16_04_9774.jpg', 2), ('/home/nano/Desktop/images/10122025/09/15/image_10122025_09_15_55_9644.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 09:16:47.496053 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/09/16/image_10122025_09_16_44_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/09/16/image_10122025_09_16_34_9680.jpg', 2), ('/home/nano/Desktop/images/10122025/09/16/image_10122025_09_16_25_9707.jpg', 2), ('/home/nano/Desktop/images/10122025/09/16/image_10122025_09_16_15_10786.jpg', 2), ('/home/nano/Desktop/images/10122025/09/15/image_10122025_09_16_04_9774.jpg', 2), ('/home/nano/Desktop/images/10122025/09/15/image_10122025_09_15_55_9644.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 09:17:17.600433 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/09/17/image_10122025_09_17_45_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/09/17/image_10122025_09_17_34_9642.jpg', 2), ('/home/nano/Desktop/images/10122025/09/17/image_10122025_09_17_15_10679.jpg', 2), ('/home/nano/Desktop/images/10122025/09/16/image_10122025_09_17_04_9652.jpg', 2), ('/home/nano/Desktop/images/10122025/09/16/image_10122025_09_16_55_10650.jpg', 2), ('/home/nano/Desktop/images/10122025/09/16/image_10122025_09_16_44_9609.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 09:17:47.602378 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/09/17/image_10122025_09_17_45_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/09/17/image_10122025_09_17_34_9642.jpg', 2), ('/home/nano/Desktop/images/10122025/09/17/image_10122025_09_17_15_10679.jpg', 2), ('/home/nano/Desktop/images/10122025/09/16/image_10122025_09_17_04_9652.jpg', 2), ('/home/nano/Desktop/images/10122025/09/16/image_10122025_09_16_55_10650.jpg', 2), ('/home/nano/Desktop/images/10122025/09/16/image_10122025_09_16_44_9609.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 09:18:17.718450 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/09/18/image_10122025_09_18_45_10607.jpg', 2), ('/home/nano/Desktop/images/10122025/09/18/image_10122025_09_18_34_9602.jpg', 2), ('/home/nano/Desktop/images/10122025/09/18/image_10122025_09_18_25_9631.jpg', 2), ('/home/nano/Desktop/images/10122025/09/18/image_10122025_09_18_15_10637.jpg', 2), ('/home/nano/Desktop/images/10122025/09/17/image_10122025_09_18_04_9627.jpg', 2), ('/home/nano/Desktop/images/10122025/09/17/image_10122025_09_17_55_9723.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 09:18:47.658508 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/09/18/image_10122025_09_18_45_10607.jpg', 2), ('/home/nano/Desktop/images/10122025/09/18/image_10122025_09_18_34_9602.jpg', 2), ('/home/nano/Desktop/images/10122025/09/18/image_10122025_09_18_25_9631.jpg', 2), ('/home/nano/Desktop/images/10122025/09/18/image_10122025_09_18_15_10637.jpg', 2), ('/home/nano/Desktop/images/10122025/09/17/image_10122025_09_18_04_9627.jpg', 2), ('/home/nano/Desktop/images/10122025/09/17/image_10122025_09_17_55_9723.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 09:19:16.880894 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/09/19/image_10122025_09_19_45_9612.jpg', 2), ('/home/nano/Desktop/images/10122025/09/19/image_10122025_09_19_35_10628.jpg', 2), ('/home/nano/Desktop/images/10122025/09/19/image_10122025_09_19_24_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/09/19/image_10122025_09_19_15_10655.jpg', 2), ('/home/nano/Desktop/images/10122025/09/18/image_10122025_09_19_04_9636.jpg', 2), ('/home/nano/Desktop/images/10122025/09/18/image_10122025_09_18_54_9644.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 09:19:46.765450 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/09/19/image_10122025_09_19_45_9612.jpg', 2), ('/home/nano/Desktop/images/10122025/09/19/image_10122025_09_19_35_10628.jpg', 2), ('/home/nano/Desktop/images/10122025/09/19/image_10122025_09_19_24_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/09/19/image_10122025_09_19_15_10655.jpg', 2), ('/home/nano/Desktop/images/10122025/09/18/image_10122025_09_19_04_9636.jpg', 2), ('/home/nano/Desktop/images/10122025/09/18/image_10122025_09_18_54_9644.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 09:20:16.846400 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/09/20/image_10122025_09_20_35_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/09/20/image_10122025_09_20_24_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/09/20/image_10122025_09_20_14_9616.jpg', 2), ('/home/nano/Desktop/images/10122025/09/19/image_10122025_09_20_05_10626.jpg', 2), ('/home/nano/Desktop/images/10122025/09/19/image_10122025_09_19_54_9628.jpg', 2), ('/home/nano/Desktop/images/10122025/09/19/image_10122025_09_19_45_9612.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 09:20:46.882047 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/09/20/image_10122025_09_20_35_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/09/20/image_10122025_09_20_24_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/09/20/image_10122025_09_20_14_9616.jpg', 2), ('/home/nano/Desktop/images/10122025/09/19/image_10122025_09_20_05_10626.jpg', 2), ('/home/nano/Desktop/images/10122025/09/19/image_10122025_09_19_54_9628.jpg', 2), ('/home/nano/Desktop/images/10122025/09/19/image_10122025_09_19_45_9612.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 09:21:16.990819 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/09/21/image_10122025_09_21_45_10625.jpg', 2), ('/home/nano/Desktop/images/10122025/09/21/image_10122025_09_21_34_9595.jpg', 2), ('/home/nano/Desktop/images/10122025/09/21/image_10122025_09_21_25_10606.jpg', 2), ('/home/nano/Desktop/images/10122025/09/21/image_10122025_09_21_14_9600.jpg', 2), ('/home/nano/Desktop/images/10122025/09/20/image_10122025_09_21_05_9593.jpg', 2), ('/home/nano/Desktop/images/10122025/09/20/image_10122025_09_20_55_10607.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 09:21:47.007746 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/09/21/image_10122025_09_21_45_10625.jpg', 2), ('/home/nano/Desktop/images/10122025/09/21/image_10122025_09_21_34_9595.jpg', 2), ('/home/nano/Desktop/images/10122025/09/21/image_10122025_09_21_25_10606.jpg', 2), ('/home/nano/Desktop/images/10122025/09/21/image_10122025_09_21_14_9600.jpg', 2), ('/home/nano/Desktop/images/10122025/09/20/image_10122025_09_21_05_9593.jpg', 2), ('/home/nano/Desktop/images/10122025/09/20/image_10122025_09_20_55_10607.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 09:22:17.113479 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/09/22/image_10122025_09_22_45_9591.jpg', 2), ('/home/nano/Desktop/images/10122025/09/22/image_10122025_09_22_35_10607.jpg', 2), ('/home/nano/Desktop/images/10122025/09/22/image_10122025_09_22_24_9597.jpg', 2), ('/home/nano/Desktop/images/10122025/09/22/image_10122025_09_22_15_10620.jpg', 2), ('/home/nano/Desktop/images/10122025/09/21/image_10122025_09_22_04_9598.jpg', 2), ('/home/nano/Desktop/images/10122025/09/21/image_10122025_09_21_55_9610.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 09:22:47.093833 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/09/22/image_10122025_09_22_45_9591.jpg', 2), ('/home/nano/Desktop/images/10122025/09/22/image_10122025_09_22_35_10607.jpg', 2), ('/home/nano/Desktop/images/10122025/09/22/image_10122025_09_22_24_9597.jpg', 2), ('/home/nano/Desktop/images/10122025/09/22/image_10122025_09_22_15_10620.jpg', 2), ('/home/nano/Desktop/images/10122025/09/21/image_10122025_09_22_04_9598.jpg', 2), ('/home/nano/Desktop/images/10122025/09/21/image_10122025_09_21_55_9610.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 09:23:17.185755 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/09/23/image_10122025_09_23_44_9595.jpg', 2), ('/home/nano/Desktop/images/10122025/09/23/image_10122025_09_23_35_9589.jpg', 2), ('/home/nano/Desktop/images/10122025/09/23/image_10122025_09_23_25_10605.jpg', 2), ('/home/nano/Desktop/images/10122025/09/22/image_10122025_09_22_54_9596.jpg', 2), ('/home/nano/Desktop/images/10122025/09/22/image_10122025_09_22_45_9591.jpg', 2), ('/home/nano/Desktop/images/10122025/09/22/image_10122025_09_22_35_10607.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 09:23:47.201175 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/09/23/image_10122025_09_23_44_9595.jpg', 2), ('/home/nano/Desktop/images/10122025/09/23/image_10122025_09_23_35_9589.jpg', 2), ('/home/nano/Desktop/images/10122025/09/23/image_10122025_09_23_25_10605.jpg', 2), ('/home/nano/Desktop/images/10122025/09/22/image_10122025_09_22_54_9596.jpg', 2), ('/home/nano/Desktop/images/10122025/09/22/image_10122025_09_22_45_9591.jpg', 2), ('/home/nano/Desktop/images/10122025/09/22/image_10122025_09_22_35_10607.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 09:24:17.325488 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/09/24/image_10122025_09_24_45_10604.jpg', 2), ('/home/nano/Desktop/images/10122025/09/24/image_10122025_09_24_34_9595.jpg', 2), ('/home/nano/Desktop/images/10122025/09/24/image_10122025_09_24_25_9595.jpg', 2), ('/home/nano/Desktop/images/10122025/09/24/image_10122025_09_24_15_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/09/23/image_10122025_09_24_04_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/09/23/image_10122025_09_23_55_10604.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 09:24:47.297233 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/09/24/image_10122025_09_24_45_10604.jpg', 2), ('/home/nano/Desktop/images/10122025/09/24/image_10122025_09_24_34_9595.jpg', 2), ('/home/nano/Desktop/images/10122025/09/24/image_10122025_09_24_25_9595.jpg', 2), ('/home/nano/Desktop/images/10122025/09/24/image_10122025_09_24_15_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/09/23/image_10122025_09_24_04_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/09/23/image_10122025_09_23_55_10604.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 09:25:17.403734 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/09/25/image_10122025_09_25_44_9600.jpg', 2), ('/home/nano/Desktop/images/10122025/09/25/image_10122025_09_25_35_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/09/25/image_10122025_09_25_24_9599.jpg', 2), ('/home/nano/Desktop/images/10122025/09/25/image_10122025_09_25_15_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/09/24/image_10122025_09_25_05_10613.jpg', 2), ('/home/nano/Desktop/images/10122025/09/24/image_10122025_09_24_54_9616.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 09:25:47.410511 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/09/25/image_10122025_09_25_44_9600.jpg', 2), ('/home/nano/Desktop/images/10122025/09/25/image_10122025_09_25_35_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/09/25/image_10122025_09_25_24_9599.jpg', 2), ('/home/nano/Desktop/images/10122025/09/25/image_10122025_09_25_15_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/09/24/image_10122025_09_25_05_10613.jpg', 2), ('/home/nano/Desktop/images/10122025/09/24/image_10122025_09_24_54_9616.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 09:26:17.510130 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/09/26/image_10122025_09_26_44_9590.jpg', 2), ('/home/nano/Desktop/images/10122025/09/26/image_10122025_09_26_35_9599.jpg', 2), ('/home/nano/Desktop/images/10122025/09/26/image_10122025_09_26_25_10608.jpg', 2), ('/home/nano/Desktop/images/10122025/09/26/image_10122025_09_26_14_9632.jpg', 2), ('/home/nano/Desktop/images/10122025/09/25/image_10122025_09_26_05_9602.jpg', 2), ('/home/nano/Desktop/images/10122025/09/25/image_10122025_09_25_55_10602.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 09:26:47.515713 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/09/26/image_10122025_09_26_44_9590.jpg', 2), ('/home/nano/Desktop/images/10122025/09/26/image_10122025_09_26_35_9599.jpg', 2), ('/home/nano/Desktop/images/10122025/09/26/image_10122025_09_26_25_10608.jpg', 2), ('/home/nano/Desktop/images/10122025/09/26/image_10122025_09_26_14_9632.jpg', 2), ('/home/nano/Desktop/images/10122025/09/25/image_10122025_09_26_05_9602.jpg', 2), ('/home/nano/Desktop/images/10122025/09/25/image_10122025_09_25_55_10602.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 09:27:17.606126 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/09/27/image_10122025_09_27_45_10601.jpg', 2), ('/home/nano/Desktop/images/10122025/09/27/image_10122025_09_27_34_9594.jpg', 2), ('/home/nano/Desktop/images/10122025/09/27/image_10122025_09_27_25_9592.jpg', 2), ('/home/nano/Desktop/images/10122025/09/27/image_10122025_09_27_15_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/09/26/image_10122025_09_27_04_9594.jpg', 2), ('/home/nano/Desktop/images/10122025/09/26/image_10122025_09_26_55_10604.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 09:27:47.614458 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/09/27/image_10122025_09_27_45_10601.jpg', 2), ('/home/nano/Desktop/images/10122025/09/27/image_10122025_09_27_34_9594.jpg', 2), ('/home/nano/Desktop/images/10122025/09/27/image_10122025_09_27_25_9592.jpg', 2), ('/home/nano/Desktop/images/10122025/09/27/image_10122025_09_27_15_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/09/26/image_10122025_09_27_04_9594.jpg', 2), ('/home/nano/Desktop/images/10122025/09/26/image_10122025_09_26_55_10604.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 09:28:17.742156 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/09/28/image_10122025_09_28_44_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/09/28/image_10122025_09_28_35_10609.jpg', 2), ('/home/nano/Desktop/images/10122025/09/28/image_10122025_09_28_24_9592.jpg', 2), ('/home/nano/Desktop/images/10122025/09/28/image_10122025_09_28_15_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/09/27/image_10122025_09_28_05_10622.jpg', 2), ('/home/nano/Desktop/images/10122025/09/27/image_10122025_09_27_54_9596.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 09:28:47.737767 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/09/28/image_10122025_09_28_44_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/09/28/image_10122025_09_28_35_10609.jpg', 2), ('/home/nano/Desktop/images/10122025/09/28/image_10122025_09_28_24_9592.jpg', 2), ('/home/nano/Desktop/images/10122025/09/28/image_10122025_09_28_15_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/09/27/image_10122025_09_28_05_10622.jpg', 2), ('/home/nano/Desktop/images/10122025/09/27/image_10122025_09_27_54_9596.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 09:29:16.843817 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/09/29/image_10122025_09_29_45_10607.jpg', 2), ('/home/nano/Desktop/images/10122025/09/29/image_10122025_09_29_34_9601.jpg', 2), ('/home/nano/Desktop/images/10122025/09/29/image_10122025_09_29_25_10625.jpg', 2), ('/home/nano/Desktop/images/10122025/09/29/image_10122025_09_29_14_9616.jpg', 2), ('/home/nano/Desktop/images/10122025/09/28/image_10122025_09_29_05_9613.jpg', 2), ('/home/nano/Desktop/images/10122025/09/28/image_10122025_09_28_55_10622.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 09:29:46.844207 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/09/29/image_10122025_09_29_45_10607.jpg', 2), ('/home/nano/Desktop/images/10122025/09/29/image_10122025_09_29_34_9601.jpg', 2), ('/home/nano/Desktop/images/10122025/09/29/image_10122025_09_29_25_10625.jpg', 2), ('/home/nano/Desktop/images/10122025/09/29/image_10122025_09_29_14_9616.jpg', 2), ('/home/nano/Desktop/images/10122025/09/28/image_10122025_09_29_05_9613.jpg', 2), ('/home/nano/Desktop/images/10122025/09/28/image_10122025_09_28_55_10622.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 09:30:16.970729 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/09/30/image_10122025_09_30_45_10677.jpg', 2), ('/home/nano/Desktop/images/10122025/09/30/image_10122025_09_30_34_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/09/30/image_10122025_09_30_25_9639.jpg', 2), ('/home/nano/Desktop/images/10122025/09/30/image_10122025_09_30_15_10620.jpg', 2), ('/home/nano/Desktop/images/10122025/09/29/image_10122025_09_30_04_9615.jpg', 2), ('/home/nano/Desktop/images/10122025/09/29/image_10122025_09_29_55_9592.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 09:30:46.912856 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/09/30/image_10122025_09_30_45_10677.jpg', 2), ('/home/nano/Desktop/images/10122025/09/30/image_10122025_09_30_34_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/09/30/image_10122025_09_30_25_9639.jpg', 2), ('/home/nano/Desktop/images/10122025/09/30/image_10122025_09_30_15_10620.jpg', 2), ('/home/nano/Desktop/images/10122025/09/29/image_10122025_09_30_04_9615.jpg', 2), ('/home/nano/Desktop/images/10122025/09/29/image_10122025_09_29_55_9592.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 09:31:17.005227 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/09/31/image_10122025_09_31_45_10775.jpg', 2), ('/home/nano/Desktop/images/10122025/09/31/image_10122025_09_31_34_9661.jpg', 2), ('/home/nano/Desktop/images/10122025/09/31/image_10122025_09_31_25_9680.jpg', 2), ('/home/nano/Desktop/images/10122025/09/31/image_10122025_09_31_15_10657.jpg', 2), ('/home/nano/Desktop/images/10122025/09/30/image_10122025_09_31_04_9729.jpg', 2), ('/home/nano/Desktop/images/10122025/09/30/image_10122025_09_30_54_9668.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 09:31:47.026735 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/09/31/image_10122025_09_31_45_10775.jpg', 2), ('/home/nano/Desktop/images/10122025/09/31/image_10122025_09_31_34_9661.jpg', 2), ('/home/nano/Desktop/images/10122025/09/31/image_10122025_09_31_25_9680.jpg', 2), ('/home/nano/Desktop/images/10122025/09/31/image_10122025_09_31_15_10657.jpg', 2), ('/home/nano/Desktop/images/10122025/09/30/image_10122025_09_31_04_9729.jpg', 2), ('/home/nano/Desktop/images/10122025/09/30/image_10122025_09_30_54_9668.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 09:32:17.124415 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/09/32/image_10122025_09_32_44_9675.jpg', 2), ('/home/nano/Desktop/images/10122025/09/32/image_10122025_09_32_35_9748.jpg', 2), ('/home/nano/Desktop/images/10122025/09/32/image_10122025_09_32_25_10779.jpg', 2), ('/home/nano/Desktop/images/10122025/09/32/image_10122025_09_32_14_9780.jpg', 2), ('/home/nano/Desktop/images/10122025/09/31/image_10122025_09_32_04_9701.jpg', 2), ('/home/nano/Desktop/images/10122025/09/31/image_10122025_09_31_55_9663.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 09:32:47.116572 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/09/32/image_10122025_09_32_44_9675.jpg', 2), ('/home/nano/Desktop/images/10122025/09/32/image_10122025_09_32_35_9748.jpg', 2), ('/home/nano/Desktop/images/10122025/09/32/image_10122025_09_32_25_10779.jpg', 2), ('/home/nano/Desktop/images/10122025/09/32/image_10122025_09_32_14_9780.jpg', 2), ('/home/nano/Desktop/images/10122025/09/31/image_10122025_09_32_04_9701.jpg', 2), ('/home/nano/Desktop/images/10122025/09/31/image_10122025_09_31_55_9663.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 09:33:17.254877 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/09/33/image_10122025_09_33_45_9750.jpg', 2), ('/home/nano/Desktop/images/10122025/09/33/image_10122025_09_33_35_10655.jpg', 2), ('/home/nano/Desktop/images/10122025/09/33/image_10122025_09_33_24_9769.jpg', 2), ('/home/nano/Desktop/images/10122025/09/33/image_10122025_09_33_15_9745.jpg', 2), ('/home/nano/Desktop/images/10122025/09/32/image_10122025_09_33_05_10695.jpg', 2), ('/home/nano/Desktop/images/10122025/09/32/image_10122025_09_32_54_9783.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 09:33:47.220903 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/09/33/image_10122025_09_33_45_9750.jpg', 2), ('/home/nano/Desktop/images/10122025/09/33/image_10122025_09_33_35_10655.jpg', 2), ('/home/nano/Desktop/images/10122025/09/33/image_10122025_09_33_24_9769.jpg', 2), ('/home/nano/Desktop/images/10122025/09/33/image_10122025_09_33_15_9745.jpg', 2), ('/home/nano/Desktop/images/10122025/09/32/image_10122025_09_33_05_10695.jpg', 2), ('/home/nano/Desktop/images/10122025/09/32/image_10122025_09_32_54_9783.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 09:34:17.361098 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/09/34/image_10122025_09_34_45_9645.jpg', 2), ('/home/nano/Desktop/images/10122025/09/34/image_10122025_09_34_35_10763.jpg', 2), ('/home/nano/Desktop/images/10122025/09/34/image_10122025_09_34_24_9643.jpg', 2), ('/home/nano/Desktop/images/10122025/09/34/image_10122025_09_34_15_9651.jpg', 2), ('/home/nano/Desktop/images/10122025/09/33/image_10122025_09_34_05_10657.jpg', 2), ('/home/nano/Desktop/images/10122025/09/33/image_10122025_09_33_54_9628.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 09:34:47.348757 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/09/34/image_10122025_09_34_45_9645.jpg', 2), ('/home/nano/Desktop/images/10122025/09/34/image_10122025_09_34_35_10763.jpg', 2), ('/home/nano/Desktop/images/10122025/09/34/image_10122025_09_34_24_9643.jpg', 2), ('/home/nano/Desktop/images/10122025/09/34/image_10122025_09_34_15_9651.jpg', 2), ('/home/nano/Desktop/images/10122025/09/33/image_10122025_09_34_05_10657.jpg', 2), ('/home/nano/Desktop/images/10122025/09/33/image_10122025_09_33_54_9628.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 09:35:17.424595 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/09/35/image_10122025_09_35_44_9703.jpg', 2), ('/home/nano/Desktop/images/10122025/09/35/image_10122025_09_35_34_9645.jpg', 2), ('/home/nano/Desktop/images/10122025/09/35/image_10122025_09_35_25_9765.jpg', 2), ('/home/nano/Desktop/images/10122025/09/35/image_10122025_09_35_15_10816.jpg', 2), ('/home/nano/Desktop/images/10122025/09/34/image_10122025_09_35_04_9773.jpg', 2), ('/home/nano/Desktop/images/10122025/09/34/image_10122025_09_34_54_9683.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 09:35:47.449936 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/09/35/image_10122025_09_35_44_9703.jpg', 2), ('/home/nano/Desktop/images/10122025/09/35/image_10122025_09_35_34_9645.jpg', 2), ('/home/nano/Desktop/images/10122025/09/35/image_10122025_09_35_25_9765.jpg', 2), ('/home/nano/Desktop/images/10122025/09/35/image_10122025_09_35_15_10816.jpg', 2), ('/home/nano/Desktop/images/10122025/09/34/image_10122025_09_35_04_9773.jpg', 2), ('/home/nano/Desktop/images/10122025/09/34/image_10122025_09_34_54_9683.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 09:36:17.531410 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/09/36/image_10122025_09_36_44_9663.jpg', 2), ('/home/nano/Desktop/images/10122025/09/36/image_10122025_09_36_35_9784.jpg', 2), ('/home/nano/Desktop/images/10122025/09/36/image_10122025_09_36_25_9672.jpg', 2), ('/home/nano/Desktop/images/10122025/09/36/image_10122025_09_36_15_10644.jpg', 2), ('/home/nano/Desktop/images/10122025/09/35/image_10122025_09_36_04_9679.jpg', 2), ('/home/nano/Desktop/images/10122025/09/35/image_10122025_09_35_55_10630.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 09:36:47.549820 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/09/36/image_10122025_09_36_44_9663.jpg', 2), ('/home/nano/Desktop/images/10122025/09/36/image_10122025_09_36_35_9784.jpg', 2), ('/home/nano/Desktop/images/10122025/09/36/image_10122025_09_36_25_9672.jpg', 2), ('/home/nano/Desktop/images/10122025/09/36/image_10122025_09_36_15_10644.jpg', 2), ('/home/nano/Desktop/images/10122025/09/35/image_10122025_09_36_04_9679.jpg', 2), ('/home/nano/Desktop/images/10122025/09/35/image_10122025_09_35_55_10630.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 09:37:17.658841 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/09/37/image_10122025_09_37_45_9744.jpg', 2), ('/home/nano/Desktop/images/10122025/09/37/image_10122025_09_37_24_9737.jpg', 2), ('/home/nano/Desktop/images/10122025/09/37/image_10122025_09_37_14_9781.jpg', 2), ('/home/nano/Desktop/images/10122025/09/36/image_10122025_09_37_05_9696.jpg', 2), ('/home/nano/Desktop/images/10122025/09/36/image_10122025_09_36_55_10782.jpg', 2), ('/home/nano/Desktop/images/10122025/09/36/image_10122025_09_36_44_9663.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 09:37:47.670590 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/09/37/image_10122025_09_37_45_9744.jpg', 2), ('/home/nano/Desktop/images/10122025/09/37/image_10122025_09_37_24_9737.jpg', 2), ('/home/nano/Desktop/images/10122025/09/37/image_10122025_09_37_14_9781.jpg', 2), ('/home/nano/Desktop/images/10122025/09/36/image_10122025_09_37_05_9696.jpg', 2), ('/home/nano/Desktop/images/10122025/09/36/image_10122025_09_36_55_10782.jpg', 2), ('/home/nano/Desktop/images/10122025/09/36/image_10122025_09_36_44_9663.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 09:38:16.776768 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/09/38/image_10122025_09_38_34_9743.jpg', 2), ('/home/nano/Desktop/images/10122025/09/38/image_10122025_09_38_25_9741.jpg', 2), ('/home/nano/Desktop/images/10122025/09/38/image_10122025_09_38_15_10778.jpg', 2), ('/home/nano/Desktop/images/10122025/09/37/image_10122025_09_38_04_9729.jpg', 2), ('/home/nano/Desktop/images/10122025/09/37/image_10122025_09_37_54_9760.jpg', 2), ('/home/nano/Desktop/images/10122025/09/37/image_10122025_09_37_45_9744.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 09:38:46.748066 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/09/38/image_10122025_09_38_34_9743.jpg', 2), ('/home/nano/Desktop/images/10122025/09/38/image_10122025_09_38_25_9741.jpg', 2), ('/home/nano/Desktop/images/10122025/09/38/image_10122025_09_38_15_10778.jpg', 2), ('/home/nano/Desktop/images/10122025/09/37/image_10122025_09_38_04_9729.jpg', 2), ('/home/nano/Desktop/images/10122025/09/37/image_10122025_09_37_54_9760.jpg', 2), ('/home/nano/Desktop/images/10122025/09/37/image_10122025_09_37_45_9744.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 09:39:16.873199 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/09/39/image_10122025_09_39_45_9742.jpg', 2), ('/home/nano/Desktop/images/10122025/09/39/image_10122025_09_39_35_10750.jpg', 2), ('/home/nano/Desktop/images/10122025/09/39/image_10122025_09_39_24_9744.jpg', 2), ('/home/nano/Desktop/images/10122025/09/39/image_10122025_09_39_14_9751.jpg', 2), ('/home/nano/Desktop/images/10122025/09/38/image_10122025_09_39_05_9758.jpg', 2), ('/home/nano/Desktop/images/10122025/09/38/image_10122025_09_38_55_10742.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 09:39:46.881132 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/09/39/image_10122025_09_39_45_9742.jpg', 2), ('/home/nano/Desktop/images/10122025/09/39/image_10122025_09_39_35_10750.jpg', 2), ('/home/nano/Desktop/images/10122025/09/39/image_10122025_09_39_24_9744.jpg', 2), ('/home/nano/Desktop/images/10122025/09/39/image_10122025_09_39_14_9751.jpg', 2), ('/home/nano/Desktop/images/10122025/09/38/image_10122025_09_39_05_9758.jpg', 2), ('/home/nano/Desktop/images/10122025/09/38/image_10122025_09_38_55_10742.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 09:40:16.971941 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/09/40/image_10122025_09_40_34_9739.jpg', 2), ('/home/nano/Desktop/images/10122025/09/40/image_10122025_09_40_25_9744.jpg', 2), ('/home/nano/Desktop/images/10122025/09/40/image_10122025_09_40_15_10779.jpg', 2), ('/home/nano/Desktop/images/10122025/09/39/image_10122025_09_39_54_9767.jpg', 2), ('/home/nano/Desktop/images/10122025/09/39/image_10122025_09_39_45_9742.jpg', 2), ('/home/nano/Desktop/images/10122025/09/39/image_10122025_09_39_35_10750.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 09:40:47.029860 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/09/40/image_10122025_09_40_34_9739.jpg', 2), ('/home/nano/Desktop/images/10122025/09/40/image_10122025_09_40_25_9744.jpg', 2), ('/home/nano/Desktop/images/10122025/09/40/image_10122025_09_40_15_10779.jpg', 2), ('/home/nano/Desktop/images/10122025/09/39/image_10122025_09_39_54_9767.jpg', 2), ('/home/nano/Desktop/images/10122025/09/39/image_10122025_09_39_45_9742.jpg', 2), ('/home/nano/Desktop/images/10122025/09/39/image_10122025_09_39_35_10750.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 09:41:17.138936 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/09/41/image_10122025_09_41_45_9740.jpg', 2), ('/home/nano/Desktop/images/10122025/09/41/image_10122025_09_41_35_10754.jpg', 2), ('/home/nano/Desktop/images/10122025/09/41/image_10122025_09_41_14_9745.jpg', 2), ('/home/nano/Desktop/images/10122025/09/40/image_10122025_09_41_05_9745.jpg', 2), ('/home/nano/Desktop/images/10122025/09/40/image_10122025_09_40_55_10756.jpg', 2), ('/home/nano/Desktop/images/10122025/09/40/image_10122025_09_40_34_9739.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 09:41:47.128400 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/09/41/image_10122025_09_41_45_9740.jpg', 2), ('/home/nano/Desktop/images/10122025/09/41/image_10122025_09_41_35_10754.jpg', 2), ('/home/nano/Desktop/images/10122025/09/41/image_10122025_09_41_14_9745.jpg', 2), ('/home/nano/Desktop/images/10122025/09/40/image_10122025_09_41_05_9745.jpg', 2), ('/home/nano/Desktop/images/10122025/09/40/image_10122025_09_40_55_10756.jpg', 2), ('/home/nano/Desktop/images/10122025/09/40/image_10122025_09_40_34_9739.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 09:42:17.230807 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/09/42/image_10122025_09_42_44_9744.jpg', 2), ('/home/nano/Desktop/images/10122025/09/42/image_10122025_09_42_34_9769.jpg', 2), ('/home/nano/Desktop/images/10122025/09/42/image_10122025_09_42_25_9743.jpg', 2), ('/home/nano/Desktop/images/10122025/09/42/image_10122025_09_42_15_10803.jpg', 2), ('/home/nano/Desktop/images/10122025/09/41/image_10122025_09_42_04_9751.jpg', 2), ('/home/nano/Desktop/images/10122025/09/41/image_10122025_09_41_54_9744.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 09:42:47.228588 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/09/42/image_10122025_09_42_44_9744.jpg', 2), ('/home/nano/Desktop/images/10122025/09/42/image_10122025_09_42_34_9769.jpg', 2), ('/home/nano/Desktop/images/10122025/09/42/image_10122025_09_42_25_9743.jpg', 2), ('/home/nano/Desktop/images/10122025/09/42/image_10122025_09_42_15_10803.jpg', 2), ('/home/nano/Desktop/images/10122025/09/41/image_10122025_09_42_04_9751.jpg', 2), ('/home/nano/Desktop/images/10122025/09/41/image_10122025_09_41_54_9744.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 09:43:17.332202 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/09/43/image_10122025_09_43_45_9744.jpg', 2), ('/home/nano/Desktop/images/10122025/09/43/image_10122025_09_43_35_10752.jpg', 2), ('/home/nano/Desktop/images/10122025/09/43/image_10122025_09_43_24_9740.jpg', 2), ('/home/nano/Desktop/images/10122025/09/43/image_10122025_09_43_14_9756.jpg', 2), ('/home/nano/Desktop/images/10122025/09/42/image_10122025_09_43_05_9760.jpg', 2), ('/home/nano/Desktop/images/10122025/09/42/image_10122025_09_42_55_10757.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 09:43:47.332868 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/09/43/image_10122025_09_43_45_9744.jpg', 2), ('/home/nano/Desktop/images/10122025/09/43/image_10122025_09_43_35_10752.jpg', 2), ('/home/nano/Desktop/images/10122025/09/43/image_10122025_09_43_24_9740.jpg', 2), ('/home/nano/Desktop/images/10122025/09/43/image_10122025_09_43_14_9756.jpg', 2), ('/home/nano/Desktop/images/10122025/09/42/image_10122025_09_43_05_9760.jpg', 2), ('/home/nano/Desktop/images/10122025/09/42/image_10122025_09_42_55_10757.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 09:44:17.457622 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/09/44/image_10122025_09_44_44_9740.jpg', 2), ('/home/nano/Desktop/images/10122025/09/44/image_10122025_09_44_35_9747.jpg', 2), ('/home/nano/Desktop/images/10122025/09/44/image_10122025_09_44_25_9745.jpg', 2), ('/home/nano/Desktop/images/10122025/09/43/image_10122025_09_44_04_9754.jpg', 2), ('/home/nano/Desktop/images/10122025/09/43/image_10122025_09_43_54_9762.jpg', 2), ('/home/nano/Desktop/images/10122025/09/43/image_10122025_09_43_45_9744.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 09:44:47.437844 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/09/44/image_10122025_09_44_44_9740.jpg', 2), ('/home/nano/Desktop/images/10122025/09/44/image_10122025_09_44_35_9747.jpg', 2), ('/home/nano/Desktop/images/10122025/09/44/image_10122025_09_44_25_9745.jpg', 2), ('/home/nano/Desktop/images/10122025/09/43/image_10122025_09_44_04_9754.jpg', 2), ('/home/nano/Desktop/images/10122025/09/43/image_10122025_09_43_54_9762.jpg', 2), ('/home/nano/Desktop/images/10122025/09/43/image_10122025_09_43_45_9744.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 09:45:17.540273 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/09/45/image_10122025_09_45_35_10752.jpg', 2), ('/home/nano/Desktop/images/10122025/09/45/image_10122025_09_45_24_9741.jpg', 2), ('/home/nano/Desktop/images/10122025/09/45/image_10122025_09_45_15_9779.jpg', 2), ('/home/nano/Desktop/images/10122025/09/44/image_10122025_09_45_05_9745.jpg', 2), ('/home/nano/Desktop/images/10122025/09/44/image_10122025_09_44_55_10753.jpg', 2), ('/home/nano/Desktop/images/10122025/09/44/image_10122025_09_44_44_9740.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 09:45:47.556826 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/09/45/image_10122025_09_45_35_10752.jpg', 2), ('/home/nano/Desktop/images/10122025/09/45/image_10122025_09_45_24_9741.jpg', 2), ('/home/nano/Desktop/images/10122025/09/45/image_10122025_09_45_15_9779.jpg', 2), ('/home/nano/Desktop/images/10122025/09/44/image_10122025_09_45_05_9745.jpg', 2), ('/home/nano/Desktop/images/10122025/09/44/image_10122025_09_44_55_10753.jpg', 2), ('/home/nano/Desktop/images/10122025/09/44/image_10122025_09_44_44_9740.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 09:46:17.673054 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/09/46/image_10122025_09_46_44_9667.jpg', 2), ('/home/nano/Desktop/images/10122025/09/46/image_10122025_09_46_34_9670.jpg', 2), ('/home/nano/Desktop/images/10122025/09/46/image_10122025_09_46_25_9745.jpg', 2), ('/home/nano/Desktop/images/10122025/09/46/image_10122025_09_46_15_10767.jpg', 2), ('/home/nano/Desktop/images/10122025/09/45/image_10122025_09_46_04_9761.jpg', 2), ('/home/nano/Desktop/images/10122025/09/45/image_10122025_09_45_55_9742.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 09:46:47.669564 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/09/46/image_10122025_09_46_44_9667.jpg', 2), ('/home/nano/Desktop/images/10122025/09/46/image_10122025_09_46_34_9670.jpg', 2), ('/home/nano/Desktop/images/10122025/09/46/image_10122025_09_46_25_9745.jpg', 2), ('/home/nano/Desktop/images/10122025/09/46/image_10122025_09_46_15_10767.jpg', 2), ('/home/nano/Desktop/images/10122025/09/45/image_10122025_09_46_04_9761.jpg', 2), ('/home/nano/Desktop/images/10122025/09/45/image_10122025_09_45_55_9742.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 09:47:17.776425 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/09/47/image_10122025_09_47_44_9665.jpg', 2), ('/home/nano/Desktop/images/10122025/09/47/image_10122025_09_47_34_9624.jpg', 2), ('/home/nano/Desktop/images/10122025/09/47/image_10122025_09_47_25_10642.jpg', 2), ('/home/nano/Desktop/images/10122025/09/47/image_10122025_09_47_14_9687.jpg', 2), ('/home/nano/Desktop/images/10122025/09/46/image_10122025_09_47_04_9664.jpg', 2), ('/home/nano/Desktop/images/10122025/09/46/image_10122025_09_46_55_10663.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 09:47:47.754670 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/09/47/image_10122025_09_47_44_9665.jpg', 2), ('/home/nano/Desktop/images/10122025/09/47/image_10122025_09_47_34_9624.jpg', 2), ('/home/nano/Desktop/images/10122025/09/47/image_10122025_09_47_25_10642.jpg', 2), ('/home/nano/Desktop/images/10122025/09/47/image_10122025_09_47_14_9687.jpg', 2), ('/home/nano/Desktop/images/10122025/09/46/image_10122025_09_47_04_9664.jpg', 2), ('/home/nano/Desktop/images/10122025/09/46/image_10122025_09_46_55_10663.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 09:48:16.878432 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/09/48/image_10122025_09_48_45_10637.jpg', 2), ('/home/nano/Desktop/images/10122025/09/48/image_10122025_09_48_34_9647.jpg', 2), ('/home/nano/Desktop/images/10122025/09/48/image_10122025_09_48_25_9595.jpg', 2), ('/home/nano/Desktop/images/10122025/09/48/image_10122025_09_48_15_10671.jpg', 2), ('/home/nano/Desktop/images/10122025/09/47/image_10122025_09_48_04_9642.jpg', 2), ('/home/nano/Desktop/images/10122025/09/47/image_10122025_09_47_55_10639.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 09:48:46.851030 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/09/48/image_10122025_09_48_45_10637.jpg', 2), ('/home/nano/Desktop/images/10122025/09/48/image_10122025_09_48_34_9647.jpg', 2), ('/home/nano/Desktop/images/10122025/09/48/image_10122025_09_48_25_9595.jpg', 2), ('/home/nano/Desktop/images/10122025/09/48/image_10122025_09_48_15_10671.jpg', 2), ('/home/nano/Desktop/images/10122025/09/47/image_10122025_09_48_04_9642.jpg', 2), ('/home/nano/Desktop/images/10122025/09/47/image_10122025_09_47_55_10639.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 09:49:16.963601 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/09/49/image_10122025_09_49_45_10640.jpg', 2), ('/home/nano/Desktop/images/10122025/09/49/image_10122025_09_49_34_9624.jpg', 2), ('/home/nano/Desktop/images/10122025/09/49/image_10122025_09_49_24_9633.jpg', 2), ('/home/nano/Desktop/images/10122025/09/49/image_10122025_09_49_15_10642.jpg', 2), ('/home/nano/Desktop/images/10122025/09/48/image_10122025_09_49_04_9653.jpg', 2), ('/home/nano/Desktop/images/10122025/09/48/image_10122025_09_48_55_9641.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 09:49:46.970295 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/09/49/image_10122025_09_49_45_10640.jpg', 2), ('/home/nano/Desktop/images/10122025/09/49/image_10122025_09_49_34_9624.jpg', 2), ('/home/nano/Desktop/images/10122025/09/49/image_10122025_09_49_24_9633.jpg', 2), ('/home/nano/Desktop/images/10122025/09/49/image_10122025_09_49_15_10642.jpg', 2), ('/home/nano/Desktop/images/10122025/09/48/image_10122025_09_49_04_9653.jpg', 2), ('/home/nano/Desktop/images/10122025/09/48/image_10122025_09_48_55_9641.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 09:50:17.144029 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/09/50/image_10122025_09_50_45_10738.jpg', 2), ('/home/nano/Desktop/images/10122025/09/50/image_10122025_09_50_34_9717.jpg', 2), ('/home/nano/Desktop/images/10122025/09/50/image_10122025_09_50_24_9743.jpg', 2), ('/home/nano/Desktop/images/10122025/09/50/image_10122025_09_50_15_9684.jpg', 2), ('/home/nano/Desktop/images/10122025/09/49/image_10122025_09_50_05_10675.jpg', 2), ('/home/nano/Desktop/images/10122025/09/49/image_10122025_09_49_54_9618.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 09:50:47.033497 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/09/50/image_10122025_09_50_45_10738.jpg', 2), ('/home/nano/Desktop/images/10122025/09/50/image_10122025_09_50_34_9717.jpg', 2), ('/home/nano/Desktop/images/10122025/09/50/image_10122025_09_50_24_9743.jpg', 2), ('/home/nano/Desktop/images/10122025/09/50/image_10122025_09_50_15_9684.jpg', 2), ('/home/nano/Desktop/images/10122025/09/49/image_10122025_09_50_05_10675.jpg', 2), ('/home/nano/Desktop/images/10122025/09/49/image_10122025_09_49_54_9618.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 09:51:17.150624 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/09/51/image_10122025_09_51_45_10664.jpg', 2), ('/home/nano/Desktop/images/10122025/09/51/image_10122025_09_51_34_9616.jpg', 2), ('/home/nano/Desktop/images/10122025/09/51/image_10122025_09_51_25_9689.jpg', 2), ('/home/nano/Desktop/images/10122025/09/51/image_10122025_09_51_15_10663.jpg', 2), ('/home/nano/Desktop/images/10122025/09/50/image_10122025_09_51_04_9729.jpg', 2), ('/home/nano/Desktop/images/10122025/09/50/image_10122025_09_50_55_9697.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 09:51:47.188562 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/09/51/image_10122025_09_51_45_10664.jpg', 2), ('/home/nano/Desktop/images/10122025/09/51/image_10122025_09_51_34_9616.jpg', 2), ('/home/nano/Desktop/images/10122025/09/51/image_10122025_09_51_25_9689.jpg', 2), ('/home/nano/Desktop/images/10122025/09/51/image_10122025_09_51_15_10663.jpg', 2), ('/home/nano/Desktop/images/10122025/09/50/image_10122025_09_51_04_9729.jpg', 2), ('/home/nano/Desktop/images/10122025/09/50/image_10122025_09_50_55_9697.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 09:52:17.300235 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/09/52/image_10122025_09_52_45_10635.jpg', 2), ('/home/nano/Desktop/images/10122025/09/52/image_10122025_09_52_34_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/09/52/image_10122025_09_52_25_9615.jpg', 2), ('/home/nano/Desktop/images/10122025/09/52/image_10122025_09_52_15_10633.jpg', 2), ('/home/nano/Desktop/images/10122025/09/51/image_10122025_09_52_04_9713.jpg', 2), ('/home/nano/Desktop/images/10122025/09/51/image_10122025_09_51_55_9631.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 09:52:47.403404 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/09/52/image_10122025_09_52_45_10635.jpg', 2), ('/home/nano/Desktop/images/10122025/09/52/image_10122025_09_52_34_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/09/52/image_10122025_09_52_25_9615.jpg', 2), ('/home/nano/Desktop/images/10122025/09/52/image_10122025_09_52_15_10633.jpg', 2), ('/home/nano/Desktop/images/10122025/09/51/image_10122025_09_52_04_9713.jpg', 2), ('/home/nano/Desktop/images/10122025/09/51/image_10122025_09_51_55_9631.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 09:53:17.487338 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/09/53/image_10122025_09_53_45_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/09/53/image_10122025_09_53_35_10625.jpg', 2), ('/home/nano/Desktop/images/10122025/09/53/image_10122025_09_53_24_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/09/53/image_10122025_09_53_15_10652.jpg', 2), ('/home/nano/Desktop/images/10122025/09/52/image_10122025_09_53_04_9625.jpg', 2), ('/home/nano/Desktop/images/10122025/09/52/image_10122025_09_52_54_9652.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 09:53:47.501321 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/09/53/image_10122025_09_53_45_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/09/53/image_10122025_09_53_35_10625.jpg', 2), ('/home/nano/Desktop/images/10122025/09/53/image_10122025_09_53_24_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/09/53/image_10122025_09_53_15_10652.jpg', 2), ('/home/nano/Desktop/images/10122025/09/52/image_10122025_09_53_04_9625.jpg', 2), ('/home/nano/Desktop/images/10122025/09/52/image_10122025_09_52_54_9652.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 09:54:17.593900 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/09/54/image_10122025_09_54_44_9646.jpg', 2), ('/home/nano/Desktop/images/10122025/09/54/image_10122025_09_54_35_10625.jpg', 2), ('/home/nano/Desktop/images/10122025/09/54/image_10122025_09_54_24_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/09/54/image_10122025_09_54_15_9658.jpg', 2), ('/home/nano/Desktop/images/10122025/09/53/image_10122025_09_54_05_10636.jpg', 2), ('/home/nano/Desktop/images/10122025/09/53/image_10122025_09_53_54_9644.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 09:54:47.615003 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/09/54/image_10122025_09_54_44_9646.jpg', 2), ('/home/nano/Desktop/images/10122025/09/54/image_10122025_09_54_35_10625.jpg', 2), ('/home/nano/Desktop/images/10122025/09/54/image_10122025_09_54_24_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/09/54/image_10122025_09_54_15_9658.jpg', 2), ('/home/nano/Desktop/images/10122025/09/53/image_10122025_09_54_05_10636.jpg', 2), ('/home/nano/Desktop/images/10122025/09/53/image_10122025_09_53_54_9644.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 09:55:17.709018 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/09/55/image_10122025_09_55_44_9598.jpg', 2), ('/home/nano/Desktop/images/10122025/09/55/image_10122025_09_55_35_9615.jpg', 2), ('/home/nano/Desktop/images/10122025/09/55/image_10122025_09_55_25_10622.jpg', 2), ('/home/nano/Desktop/images/10122025/09/55/image_10122025_09_55_14_9650.jpg', 2), ('/home/nano/Desktop/images/10122025/09/54/image_10122025_09_55_05_9651.jpg', 2), ('/home/nano/Desktop/images/10122025/09/54/image_10122025_09_54_55_10635.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 09:55:47.725913 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/09/55/image_10122025_09_55_44_9598.jpg', 2), ('/home/nano/Desktop/images/10122025/09/55/image_10122025_09_55_35_9615.jpg', 2), ('/home/nano/Desktop/images/10122025/09/55/image_10122025_09_55_25_10622.jpg', 2), ('/home/nano/Desktop/images/10122025/09/55/image_10122025_09_55_14_9650.jpg', 2), ('/home/nano/Desktop/images/10122025/09/54/image_10122025_09_55_05_9651.jpg', 2), ('/home/nano/Desktop/images/10122025/09/54/image_10122025_09_54_55_10635.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 09:56:16.817135 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/09/56/image_10122025_09_56_45_10622.jpg', 2), ('/home/nano/Desktop/images/10122025/09/56/image_10122025_09_56_34_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/09/56/image_10122025_09_56_25_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/09/56/image_10122025_09_56_14_9631.jpg', 2), ('/home/nano/Desktop/images/10122025/09/55/image_10122025_09_56_04_9631.jpg', 2), ('/home/nano/Desktop/images/10122025/09/55/image_10122025_09_55_55_10615.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 09:56:46.827455 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/09/56/image_10122025_09_56_45_10622.jpg', 2), ('/home/nano/Desktop/images/10122025/09/56/image_10122025_09_56_34_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/09/56/image_10122025_09_56_25_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/09/56/image_10122025_09_56_14_9631.jpg', 2), ('/home/nano/Desktop/images/10122025/09/55/image_10122025_09_56_04_9631.jpg', 2), ('/home/nano/Desktop/images/10122025/09/55/image_10122025_09_55_55_10615.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 09:57:16.928176 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/09/57/image_10122025_09_57_45_10625.jpg', 2), ('/home/nano/Desktop/images/10122025/09/57/image_10122025_09_57_34_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/09/57/image_10122025_09_57_24_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/09/57/image_10122025_09_57_15_10654.jpg', 2), ('/home/nano/Desktop/images/10122025/09/56/image_10122025_09_57_04_9628.jpg', 2), ('/home/nano/Desktop/images/10122025/09/56/image_10122025_09_56_55_9623.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 09:57:47.004708 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 09:59:03.156515 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/09/58/image_10122025_09_58_45_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/09/58/image_10122025_09_58_35_10641.jpg', 2), ('/home/nano/Desktop/images/10122025/09/58/image_10122025_09_58_24_9623.jpg', 2), ('/home/nano/Desktop/images/10122025/09/58/image_10122025_09_58_15_9624.jpg', 2), ('/home/nano/Desktop/images/10122025/09/57/image_10122025_09_58_05_10666.jpg', 2), ('/home/nano/Desktop/images/10122025/09/57/image_10122025_09_57_54_9611.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 09:59:32.111623 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/09/59/image_10122025_09_59_44_9625.jpg', 2), ('/home/nano/Desktop/images/10122025/09/59/image_10122025_09_59_35_9625.jpg', 2), ('/home/nano/Desktop/images/10122025/09/59/image_10122025_09_59_25_10634.jpg', 2), ('/home/nano/Desktop/images/10122025/09/59/image_10122025_09_59_14_9633.jpg', 2), ('/home/nano/Desktop/images/10122025/09/58/image_10122025_09_59_05_10631.jpg', 2), ('/home/nano/Desktop/images/10122025/09/58/image_10122025_09_58_54_9623.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 10:00:02.823257 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/09/59/image_10122025_09_59_44_9625.jpg', 2), ('/home/nano/Desktop/images/10122025/09/59/image_10122025_09_59_35_9625.jpg', 2), ('/home/nano/Desktop/images/10122025/09/59/image_10122025_09_59_25_10634.jpg', 2), ('/home/nano/Desktop/images/10122025/09/59/image_10122025_09_59_14_9633.jpg', 2), ('/home/nano/Desktop/images/10122025/09/58/image_10122025_09_59_05_10631.jpg', 2), ('/home/nano/Desktop/images/10122025/09/58/image_10122025_09_58_54_9623.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 10:00:32.247258 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/10/00/image_10122025_10_00_45_10622.jpg', 2), ('/home/nano/Desktop/images/10122025/10/00/image_10122025_10_00_34_9597.jpg', 2), ('/home/nano/Desktop/images/10122025/10/00/image_10122025_10_00_25_10621.jpg', 2), ('/home/nano/Desktop/images/10122025/10/00/image_10122025_10_00_14_9632.jpg', 2), ('/home/nano/Desktop/images/10122025/09/59/image_10122025_10_00_05_9649.jpg', 2), ('/home/nano/Desktop/images/10122025/09/59/image_10122025_09_59_55_10621.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 10:01:02.981909 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/10/00/image_10122025_10_01_04_9624.jpg', 2), ('/home/nano/Desktop/images/10122025/10/00/image_10122025_10_00_45_10622.jpg', 2), ('/home/nano/Desktop/images/10122025/10/00/image_10122025_10_00_34_9597.jpg', 2), ('/home/nano/Desktop/images/10122025/10/00/image_10122025_10_00_25_10621.jpg', 2), ('/home/nano/Desktop/images/10122025/10/00/image_10122025_10_00_14_9632.jpg', 2), ('/home/nano/Desktop/images/10122025/09/59/image_10122025_10_00_05_9649.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 10:01:32.317764 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/10/01/image_10122025_10_01_45_10631.jpg', 2), ('/home/nano/Desktop/images/10122025/10/01/image_10122025_10_01_34_9601.jpg', 2), ('/home/nano/Desktop/images/10122025/10/01/image_10122025_10_01_25_9599.jpg', 2), ('/home/nano/Desktop/images/10122025/10/01/image_10122025_10_01_15_10641.jpg', 2), ('/home/nano/Desktop/images/10122025/10/00/image_10122025_10_01_04_9624.jpg', 2), ('/home/nano/Desktop/images/10122025/10/00/image_10122025_10_00_55_9619.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 10:02:02.912342 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/10/01/image_10122025_10_01_45_10631.jpg', 2), ('/home/nano/Desktop/images/10122025/10/01/image_10122025_10_01_34_9601.jpg', 2), ('/home/nano/Desktop/images/10122025/10/01/image_10122025_10_01_25_9599.jpg', 2), ('/home/nano/Desktop/images/10122025/10/01/image_10122025_10_01_15_10641.jpg', 2), ('/home/nano/Desktop/images/10122025/10/00/image_10122025_10_01_04_9624.jpg', 2), ('/home/nano/Desktop/images/10122025/10/00/image_10122025_10_00_55_9619.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 10:02:32.518876 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/10/02/image_10122025_10_02_44_9612.jpg', 2), ('/home/nano/Desktop/images/10122025/10/02/image_10122025_10_02_35_10611.jpg', 2), ('/home/nano/Desktop/images/10122025/10/02/image_10122025_10_02_24_9603.jpg', 2), ('/home/nano/Desktop/images/10122025/10/02/image_10122025_10_02_15_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/10/01/image_10122025_10_02_05_10645.jpg', 2), ('/home/nano/Desktop/images/10122025/10/01/image_10122025_10_01_54_9607.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 10:03:03.352241 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/10/02/image_10122025_10_02_44_9612.jpg', 2), ('/home/nano/Desktop/images/10122025/10/02/image_10122025_10_02_35_10611.jpg', 2), ('/home/nano/Desktop/images/10122025/10/02/image_10122025_10_02_24_9603.jpg', 2), ('/home/nano/Desktop/images/10122025/10/02/image_10122025_10_02_15_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/10/01/image_10122025_10_02_05_10645.jpg', 2), ('/home/nano/Desktop/images/10122025/10/01/image_10122025_10_01_54_9607.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 10:03:32.541973 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/10/03/image_10122025_10_03_44_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/10/03/image_10122025_10_03_35_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/10/03/image_10122025_10_03_25_10612.jpg', 2), ('/home/nano/Desktop/images/10122025/10/03/image_10122025_10_03_14_9616.jpg', 2), ('/home/nano/Desktop/images/10122025/10/02/image_10122025_10_03_05_9637.jpg', 2), ('/home/nano/Desktop/images/10122025/10/02/image_10122025_10_02_55_10611.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 10:04:03.303086 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/10/03/image_10122025_10_03_44_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/10/03/image_10122025_10_03_35_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/10/03/image_10122025_10_03_25_10612.jpg', 2), ('/home/nano/Desktop/images/10122025/10/03/image_10122025_10_03_14_9616.jpg', 2), ('/home/nano/Desktop/images/10122025/10/02/image_10122025_10_03_05_9637.jpg', 2), ('/home/nano/Desktop/images/10122025/10/02/image_10122025_10_02_55_10611.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 10:04:32.631458 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/10/04/image_10122025_10_04_45_10610.jpg', 2), ('/home/nano/Desktop/images/10122025/10/04/image_10122025_10_04_34_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/10/04/image_10122025_10_04_25_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/10/04/image_10122025_10_04_15_10634.jpg', 2), ('/home/nano/Desktop/images/10122025/10/03/image_10122025_10_04_04_9616.jpg', 2), ('/home/nano/Desktop/images/10122025/10/03/image_10122025_10_03_55_10607.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 10:05:03.615345 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/10/04/image_10122025_10_04_45_10610.jpg', 2), ('/home/nano/Desktop/images/10122025/10/04/image_10122025_10_04_34_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/10/04/image_10122025_10_04_25_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/10/04/image_10122025_10_04_15_10634.jpg', 2), ('/home/nano/Desktop/images/10122025/10/03/image_10122025_10_04_04_9616.jpg', 2), ('/home/nano/Desktop/images/10122025/10/03/image_10122025_10_03_55_10607.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 10:05:32.768177 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/10/05/image_10122025_10_05_45_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/10/05/image_10122025_10_05_35_10612.jpg', 2), ('/home/nano/Desktop/images/10122025/10/05/image_10122025_10_05_24_9602.jpg', 2), ('/home/nano/Desktop/images/10122025/10/05/image_10122025_10_05_15_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/10/04/image_10122025_10_05_05_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/10/04/image_10122025_10_04_54_9598.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 10:06:02.269809 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/10/05/image_10122025_10_05_45_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/10/05/image_10122025_10_05_35_10612.jpg', 2), ('/home/nano/Desktop/images/10122025/10/05/image_10122025_10_05_24_9602.jpg', 2), ('/home/nano/Desktop/images/10122025/10/05/image_10122025_10_05_15_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/10/04/image_10122025_10_05_05_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/10/04/image_10122025_10_04_54_9598.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 10:06:31.939387 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/10/06/image_10122025_10_06_44_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/10/06/image_10122025_10_06_35_9602.jpg', 2), ('/home/nano/Desktop/images/10122025/10/06/image_10122025_10_06_25_10608.jpg', 2), ('/home/nano/Desktop/images/10122025/10/06/image_10122025_10_06_14_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/10/05/image_10122025_10_06_05_10635.jpg', 2), ('/home/nano/Desktop/images/10122025/10/05/image_10122025_10_05_54_9604.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 10:07:02.720970 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/10/06/image_10122025_10_06_44_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/10/06/image_10122025_10_06_35_9602.jpg', 2), ('/home/nano/Desktop/images/10122025/10/06/image_10122025_10_06_25_10608.jpg', 2), ('/home/nano/Desktop/images/10122025/10/06/image_10122025_10_06_14_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/10/05/image_10122025_10_06_05_10635.jpg', 2), ('/home/nano/Desktop/images/10122025/10/05/image_10122025_10_05_54_9604.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 10:07:31.977562 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/10/07/image_10122025_10_07_45_10625.jpg', 2), ('/home/nano/Desktop/images/10122025/10/07/image_10122025_10_07_34_9624.jpg', 2), ('/home/nano/Desktop/images/10122025/10/07/image_10122025_10_07_25_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/10/07/image_10122025_10_07_15_10629.jpg', 2), ('/home/nano/Desktop/images/10122025/10/06/image_10122025_10_07_04_9612.jpg', 2), ('/home/nano/Desktop/images/10122025/10/06/image_10122025_10_06_55_10609.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 10:08:02.713887 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/10/07/image_10122025_10_07_45_10625.jpg', 2), ('/home/nano/Desktop/images/10122025/10/07/image_10122025_10_07_34_9624.jpg', 2), ('/home/nano/Desktop/images/10122025/10/07/image_10122025_10_07_25_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/10/07/image_10122025_10_07_15_10629.jpg', 2), ('/home/nano/Desktop/images/10122025/10/06/image_10122025_10_07_04_9612.jpg', 2), ('/home/nano/Desktop/images/10122025/10/06/image_10122025_10_06_55_10609.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 10:08:32.101874 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/10/08/image_10122025_10_08_45_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/10/08/image_10122025_10_08_35_10611.jpg', 2), ('/home/nano/Desktop/images/10122025/10/08/image_10122025_10_08_24_9599.jpg', 2), ('/home/nano/Desktop/images/10122025/10/08/image_10122025_10_08_15_10625.jpg', 2), ('/home/nano/Desktop/images/10122025/10/07/image_10122025_10_08_04_9636.jpg', 2), ('/home/nano/Desktop/images/10122025/10/07/image_10122025_10_07_55_9599.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 10:09:03.192173 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/10/08/image_10122025_10_08_45_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/10/08/image_10122025_10_08_35_10611.jpg', 2), ('/home/nano/Desktop/images/10122025/10/08/image_10122025_10_08_24_9599.jpg', 2), ('/home/nano/Desktop/images/10122025/10/08/image_10122025_10_08_15_10625.jpg', 2), ('/home/nano/Desktop/images/10122025/10/07/image_10122025_10_08_04_9636.jpg', 2), ('/home/nano/Desktop/images/10122025/10/07/image_10122025_10_07_55_9599.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 10:09:32.260703 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/10/09/image_10122025_10_09_44_9627.jpg', 2), ('/home/nano/Desktop/images/10122025/10/09/image_10122025_10_09_35_9603.jpg', 2), ('/home/nano/Desktop/images/10122025/10/09/image_10122025_10_09_25_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/10/09/image_10122025_10_09_14_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/10/08/image_10122025_10_09_05_10623.jpg', 2), ('/home/nano/Desktop/images/10122025/10/08/image_10122025_10_08_54_9619.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 10:10:02.940528 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/10/09/image_10122025_10_09_44_9627.jpg', 2), ('/home/nano/Desktop/images/10122025/10/09/image_10122025_10_09_35_9603.jpg', 2), ('/home/nano/Desktop/images/10122025/10/09/image_10122025_10_09_25_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/10/09/image_10122025_10_09_14_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/10/08/image_10122025_10_09_05_10623.jpg', 2), ('/home/nano/Desktop/images/10122025/10/08/image_10122025_10_08_54_9619.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 10:10:32.419929 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/10/10/image_10122025_10_10_45_10619.jpg', 2), ('/home/nano/Desktop/images/10122025/10/10/image_10122025_10_10_34_9601.jpg', 2), ('/home/nano/Desktop/images/10122025/10/10/image_10122025_10_10_25_10638.jpg', 2), ('/home/nano/Desktop/images/10122025/10/10/image_10122025_10_10_14_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/10/09/image_10122025_10_10_05_9642.jpg', 2), ('/home/nano/Desktop/images/10122025/10/09/image_10122025_10_09_55_10628.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 10:11:03.304248 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/10/10/image_10122025_10_10_45_10619.jpg', 2), ('/home/nano/Desktop/images/10122025/10/10/image_10122025_10_10_34_9601.jpg', 2), ('/home/nano/Desktop/images/10122025/10/10/image_10122025_10_10_25_10638.jpg', 2), ('/home/nano/Desktop/images/10122025/10/10/image_10122025_10_10_14_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/10/09/image_10122025_10_10_05_9642.jpg', 2), ('/home/nano/Desktop/images/10122025/10/09/image_10122025_10_09_55_10628.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 10:11:32.534380 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/10/11/image_10122025_10_11_45_10693.jpg', 2), ('/home/nano/Desktop/images/10122025/10/11/image_10122025_10_11_34_9657.jpg', 2), ('/home/nano/Desktop/images/10122025/10/11/image_10122025_10_11_25_9638.jpg', 2), ('/home/nano/Desktop/images/10122025/10/11/image_10122025_10_11_15_10699.jpg', 2), ('/home/nano/Desktop/images/10122025/10/10/image_10122025_10_11_04_9709.jpg', 2), ('/home/nano/Desktop/images/10122025/10/10/image_10122025_10_10_55_9615.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 10:12:03.161852 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/10/11/image_10122025_10_11_45_10693.jpg', 2), ('/home/nano/Desktop/images/10122025/10/11/image_10122025_10_11_34_9657.jpg', 2), ('/home/nano/Desktop/images/10122025/10/11/image_10122025_10_11_25_9638.jpg', 2), ('/home/nano/Desktop/images/10122025/10/11/image_10122025_10_11_15_10699.jpg', 2), ('/home/nano/Desktop/images/10122025/10/10/image_10122025_10_11_04_9709.jpg', 2), ('/home/nano/Desktop/images/10122025/10/10/image_10122025_10_10_55_9615.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 10:12:32.648884 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/10/12/image_10122025_10_12_45_9778.jpg', 2), ('/home/nano/Desktop/images/10122025/10/12/image_10122025_10_12_35_10649.jpg', 2), ('/home/nano/Desktop/images/10122025/10/12/image_10122025_10_12_24_9796.jpg', 2), ('/home/nano/Desktop/images/10122025/10/12/image_10122025_10_12_14_9845.jpg', 2), ('/home/nano/Desktop/images/10122025/10/11/image_10122025_10_12_04_9661.jpg', 2), ('/home/nano/Desktop/images/10122025/10/11/image_10122025_10_11_55_9744.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 10:13:03.463201 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/10/12/image_10122025_10_12_45_9778.jpg', 2), ('/home/nano/Desktop/images/10122025/10/12/image_10122025_10_12_35_10649.jpg', 2), ('/home/nano/Desktop/images/10122025/10/12/image_10122025_10_12_24_9796.jpg', 2), ('/home/nano/Desktop/images/10122025/10/12/image_10122025_10_12_14_9845.jpg', 2), ('/home/nano/Desktop/images/10122025/10/11/image_10122025_10_12_04_9661.jpg', 2), ('/home/nano/Desktop/images/10122025/10/11/image_10122025_10_11_55_9744.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 10:13:32.753802 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/10/13/image_10122025_10_13_44_9825.jpg', 2), ('/home/nano/Desktop/images/10122025/10/13/image_10122025_10_13_34_9844.jpg', 2), ('/home/nano/Desktop/images/10122025/10/13/image_10122025_10_13_25_9651.jpg', 2), ('/home/nano/Desktop/images/10122025/10/13/image_10122025_10_13_15_9816.jpg', 2), ('/home/nano/Desktop/images/10122025/10/12/image_10122025_10_13_05_10695.jpg', 2), ('/home/nano/Desktop/images/10122025/10/12/image_10122025_10_12_54_9799.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 10:14:02.700834 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/10/13/image_10122025_10_13_44_9825.jpg', 2), ('/home/nano/Desktop/images/10122025/10/13/image_10122025_10_13_34_9844.jpg', 2), ('/home/nano/Desktop/images/10122025/10/13/image_10122025_10_13_25_9651.jpg', 2), ('/home/nano/Desktop/images/10122025/10/13/image_10122025_10_13_15_9816.jpg', 2), ('/home/nano/Desktop/images/10122025/10/12/image_10122025_10_13_05_10695.jpg', 2), ('/home/nano/Desktop/images/10122025/10/12/image_10122025_10_12_54_9799.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 10:14:31.878834 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/10/14/image_10122025_10_14_45_9701.jpg', 2), ('/home/nano/Desktop/images/10122025/10/14/image_10122025_10_14_35_10690.jpg', 2), ('/home/nano/Desktop/images/10122025/10/14/image_10122025_10_14_24_9797.jpg', 2), ('/home/nano/Desktop/images/10122025/10/14/image_10122025_10_14_15_9746.jpg', 2), ('/home/nano/Desktop/images/10122025/10/13/image_10122025_10_14_05_9828.jpg', 2), ('/home/nano/Desktop/images/10122025/10/13/image_10122025_10_13_55_10857.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 10:15:02.635055 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/10/14/image_10122025_10_14_45_9701.jpg', 2), ('/home/nano/Desktop/images/10122025/10/14/image_10122025_10_14_35_10690.jpg', 2), ('/home/nano/Desktop/images/10122025/10/14/image_10122025_10_14_24_9797.jpg', 2), ('/home/nano/Desktop/images/10122025/10/14/image_10122025_10_14_15_9746.jpg', 2), ('/home/nano/Desktop/images/10122025/10/13/image_10122025_10_14_05_9828.jpg', 2), ('/home/nano/Desktop/images/10122025/10/13/image_10122025_10_13_55_10857.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 10:15:32.023059 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/10/15/image_10122025_10_15_45_10620.jpg', 2), ('/home/nano/Desktop/images/10122025/10/15/image_10122025_10_15_34_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/10/15/image_10122025_10_15_25_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/10/15/image_10122025_10_15_15_10663.jpg', 2), ('/home/nano/Desktop/images/10122025/10/14/image_10122025_10_15_04_9712.jpg', 2), ('/home/nano/Desktop/images/10122025/10/14/image_10122025_10_14_55_9761.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 10:16:02.728885 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/10/15/image_10122025_10_15_45_10620.jpg', 2), ('/home/nano/Desktop/images/10122025/10/15/image_10122025_10_15_34_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/10/15/image_10122025_10_15_25_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/10/15/image_10122025_10_15_15_10663.jpg', 2), ('/home/nano/Desktop/images/10122025/10/14/image_10122025_10_15_04_9712.jpg', 2), ('/home/nano/Desktop/images/10122025/10/14/image_10122025_10_14_55_9761.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 10:16:32.166132 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/10/16/image_10122025_10_16_44_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/10/16/image_10122025_10_16_35_10638.jpg', 2), ('/home/nano/Desktop/images/10122025/10/16/image_10122025_10_16_24_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/10/16/image_10122025_10_16_15_9615.jpg', 2), ('/home/nano/Desktop/images/10122025/10/15/image_10122025_10_16_05_10637.jpg', 2), ('/home/nano/Desktop/images/10122025/10/15/image_10122025_10_15_54_9602.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 10:17:02.877211 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/10/16/image_10122025_10_16_44_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/10/16/image_10122025_10_16_35_10638.jpg', 2), ('/home/nano/Desktop/images/10122025/10/16/image_10122025_10_16_24_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/10/16/image_10122025_10_16_15_9615.jpg', 2), ('/home/nano/Desktop/images/10122025/10/15/image_10122025_10_16_05_10637.jpg', 2), ('/home/nano/Desktop/images/10122025/10/15/image_10122025_10_15_54_9602.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 10:17:32.249367 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/10/17/image_10122025_10_17_44_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/10/17/image_10122025_10_17_35_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/10/17/image_10122025_10_17_25_10642.jpg', 2), ('/home/nano/Desktop/images/10122025/10/17/image_10122025_10_17_14_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/10/16/image_10122025_10_16_54_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/10/16/image_10122025_10_16_44_9609.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 10:18:02.876623 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/10/17/image_10122025_10_17_44_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/10/17/image_10122025_10_17_35_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/10/17/image_10122025_10_17_25_10642.jpg', 2), ('/home/nano/Desktop/images/10122025/10/17/image_10122025_10_17_14_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/10/16/image_10122025_10_16_54_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/10/16/image_10122025_10_16_44_9609.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 10:18:32.312400 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/10/18/image_10122025_10_18_45_10619.jpg', 2), ('/home/nano/Desktop/images/10122025/10/18/image_10122025_10_18_34_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/10/18/image_10122025_10_18_25_10619.jpg', 2), ('/home/nano/Desktop/images/10122025/10/18/image_10122025_10_18_14_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/10/17/image_10122025_10_18_04_9638.jpg', 2), ('/home/nano/Desktop/images/10122025/10/17/image_10122025_10_17_55_10618.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 10:19:03.533977 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/10/19/image_10122025_10_19_24_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/10/18/image_10122025_10_18_45_10619.jpg', 2), ('/home/nano/Desktop/images/10122025/10/18/image_10122025_10_18_34_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/10/18/image_10122025_10_18_25_10619.jpg', 2), ('/home/nano/Desktop/images/10122025/10/18/image_10122025_10_18_14_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/10/17/image_10122025_10_18_04_9638.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 10:19:32.470994 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/10/19/image_10122025_10_19_45_9614.jpg', 2), ('/home/nano/Desktop/images/10122025/10/19/image_10122025_10_19_35_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/10/19/image_10122025_10_19_24_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/10/19/image_10122025_10_19_15_10648.jpg', 2), ('/home/nano/Desktop/images/10122025/10/18/image_10122025_10_19_04_9625.jpg', 2), ('/home/nano/Desktop/images/10122025/10/18/image_10122025_10_18_55_9606.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 10:20:03.008118 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/10/19/image_10122025_10_19_45_9614.jpg', 2), ('/home/nano/Desktop/images/10122025/10/19/image_10122025_10_19_35_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/10/19/image_10122025_10_19_24_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/10/19/image_10122025_10_19_15_10648.jpg', 2), ('/home/nano/Desktop/images/10122025/10/18/image_10122025_10_19_04_9625.jpg', 2), ('/home/nano/Desktop/images/10122025/10/18/image_10122025_10_18_55_9606.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 10:20:32.632987 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/10/20/image_10122025_10_20_44_9612.jpg', 2), ('/home/nano/Desktop/images/10122025/10/20/image_10122025_10_20_35_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/10/20/image_10122025_10_20_24_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/10/20/image_10122025_10_20_15_9627.jpg', 2), ('/home/nano/Desktop/images/10122025/10/19/image_10122025_10_20_05_10619.jpg', 2), ('/home/nano/Desktop/images/10122025/10/19/image_10122025_10_19_54_9611.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 10:21:02.530042 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/10/20/image_10122025_10_20_44_9612.jpg', 2), ('/home/nano/Desktop/images/10122025/10/20/image_10122025_10_20_35_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/10/20/image_10122025_10_20_24_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/10/20/image_10122025_10_20_15_9627.jpg', 2), ('/home/nano/Desktop/images/10122025/10/19/image_10122025_10_20_05_10619.jpg', 2), ('/home/nano/Desktop/images/10122025/10/19/image_10122025_10_19_54_9611.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 10:21:31.832766 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/10/21/image_10122025_10_21_34_9626.jpg', 2), ('/home/nano/Desktop/images/10122025/10/21/image_10122025_10_21_25_10631.jpg', 2), ('/home/nano/Desktop/images/10122025/10/21/image_10122025_10_21_14_9630.jpg', 2), ('/home/nano/Desktop/images/10122025/10/20/image_10122025_10_21_05_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/10/20/image_10122025_10_20_55_10624.jpg', 2), ('/home/nano/Desktop/images/10122025/10/20/image_10122025_10_20_44_9612.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 10:22:02.464646 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/10/21/image_10122025_10_21_34_9626.jpg', 2), ('/home/nano/Desktop/images/10122025/10/21/image_10122025_10_21_25_10631.jpg', 2), ('/home/nano/Desktop/images/10122025/10/21/image_10122025_10_21_14_9630.jpg', 2), ('/home/nano/Desktop/images/10122025/10/20/image_10122025_10_21_05_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/10/20/image_10122025_10_20_55_10624.jpg', 2), ('/home/nano/Desktop/images/10122025/10/20/image_10122025_10_20_44_9612.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 10:22:31.922084 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/10/22/image_10122025_10_22_45_10625.jpg', 2), ('/home/nano/Desktop/images/10122025/10/22/image_10122025_10_22_34_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/10/22/image_10122025_10_22_25_9612.jpg', 2), ('/home/nano/Desktop/images/10122025/10/22/image_10122025_10_22_15_10633.jpg', 2), ('/home/nano/Desktop/images/10122025/10/21/image_10122025_10_22_04_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/10/21/image_10122025_10_21_45_10614.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 10:23:02.794794 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/10/22/image_10122025_10_22_45_10625.jpg', 2), ('/home/nano/Desktop/images/10122025/10/22/image_10122025_10_22_34_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/10/22/image_10122025_10_22_25_9612.jpg', 2), ('/home/nano/Desktop/images/10122025/10/22/image_10122025_10_22_15_10633.jpg', 2), ('/home/nano/Desktop/images/10122025/10/21/image_10122025_10_22_04_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/10/21/image_10122025_10_21_45_10614.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 10:23:32.019245 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/10/23/image_10122025_10_23_44_9603.jpg', 2), ('/home/nano/Desktop/images/10122025/10/23/image_10122025_10_23_35_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/10/23/image_10122025_10_23_24_9603.jpg', 2), ('/home/nano/Desktop/images/10122025/10/23/image_10122025_10_23_15_9603.jpg', 2), ('/home/nano/Desktop/images/10122025/10/22/image_10122025_10_23_05_10657.jpg', 2), ('/home/nano/Desktop/images/10122025/10/22/image_10122025_10_22_54_9621.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 10:24:02.900429 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/10/23/image_10122025_10_23_44_9603.jpg', 2), ('/home/nano/Desktop/images/10122025/10/23/image_10122025_10_23_35_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/10/23/image_10122025_10_23_24_9603.jpg', 2), ('/home/nano/Desktop/images/10122025/10/23/image_10122025_10_23_15_9603.jpg', 2), ('/home/nano/Desktop/images/10122025/10/22/image_10122025_10_23_05_10657.jpg', 2), ('/home/nano/Desktop/images/10122025/10/22/image_10122025_10_22_54_9621.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 10:24:32.206048 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/10/24/image_10122025_10_24_44_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/10/24/image_10122025_10_24_35_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/10/24/image_10122025_10_24_25_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/10/24/image_10122025_10_24_14_9637.jpg', 2), ('/home/nano/Desktop/images/10122025/10/23/image_10122025_10_24_05_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/10/23/image_10122025_10_23_54_9604.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 10:25:02.937958 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/10/24/image_10122025_10_24_44_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/10/24/image_10122025_10_24_35_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/10/24/image_10122025_10_24_25_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/10/24/image_10122025_10_24_14_9637.jpg', 2), ('/home/nano/Desktop/images/10122025/10/23/image_10122025_10_24_05_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/10/23/image_10122025_10_23_54_9604.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 10:25:32.240834 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/10/25/image_10122025_10_25_45_10632.jpg', 2), ('/home/nano/Desktop/images/10122025/10/25/image_10122025_10_25_34_9628.jpg', 2), ('/home/nano/Desktop/images/10122025/10/25/image_10122025_10_25_25_9614.jpg', 2), ('/home/nano/Desktop/images/10122025/10/25/image_10122025_10_25_15_10647.jpg', 2), ('/home/nano/Desktop/images/10122025/10/24/image_10122025_10_25_04_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/10/24/image_10122025_10_24_55_10613.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 10:26:02.832030 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/10/25/image_10122025_10_25_45_10632.jpg', 2), ('/home/nano/Desktop/images/10122025/10/25/image_10122025_10_25_34_9628.jpg', 2), ('/home/nano/Desktop/images/10122025/10/25/image_10122025_10_25_25_9614.jpg', 2), ('/home/nano/Desktop/images/10122025/10/25/image_10122025_10_25_15_10647.jpg', 2), ('/home/nano/Desktop/images/10122025/10/24/image_10122025_10_25_04_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/10/24/image_10122025_10_24_55_10613.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 10:26:32.365524 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/10/26/image_10122025_10_26_45_10653.jpg', 2), ('/home/nano/Desktop/images/10122025/10/26/image_10122025_10_26_34_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/10/26/image_10122025_10_26_25_9644.jpg', 2), ('/home/nano/Desktop/images/10122025/10/26/image_10122025_10_26_15_10683.jpg', 2), ('/home/nano/Desktop/images/10122025/10/25/image_10122025_10_26_04_9652.jpg', 2), ('/home/nano/Desktop/images/10122025/10/25/image_10122025_10_25_55_9606.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 10:27:03.039636 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/10/26/image_10122025_10_26_45_10653.jpg', 2), ('/home/nano/Desktop/images/10122025/10/26/image_10122025_10_26_34_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/10/26/image_10122025_10_26_25_9644.jpg', 2), ('/home/nano/Desktop/images/10122025/10/26/image_10122025_10_26_15_10683.jpg', 2), ('/home/nano/Desktop/images/10122025/10/25/image_10122025_10_26_04_9652.jpg', 2), ('/home/nano/Desktop/images/10122025/10/25/image_10122025_10_25_55_9606.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 10:27:32.437713 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/10/27/image_10122025_10_27_45_10748.jpg', 2), ('/home/nano/Desktop/images/10122025/10/27/image_10122025_10_27_34_9630.jpg', 2), ('/home/nano/Desktop/images/10122025/10/27/image_10122025_10_27_25_9741.jpg', 2), ('/home/nano/Desktop/images/10122025/10/27/image_10122025_10_27_15_9772.jpg', 2), ('/home/nano/Desktop/images/10122025/10/26/image_10122025_10_27_05_10675.jpg', 2), ('/home/nano/Desktop/images/10122025/10/26/image_10122025_10_26_54_9599.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 10:28:03.210817 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/10/28/image_10122025_10_28_34_9614.jpg', 2), ('/home/nano/Desktop/images/10122025/10/27/image_10122025_10_27_45_10748.jpg', 2), ('/home/nano/Desktop/images/10122025/10/27/image_10122025_10_27_34_9630.jpg', 2), ('/home/nano/Desktop/images/10122025/10/27/image_10122025_10_27_25_9741.jpg', 2), ('/home/nano/Desktop/images/10122025/10/27/image_10122025_10_27_15_9772.jpg', 2), ('/home/nano/Desktop/images/10122025/10/26/image_10122025_10_27_05_10675.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 10:28:32.536482 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/10/28/image_10122025_10_28_45_10621.jpg', 2), ('/home/nano/Desktop/images/10122025/10/28/image_10122025_10_28_34_9614.jpg', 2), ('/home/nano/Desktop/images/10122025/10/28/image_10122025_10_28_25_9641.jpg', 2), ('/home/nano/Desktop/images/10122025/10/28/image_10122025_10_28_15_10651.jpg', 2), ('/home/nano/Desktop/images/10122025/10/27/image_10122025_10_28_04_9664.jpg', 2), ('/home/nano/Desktop/images/10122025/10/27/image_10122025_10_27_55_9744.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 10:29:03.745550 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/10/28/image_10122025_10_28_45_10621.jpg', 2), ('/home/nano/Desktop/images/10122025/10/28/image_10122025_10_28_34_9614.jpg', 2), ('/home/nano/Desktop/images/10122025/10/28/image_10122025_10_28_25_9641.jpg', 2), ('/home/nano/Desktop/images/10122025/10/28/image_10122025_10_28_15_10651.jpg', 2), ('/home/nano/Desktop/images/10122025/10/27/image_10122025_10_28_04_9664.jpg', 2), ('/home/nano/Desktop/images/10122025/10/27/image_10122025_10_27_55_9744.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 10:29:32.636070 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/10/29/image_10122025_10_29_45_9586.jpg', 2), ('/home/nano/Desktop/images/10122025/10/29/image_10122025_10_29_35_10597.jpg', 2), ('/home/nano/Desktop/images/10122025/10/29/image_10122025_10_29_15_10613.jpg', 2), ('/home/nano/Desktop/images/10122025/10/28/image_10122025_10_29_04_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/10/28/image_10122025_10_28_55_9648.jpg', 2), ('/home/nano/Desktop/images/10122025/10/28/image_10122025_10_28_45_10621.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 10:30:03.185624 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/10/29/image_10122025_10_29_45_9586.jpg', 2), ('/home/nano/Desktop/images/10122025/10/29/image_10122025_10_29_35_10597.jpg', 2), ('/home/nano/Desktop/images/10122025/10/29/image_10122025_10_29_15_10613.jpg', 2), ('/home/nano/Desktop/images/10122025/10/28/image_10122025_10_29_04_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/10/28/image_10122025_10_28_55_9648.jpg', 2), ('/home/nano/Desktop/images/10122025/10/28/image_10122025_10_28_45_10621.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 10:30:32.734076 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/10/30/image_10122025_10_30_44_9586.jpg', 2), ('/home/nano/Desktop/images/10122025/10/30/image_10122025_10_30_35_9602.jpg', 2), ('/home/nano/Desktop/images/10122025/10/30/image_10122025_10_30_25_10603.jpg', 2), ('/home/nano/Desktop/images/10122025/10/30/image_10122025_10_30_14_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/10/29/image_10122025_10_30_05_10619.jpg', 2), ('/home/nano/Desktop/images/10122025/10/29/image_10122025_10_29_54_9588.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 10:31:02.636225 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/10/30/image_10122025_10_30_44_9586.jpg', 2), ('/home/nano/Desktop/images/10122025/10/30/image_10122025_10_30_35_9602.jpg', 2), ('/home/nano/Desktop/images/10122025/10/30/image_10122025_10_30_25_10603.jpg', 2), ('/home/nano/Desktop/images/10122025/10/30/image_10122025_10_30_14_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/10/29/image_10122025_10_30_05_10619.jpg', 2), ('/home/nano/Desktop/images/10122025/10/29/image_10122025_10_29_54_9588.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 10:31:31.911426 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/10/31/image_10122025_10_31_45_10599.jpg', 2), ('/home/nano/Desktop/images/10122025/10/31/image_10122025_10_31_34_9588.jpg', 2), ('/home/nano/Desktop/images/10122025/10/31/image_10122025_10_31_25_9584.jpg', 2), ('/home/nano/Desktop/images/10122025/10/31/image_10122025_10_31_15_10611.jpg', 2), ('/home/nano/Desktop/images/10122025/10/30/image_10122025_10_31_04_9586.jpg', 2), ('/home/nano/Desktop/images/10122025/10/30/image_10122025_10_30_55_10613.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 10:32:02.578765 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/10/31/image_10122025_10_31_45_10599.jpg', 2), ('/home/nano/Desktop/images/10122025/10/31/image_10122025_10_31_34_9588.jpg', 2), ('/home/nano/Desktop/images/10122025/10/31/image_10122025_10_31_25_9584.jpg', 2), ('/home/nano/Desktop/images/10122025/10/31/image_10122025_10_31_15_10611.jpg', 2), ('/home/nano/Desktop/images/10122025/10/30/image_10122025_10_31_04_9586.jpg', 2), ('/home/nano/Desktop/images/10122025/10/30/image_10122025_10_30_55_10613.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 10:32:31.928936 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/10/32/image_10122025_10_32_44_9588.jpg', 2), ('/home/nano/Desktop/images/10122025/10/32/image_10122025_10_32_35_10596.jpg', 2), ('/home/nano/Desktop/images/10122025/10/32/image_10122025_10_32_24_9585.jpg', 2), ('/home/nano/Desktop/images/10122025/10/32/image_10122025_10_32_15_9592.jpg', 2), ('/home/nano/Desktop/images/10122025/10/31/image_10122025_10_32_05_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/10/31/image_10122025_10_31_54_9583.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 10:33:02.683897 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/10/32/image_10122025_10_32_44_9588.jpg', 2), ('/home/nano/Desktop/images/10122025/10/32/image_10122025_10_32_35_10596.jpg', 2), ('/home/nano/Desktop/images/10122025/10/32/image_10122025_10_32_24_9585.jpg', 2), ('/home/nano/Desktop/images/10122025/10/32/image_10122025_10_32_15_9592.jpg', 2), ('/home/nano/Desktop/images/10122025/10/31/image_10122025_10_32_05_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/10/31/image_10122025_10_31_54_9583.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 10:33:31.999438 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/10/33/image_10122025_10_33_45_10600.jpg', 2), ('/home/nano/Desktop/images/10122025/10/33/image_10122025_10_33_34_9586.jpg', 2), ('/home/nano/Desktop/images/10122025/10/33/image_10122025_10_33_25_10599.jpg', 2), ('/home/nano/Desktop/images/10122025/10/33/image_10122025_10_33_14_9601.jpg', 2), ('/home/nano/Desktop/images/10122025/10/32/image_10122025_10_33_05_9591.jpg', 2), ('/home/nano/Desktop/images/10122025/10/32/image_10122025_10_32_55_10594.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 10:34:02.877481 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/10/33/image_10122025_10_33_45_10600.jpg', 2), ('/home/nano/Desktop/images/10122025/10/33/image_10122025_10_33_34_9586.jpg', 2), ('/home/nano/Desktop/images/10122025/10/33/image_10122025_10_33_25_10599.jpg', 2), ('/home/nano/Desktop/images/10122025/10/33/image_10122025_10_33_14_9601.jpg', 2), ('/home/nano/Desktop/images/10122025/10/32/image_10122025_10_33_05_9591.jpg', 2), ('/home/nano/Desktop/images/10122025/10/32/image_10122025_10_32_55_10594.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 10:34:32.109393 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/10/34/image_10122025_10_34_44_9591.jpg', 2), ('/home/nano/Desktop/images/10122025/10/34/image_10122025_10_34_35_10598.jpg', 2), ('/home/nano/Desktop/images/10122025/10/34/image_10122025_10_34_24_9587.jpg', 2), ('/home/nano/Desktop/images/10122025/10/34/image_10122025_10_34_15_9592.jpg', 2), ('/home/nano/Desktop/images/10122025/10/33/image_10122025_10_34_05_10604.jpg', 2), ('/home/nano/Desktop/images/10122025/10/33/image_10122025_10_33_54_9599.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 10:35:02.959177 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/10/34/image_10122025_10_34_44_9591.jpg', 2), ('/home/nano/Desktop/images/10122025/10/34/image_10122025_10_34_35_10598.jpg', 2), ('/home/nano/Desktop/images/10122025/10/34/image_10122025_10_34_24_9587.jpg', 2), ('/home/nano/Desktop/images/10122025/10/34/image_10122025_10_34_15_9592.jpg', 2), ('/home/nano/Desktop/images/10122025/10/33/image_10122025_10_34_05_10604.jpg', 2), ('/home/nano/Desktop/images/10122025/10/33/image_10122025_10_33_54_9599.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 10:35:32.214838 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/10/35/image_10122025_10_35_44_9593.jpg', 2), ('/home/nano/Desktop/images/10122025/10/35/image_10122025_10_35_35_9596.jpg', 2), ('/home/nano/Desktop/images/10122025/10/35/image_10122025_10_35_25_10596.jpg', 2), ('/home/nano/Desktop/images/10122025/10/35/image_10122025_10_35_14_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/10/34/image_10122025_10_35_05_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/10/34/image_10122025_10_34_55_10621.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 10:36:02.787373 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/10/35/image_10122025_10_35_44_9593.jpg', 2), ('/home/nano/Desktop/images/10122025/10/35/image_10122025_10_35_35_9596.jpg', 2), ('/home/nano/Desktop/images/10122025/10/35/image_10122025_10_35_25_10596.jpg', 2), ('/home/nano/Desktop/images/10122025/10/35/image_10122025_10_35_14_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/10/34/image_10122025_10_35_05_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/10/34/image_10122025_10_34_55_10621.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 10:36:32.327430 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/10/36/image_10122025_10_36_45_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/10/36/image_10122025_10_36_34_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/10/36/image_10122025_10_36_25_9592.jpg', 2), ('/home/nano/Desktop/images/10122025/10/36/image_10122025_10_36_15_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/10/35/image_10122025_10_36_04_9600.jpg', 2), ('/home/nano/Desktop/images/10122025/10/35/image_10122025_10_35_55_10599.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 10:37:03.186022 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/10/37/image_10122025_10_37_44_9591.jpg', 2), ('/home/nano/Desktop/images/10122025/10/36/image_10122025_10_36_45_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/10/36/image_10122025_10_36_34_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/10/36/image_10122025_10_36_25_9592.jpg', 2), ('/home/nano/Desktop/images/10122025/10/36/image_10122025_10_36_15_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/10/35/image_10122025_10_36_04_9600.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 10:37:32.443781 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/10/37/image_10122025_10_37_44_9591.jpg', 2), ('/home/nano/Desktop/images/10122025/10/37/image_10122025_10_37_35_10595.jpg', 2), ('/home/nano/Desktop/images/10122025/10/37/image_10122025_10_37_24_9585.jpg', 2), ('/home/nano/Desktop/images/10122025/10/37/image_10122025_10_37_15_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/10/36/image_10122025_10_37_05_10603.jpg', 2), ('/home/nano/Desktop/images/10122025/10/36/image_10122025_10_36_54_9587.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 10:38:03.025272 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/10/37/image_10122025_10_37_44_9591.jpg', 2), ('/home/nano/Desktop/images/10122025/10/37/image_10122025_10_37_35_10595.jpg', 2), ('/home/nano/Desktop/images/10122025/10/37/image_10122025_10_37_24_9585.jpg', 2), ('/home/nano/Desktop/images/10122025/10/37/image_10122025_10_37_15_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/10/36/image_10122025_10_37_05_10603.jpg', 2), ('/home/nano/Desktop/images/10122025/10/36/image_10122025_10_36_54_9587.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 10:38:32.526359 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/10/38/image_10122025_10_38_45_10596.jpg', 2), ('/home/nano/Desktop/images/10122025/10/38/image_10122025_10_38_34_9588.jpg', 2), ('/home/nano/Desktop/images/10122025/10/38/image_10122025_10_38_25_10596.jpg', 2), ('/home/nano/Desktop/images/10122025/10/38/image_10122025_10_38_14_9601.jpg', 2), ('/home/nano/Desktop/images/10122025/10/37/image_10122025_10_38_05_9586.jpg', 2), ('/home/nano/Desktop/images/10122025/10/37/image_10122025_10_37_55_10614.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 10:39:03.521535 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/10/38/image_10122025_10_38_45_10596.jpg', 2), ('/home/nano/Desktop/images/10122025/10/38/image_10122025_10_38_34_9588.jpg', 2), ('/home/nano/Desktop/images/10122025/10/38/image_10122025_10_38_25_10596.jpg', 2), ('/home/nano/Desktop/images/10122025/10/38/image_10122025_10_38_14_9601.jpg', 2), ('/home/nano/Desktop/images/10122025/10/37/image_10122025_10_38_05_9586.jpg', 2), ('/home/nano/Desktop/images/10122025/10/37/image_10122025_10_37_55_10614.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 10:39:32.622903 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/10/39/image_10122025_10_39_44_9592.jpg', 2), ('/home/nano/Desktop/images/10122025/10/39/image_10122025_10_39_35_10599.jpg', 2), ('/home/nano/Desktop/images/10122025/10/39/image_10122025_10_39_24_9587.jpg', 2), ('/home/nano/Desktop/images/10122025/10/39/image_10122025_10_39_15_9616.jpg', 2), ('/home/nano/Desktop/images/10122025/10/38/image_10122025_10_39_05_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/10/38/image_10122025_10_38_54_9586.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 10:40:03.174139 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/10/39/image_10122025_10_39_44_9592.jpg', 2), ('/home/nano/Desktop/images/10122025/10/39/image_10122025_10_39_35_10599.jpg', 2), ('/home/nano/Desktop/images/10122025/10/39/image_10122025_10_39_24_9587.jpg', 2), ('/home/nano/Desktop/images/10122025/10/39/image_10122025_10_39_15_9616.jpg', 2), ('/home/nano/Desktop/images/10122025/10/38/image_10122025_10_39_05_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/10/38/image_10122025_10_38_54_9586.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 10:40:32.733384 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/10/40/image_10122025_10_40_45_10599.jpg', 2), ('/home/nano/Desktop/images/10122025/10/40/image_10122025_10_40_34_9588.jpg', 2), ('/home/nano/Desktop/images/10122025/10/40/image_10122025_10_40_25_10603.jpg', 2), ('/home/nano/Desktop/images/10122025/10/40/image_10122025_10_40_14_9599.jpg', 2), ('/home/nano/Desktop/images/10122025/10/39/image_10122025_10_40_05_9591.jpg', 2), ('/home/nano/Desktop/images/10122025/10/39/image_10122025_10_39_55_10598.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 10:41:02.568945 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/10/40/image_10122025_10_40_45_10599.jpg', 2), ('/home/nano/Desktop/images/10122025/10/40/image_10122025_10_40_34_9588.jpg', 2), ('/home/nano/Desktop/images/10122025/10/40/image_10122025_10_40_25_10603.jpg', 2), ('/home/nano/Desktop/images/10122025/10/40/image_10122025_10_40_14_9599.jpg', 2), ('/home/nano/Desktop/images/10122025/10/39/image_10122025_10_40_05_9591.jpg', 2), ('/home/nano/Desktop/images/10122025/10/39/image_10122025_10_39_55_10598.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 10:41:31.826213 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/10/41/image_10122025_10_41_45_10786.jpg', 2), ('/home/nano/Desktop/images/10122025/10/41/image_10122025_10_41_34_9691.jpg', 2), ('/home/nano/Desktop/images/10122025/10/41/image_10122025_10_41_24_9594.jpg', 2), ('/home/nano/Desktop/images/10122025/10/41/image_10122025_10_41_15_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/10/40/image_10122025_10_41_04_9594.jpg', 2), ('/home/nano/Desktop/images/10122025/10/40/image_10122025_10_40_55_9608.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 10:42:02.522933 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/10/41/image_10122025_10_41_45_10786.jpg', 2), ('/home/nano/Desktop/images/10122025/10/41/image_10122025_10_41_34_9691.jpg', 2), ('/home/nano/Desktop/images/10122025/10/41/image_10122025_10_41_24_9594.jpg', 2), ('/home/nano/Desktop/images/10122025/10/41/image_10122025_10_41_15_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/10/40/image_10122025_10_41_04_9594.jpg', 2), ('/home/nano/Desktop/images/10122025/10/40/image_10122025_10_40_55_9608.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 10:42:31.916421 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/10/42/image_10122025_10_42_44_9718.jpg', 2), ('/home/nano/Desktop/images/10122025/10/42/image_10122025_10_42_35_9697.jpg', 2), ('/home/nano/Desktop/images/10122025/10/42/image_10122025_10_42_25_10725.jpg', 2), ('/home/nano/Desktop/images/10122025/10/42/image_10122025_10_42_14_9708.jpg', 2), ('/home/nano/Desktop/images/10122025/10/41/image_10122025_10_42_04_9731.jpg', 2), ('/home/nano/Desktop/images/10122025/10/41/image_10122025_10_41_55_9733.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 10:43:02.471520 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/10/42/image_10122025_10_42_44_9718.jpg', 2), ('/home/nano/Desktop/images/10122025/10/42/image_10122025_10_42_35_9697.jpg', 2), ('/home/nano/Desktop/images/10122025/10/42/image_10122025_10_42_25_10725.jpg', 2), ('/home/nano/Desktop/images/10122025/10/42/image_10122025_10_42_14_9708.jpg', 2), ('/home/nano/Desktop/images/10122025/10/41/image_10122025_10_42_04_9731.jpg', 2), ('/home/nano/Desktop/images/10122025/10/41/image_10122025_10_41_55_9733.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 10:43:32.030769 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/10/43/image_10122025_10_43_44_9713.jpg', 2), ('/home/nano/Desktop/images/10122025/10/43/image_10122025_10_43_35_9675.jpg', 2), ('/home/nano/Desktop/images/10122025/10/43/image_10122025_10_43_25_10685.jpg', 2), ('/home/nano/Desktop/images/10122025/10/43/image_10122025_10_43_14_9718.jpg', 2), ('/home/nano/Desktop/images/10122025/10/42/image_10122025_10_43_05_9718.jpg', 2), ('/home/nano/Desktop/images/10122025/10/42/image_10122025_10_42_55_10680.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 10:44:02.830261 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/10/43/image_10122025_10_43_44_9713.jpg', 2), ('/home/nano/Desktop/images/10122025/10/43/image_10122025_10_43_35_9675.jpg', 2), ('/home/nano/Desktop/images/10122025/10/43/image_10122025_10_43_25_10685.jpg', 2), ('/home/nano/Desktop/images/10122025/10/43/image_10122025_10_43_14_9718.jpg', 2), ('/home/nano/Desktop/images/10122025/10/42/image_10122025_10_43_05_9718.jpg', 2), ('/home/nano/Desktop/images/10122025/10/42/image_10122025_10_42_55_10680.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 10:44:32.114873 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/10/44/image_10122025_10_44_45_10728.jpg', 2), ('/home/nano/Desktop/images/10122025/10/44/image_10122025_10_44_34_9721.jpg', 2), ('/home/nano/Desktop/images/10122025/10/44/image_10122025_10_44_24_9721.jpg', 2), ('/home/nano/Desktop/images/10122025/10/44/image_10122025_10_44_15_9743.jpg', 2), ('/home/nano/Desktop/images/10122025/10/43/image_10122025_10_44_05_10732.jpg', 2), ('/home/nano/Desktop/images/10122025/10/43/image_10122025_10_43_54_9705.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 10:45:02.847144 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/10/44/image_10122025_10_44_45_10728.jpg', 2), ('/home/nano/Desktop/images/10122025/10/44/image_10122025_10_44_34_9721.jpg', 2), ('/home/nano/Desktop/images/10122025/10/44/image_10122025_10_44_24_9721.jpg', 2), ('/home/nano/Desktop/images/10122025/10/44/image_10122025_10_44_15_9743.jpg', 2), ('/home/nano/Desktop/images/10122025/10/43/image_10122025_10_44_05_10732.jpg', 2), ('/home/nano/Desktop/images/10122025/10/43/image_10122025_10_43_54_9705.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 10:45:32.190676 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/10/45/image_10122025_10_45_44_9703.jpg', 2), ('/home/nano/Desktop/images/10122025/10/45/image_10122025_10_45_34_9745.jpg', 2), ('/home/nano/Desktop/images/10122025/10/45/image_10122025_10_45_25_9673.jpg', 2), ('/home/nano/Desktop/images/10122025/10/45/image_10122025_10_45_15_10733.jpg', 2), ('/home/nano/Desktop/images/10122025/10/44/image_10122025_10_45_04_9689.jpg', 2), ('/home/nano/Desktop/images/10122025/10/44/image_10122025_10_44_55_9724.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 10:46:02.773513 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/10/45/image_10122025_10_45_44_9703.jpg', 2), ('/home/nano/Desktop/images/10122025/10/45/image_10122025_10_45_34_9745.jpg', 2), ('/home/nano/Desktop/images/10122025/10/45/image_10122025_10_45_25_9673.jpg', 2), ('/home/nano/Desktop/images/10122025/10/45/image_10122025_10_45_15_10733.jpg', 2), ('/home/nano/Desktop/images/10122025/10/44/image_10122025_10_45_04_9689.jpg', 2), ('/home/nano/Desktop/images/10122025/10/44/image_10122025_10_44_55_9724.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 10:46:32.309500 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/10/46/image_10122025_10_46_55_10766.jpg', 2), ('/home/nano/Desktop/images/10122025/10/46/image_10122025_10_46_35_9674.jpg', 2), ('/home/nano/Desktop/images/10122025/10/46/image_10122025_10_46_25_10649.jpg', 2), ('/home/nano/Desktop/images/10122025/10/46/image_10122025_10_46_14_9712.jpg', 2), ('/home/nano/Desktop/images/10122025/10/45/image_10122025_10_46_04_9689.jpg', 2), ('/home/nano/Desktop/images/10122025/10/45/image_10122025_10_45_55_10688.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 10:47:03.057766 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/10/46/image_10122025_10_46_55_10766.jpg', 2), ('/home/nano/Desktop/images/10122025/10/46/image_10122025_10_46_35_9674.jpg', 2), ('/home/nano/Desktop/images/10122025/10/46/image_10122025_10_46_25_10649.jpg', 2), ('/home/nano/Desktop/images/10122025/10/46/image_10122025_10_46_14_9712.jpg', 2), ('/home/nano/Desktop/images/10122025/10/45/image_10122025_10_46_04_9689.jpg', 2), ('/home/nano/Desktop/images/10122025/10/45/image_10122025_10_45_55_10688.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 10:47:32.387878 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/10/47/image_10122025_10_47_44_9696.jpg', 2), ('/home/nano/Desktop/images/10122025/10/47/image_10122025_10_47_35_10684.jpg', 2), ('/home/nano/Desktop/images/10122025/10/47/image_10122025_10_47_24_9690.jpg', 2), ('/home/nano/Desktop/images/10122025/10/47/image_10122025_10_47_14_9703.jpg', 2), ('/home/nano/Desktop/images/10122025/10/46/image_10122025_10_47_05_9756.jpg', 2), ('/home/nano/Desktop/images/10122025/10/46/image_10122025_10_46_55_10766.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 10:48:03.086749 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/10/47/image_10122025_10_47_44_9696.jpg', 2), ('/home/nano/Desktop/images/10122025/10/47/image_10122025_10_47_35_10684.jpg', 2), ('/home/nano/Desktop/images/10122025/10/47/image_10122025_10_47_24_9690.jpg', 2), ('/home/nano/Desktop/images/10122025/10/47/image_10122025_10_47_14_9703.jpg', 2), ('/home/nano/Desktop/images/10122025/10/46/image_10122025_10_47_05_9756.jpg', 2), ('/home/nano/Desktop/images/10122025/10/46/image_10122025_10_46_55_10766.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 10:48:32.599619 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/10/48/image_10122025_10_48_45_9682.jpg', 2), ('/home/nano/Desktop/images/10122025/10/48/image_10122025_10_48_35_10689.jpg', 2), ('/home/nano/Desktop/images/10122025/10/48/image_10122025_10_48_24_9751.jpg', 2), ('/home/nano/Desktop/images/10122025/10/48/image_10122025_10_48_15_9699.jpg', 2), ('/home/nano/Desktop/images/10122025/10/47/image_10122025_10_48_05_10723.jpg', 2), ('/home/nano/Desktop/images/10122025/10/47/image_10122025_10_47_54_9698.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 10:49:03.804131 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/10/48/image_10122025_10_48_45_9682.jpg', 2), ('/home/nano/Desktop/images/10122025/10/48/image_10122025_10_48_35_10689.jpg', 2), ('/home/nano/Desktop/images/10122025/10/48/image_10122025_10_48_24_9751.jpg', 2), ('/home/nano/Desktop/images/10122025/10/48/image_10122025_10_48_15_9699.jpg', 2), ('/home/nano/Desktop/images/10122025/10/47/image_10122025_10_48_05_10723.jpg', 2), ('/home/nano/Desktop/images/10122025/10/47/image_10122025_10_47_54_9698.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 10:49:32.704520 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/10/49/image_10122025_10_49_44_9771.jpg', 2), ('/home/nano/Desktop/images/10122025/10/49/image_10122025_10_49_34_9774.jpg', 2), ('/home/nano/Desktop/images/10122025/10/49/image_10122025_10_49_25_9682.jpg', 2), ('/home/nano/Desktop/images/10122025/10/49/image_10122025_10_49_15_10732.jpg', 2), ('/home/nano/Desktop/images/10122025/10/48/image_10122025_10_49_04_9716.jpg', 2), ('/home/nano/Desktop/images/10122025/10/48/image_10122025_10_48_54_9690.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 10:50:02.384940 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/10/49/image_10122025_10_49_44_9771.jpg', 2), ('/home/nano/Desktop/images/10122025/10/49/image_10122025_10_49_34_9774.jpg', 2), ('/home/nano/Desktop/images/10122025/10/49/image_10122025_10_49_25_9682.jpg', 2), ('/home/nano/Desktop/images/10122025/10/49/image_10122025_10_49_15_10732.jpg', 2), ('/home/nano/Desktop/images/10122025/10/48/image_10122025_10_49_04_9716.jpg', 2), ('/home/nano/Desktop/images/10122025/10/48/image_10122025_10_48_54_9690.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 10:50:31.789040 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/10/50/image_10122025_10_50_44_9685.jpg', 2), ('/home/nano/Desktop/images/10122025/10/50/image_10122025_10_50_35_9668.jpg', 2), ('/home/nano/Desktop/images/10122025/10/50/image_10122025_10_50_25_10733.jpg', 2), ('/home/nano/Desktop/images/10122025/10/50/image_10122025_10_50_14_9771.jpg', 2), ('/home/nano/Desktop/images/10122025/10/49/image_10122025_10_50_04_9718.jpg', 2), ('/home/nano/Desktop/images/10122025/10/49/image_10122025_10_49_55_10652.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 10:51:02.678070 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/10/50/image_10122025_10_50_44_9685.jpg', 2), ('/home/nano/Desktop/images/10122025/10/50/image_10122025_10_50_35_9668.jpg', 2), ('/home/nano/Desktop/images/10122025/10/50/image_10122025_10_50_25_10733.jpg', 2), ('/home/nano/Desktop/images/10122025/10/50/image_10122025_10_50_14_9771.jpg', 2), ('/home/nano/Desktop/images/10122025/10/49/image_10122025_10_50_04_9718.jpg', 2), ('/home/nano/Desktop/images/10122025/10/49/image_10122025_10_49_55_10652.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 10:51:31.911608 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/10/51/image_10122025_10_51_45_9694.jpg', 2), ('/home/nano/Desktop/images/10122025/10/51/image_10122025_10_51_35_10716.jpg', 2), ('/home/nano/Desktop/images/10122025/10/51/image_10122025_10_51_24_9707.jpg', 2), ('/home/nano/Desktop/images/10122025/10/51/image_10122025_10_51_14_9705.jpg', 2), ('/home/nano/Desktop/images/10122025/10/50/image_10122025_10_51_05_9694.jpg', 2), ('/home/nano/Desktop/images/10122025/10/50/image_10122025_10_50_55_10721.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 10:52:02.561394 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/10/51/image_10122025_10_51_45_9694.jpg', 2), ('/home/nano/Desktop/images/10122025/10/51/image_10122025_10_51_35_10716.jpg', 2), ('/home/nano/Desktop/images/10122025/10/51/image_10122025_10_51_24_9707.jpg', 2), ('/home/nano/Desktop/images/10122025/10/51/image_10122025_10_51_14_9705.jpg', 2), ('/home/nano/Desktop/images/10122025/10/50/image_10122025_10_51_05_9694.jpg', 2), ('/home/nano/Desktop/images/10122025/10/50/image_10122025_10_50_55_10721.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 10:52:31.989484 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/10/52/image_10122025_10_52_45_10666.jpg', 2), ('/home/nano/Desktop/images/10122025/10/52/image_10122025_10_52_34_9686.jpg', 2), ('/home/nano/Desktop/images/10122025/10/52/image_10122025_10_52_24_9695.jpg', 2), ('/home/nano/Desktop/images/10122025/10/52/image_10122025_10_52_15_9721.jpg', 2), ('/home/nano/Desktop/images/10122025/10/51/image_10122025_10_52_05_10727.jpg', 2), ('/home/nano/Desktop/images/10122025/10/51/image_10122025_10_51_54_9710.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 10:53:02.844525 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/10/52/image_10122025_10_52_45_10666.jpg', 2), ('/home/nano/Desktop/images/10122025/10/52/image_10122025_10_52_34_9686.jpg', 2), ('/home/nano/Desktop/images/10122025/10/52/image_10122025_10_52_24_9695.jpg', 2), ('/home/nano/Desktop/images/10122025/10/52/image_10122025_10_52_15_9721.jpg', 2), ('/home/nano/Desktop/images/10122025/10/51/image_10122025_10_52_05_10727.jpg', 2), ('/home/nano/Desktop/images/10122025/10/51/image_10122025_10_51_54_9710.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 10:53:32.077010 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/10/53/image_10122025_10_53_44_9615.jpg', 2), ('/home/nano/Desktop/images/10122025/10/53/image_10122025_10_53_35_10610.jpg', 2), ('/home/nano/Desktop/images/10122025/10/53/image_10122025_10_53_24_9625.jpg', 2), ('/home/nano/Desktop/images/10122025/10/53/image_10122025_10_53_15_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/10/52/image_10122025_10_53_05_10633.jpg', 2), ('/home/nano/Desktop/images/10122025/10/52/image_10122025_10_52_54_9606.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 10:54:02.791361 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/10/53/image_10122025_10_53_44_9615.jpg', 2), ('/home/nano/Desktop/images/10122025/10/53/image_10122025_10_53_35_10610.jpg', 2), ('/home/nano/Desktop/images/10122025/10/53/image_10122025_10_53_24_9625.jpg', 2), ('/home/nano/Desktop/images/10122025/10/53/image_10122025_10_53_15_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/10/52/image_10122025_10_53_05_10633.jpg', 2), ('/home/nano/Desktop/images/10122025/10/52/image_10122025_10_52_54_9606.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 10:54:32.230451 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/10/54/image_10122025_10_54_44_9629.jpg', 2), ('/home/nano/Desktop/images/10122025/10/54/image_10122025_10_54_35_9631.jpg', 2), ('/home/nano/Desktop/images/10122025/10/54/image_10122025_10_54_25_10613.jpg', 2), ('/home/nano/Desktop/images/10122025/10/54/image_10122025_10_54_14_9624.jpg', 2), ('/home/nano/Desktop/images/10122025/10/53/image_10122025_10_54_05_10619.jpg', 2), ('/home/nano/Desktop/images/10122025/10/53/image_10122025_10_53_54_9620.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 10:55:02.972865 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/10/54/image_10122025_10_54_44_9629.jpg', 2), ('/home/nano/Desktop/images/10122025/10/54/image_10122025_10_54_35_9631.jpg', 2), ('/home/nano/Desktop/images/10122025/10/54/image_10122025_10_54_25_10613.jpg', 2), ('/home/nano/Desktop/images/10122025/10/54/image_10122025_10_54_14_9624.jpg', 2), ('/home/nano/Desktop/images/10122025/10/53/image_10122025_10_54_05_10619.jpg', 2), ('/home/nano/Desktop/images/10122025/10/53/image_10122025_10_53_54_9620.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 10:55:32.305057 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/10/55/image_10122025_10_55_45_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/10/55/image_10122025_10_55_34_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/10/55/image_10122025_10_55_25_10632.jpg', 2), ('/home/nano/Desktop/images/10122025/10/55/image_10122025_10_55_14_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/10/54/image_10122025_10_55_04_9629.jpg', 2), ('/home/nano/Desktop/images/10122025/10/54/image_10122025_10_54_55_10617.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 10:56:02.966503 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/10/55/image_10122025_10_55_45_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/10/55/image_10122025_10_55_34_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/10/55/image_10122025_10_55_25_10632.jpg', 2), ('/home/nano/Desktop/images/10122025/10/55/image_10122025_10_55_14_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/10/54/image_10122025_10_55_04_9629.jpg', 2), ('/home/nano/Desktop/images/10122025/10/54/image_10122025_10_54_55_10617.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 10:56:32.399465 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/10/56/image_10122025_10_56_45_10706.jpg', 2), ('/home/nano/Desktop/images/10122025/10/56/image_10122025_10_56_34_9712.jpg', 2), ('/home/nano/Desktop/images/10122025/10/56/image_10122025_10_56_24_9657.jpg', 2), ('/home/nano/Desktop/images/10122025/10/56/image_10122025_10_56_15_10632.jpg', 2), ('/home/nano/Desktop/images/10122025/10/55/image_10122025_10_56_04_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/10/55/image_10122025_10_55_55_9605.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 10:57:02.888466 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/10/56/image_10122025_10_56_45_10706.jpg', 2), ('/home/nano/Desktop/images/10122025/10/56/image_10122025_10_56_34_9712.jpg', 2), ('/home/nano/Desktop/images/10122025/10/56/image_10122025_10_56_24_9657.jpg', 2), ('/home/nano/Desktop/images/10122025/10/56/image_10122025_10_56_15_10632.jpg', 2), ('/home/nano/Desktop/images/10122025/10/55/image_10122025_10_56_04_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/10/55/image_10122025_10_55_55_9605.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 10:57:32.505496 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/10/57/image_10122025_10_57_35_10611.jpg', 2), ('/home/nano/Desktop/images/10122025/10/57/image_10122025_10_57_24_9602.jpg', 2), ('/home/nano/Desktop/images/10122025/10/57/image_10122025_10_57_15_10645.jpg', 2), ('/home/nano/Desktop/images/10122025/10/56/image_10122025_10_57_04_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/10/56/image_10122025_10_56_55_9639.jpg', 2), ('/home/nano/Desktop/images/10122025/10/56/image_10122025_10_56_45_10706.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 10:59:03.182908 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/10/57/image_10122025_10_57_35_10611.jpg', 2), ('/home/nano/Desktop/images/10122025/10/57/image_10122025_10_57_24_9602.jpg', 2), ('/home/nano/Desktop/images/10122025/10/57/image_10122025_10_57_15_10645.jpg', 2), ('/home/nano/Desktop/images/10122025/10/56/image_10122025_10_57_04_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/10/56/image_10122025_10_56_55_9639.jpg', 2), ('/home/nano/Desktop/images/10122025/10/56/image_10122025_10_56_45_10706.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 10:59:32.349115 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/10/59/image_10122025_10_59_45_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/10/59/image_10122025_10_59_34_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/10/59/image_10122025_10_59_25_10629.jpg', 2), ('/home/nano/Desktop/images/10122025/10/59/image_10122025_10_59_14_9613.jpg', 2), ('/home/nano/Desktop/images/10122025/10/58/image_10122025_10_59_04_9598.jpg', 2), ('/home/nano/Desktop/images/10122025/10/58/image_10122025_10_58_55_10614.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 11:00:02.971789 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/10/59/image_10122025_10_59_45_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/10/59/image_10122025_10_59_34_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/10/59/image_10122025_10_59_25_10629.jpg', 2), ('/home/nano/Desktop/images/10122025/10/59/image_10122025_10_59_14_9613.jpg', 2), ('/home/nano/Desktop/images/10122025/10/58/image_10122025_10_59_04_9598.jpg', 2), ('/home/nano/Desktop/images/10122025/10/58/image_10122025_10_58_55_10614.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 11:00:32.421506 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/11/00/image_10122025_11_00_45_9594.jpg', 2), ('/home/nano/Desktop/images/10122025/11/00/image_10122025_11_00_35_10610.jpg', 2), ('/home/nano/Desktop/images/10122025/11/00/image_10122025_11_00_15_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/10/59/image_10122025_11_00_04_9614.jpg', 2), ('/home/nano/Desktop/images/10122025/10/59/image_10122025_10_59_55_9599.jpg', 2), ('/home/nano/Desktop/images/10122025/10/59/image_10122025_10_59_45_10614.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 11:01:03.362222 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/11/00/image_10122025_11_00_45_9594.jpg', 2), ('/home/nano/Desktop/images/10122025/11/00/image_10122025_11_00_35_10610.jpg', 2), ('/home/nano/Desktop/images/10122025/11/00/image_10122025_11_00_15_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/10/59/image_10122025_11_00_04_9614.jpg', 2), ('/home/nano/Desktop/images/10122025/10/59/image_10122025_10_59_55_9599.jpg', 2), ('/home/nano/Desktop/images/10122025/10/59/image_10122025_10_59_45_10614.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 11:01:32.585924 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/11/01/image_10122025_11_01_44_9602.jpg', 2), ('/home/nano/Desktop/images/10122025/11/01/image_10122025_11_01_35_9603.jpg', 2), ('/home/nano/Desktop/images/10122025/11/01/image_10122025_11_01_25_10608.jpg', 2), ('/home/nano/Desktop/images/10122025/11/01/image_10122025_11_01_14_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/11/00/image_10122025_11_01_05_10622.jpg', 2), ('/home/nano/Desktop/images/10122025/11/00/image_10122025_11_00_54_9613.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 11:02:03.130344 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/11/01/image_10122025_11_01_44_9602.jpg', 2), ('/home/nano/Desktop/images/10122025/11/01/image_10122025_11_01_35_9603.jpg', 2), ('/home/nano/Desktop/images/10122025/11/01/image_10122025_11_01_25_10608.jpg', 2), ('/home/nano/Desktop/images/10122025/11/01/image_10122025_11_01_14_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/11/00/image_10122025_11_01_05_10622.jpg', 2), ('/home/nano/Desktop/images/10122025/11/00/image_10122025_11_00_54_9613.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 11:02:32.645404 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/11/02/image_10122025_11_02_45_10607.jpg', 2), ('/home/nano/Desktop/images/10122025/11/02/image_10122025_11_02_34_9598.jpg', 2), ('/home/nano/Desktop/images/10122025/11/02/image_10122025_11_02_25_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/11/02/image_10122025_11_02_14_9642.jpg', 2), ('/home/nano/Desktop/images/10122025/11/01/image_10122025_11_02_04_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/11/01/image_10122025_11_01_55_10610.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 11:03:03.391773 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/11/02/image_10122025_11_02_45_10607.jpg', 2), ('/home/nano/Desktop/images/10122025/11/02/image_10122025_11_02_34_9598.jpg', 2), ('/home/nano/Desktop/images/10122025/11/02/image_10122025_11_02_25_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/11/02/image_10122025_11_02_14_9642.jpg', 2), ('/home/nano/Desktop/images/10122025/11/01/image_10122025_11_02_04_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/11/01/image_10122025_11_01_55_10610.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 11:03:32.747077 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/11/03/image_10122025_11_03_45_9624.jpg', 2), ('/home/nano/Desktop/images/10122025/11/03/image_10122025_11_03_35_10613.jpg', 2), ('/home/nano/Desktop/images/10122025/11/03/image_10122025_11_03_15_10620.jpg', 2), ('/home/nano/Desktop/images/10122025/11/02/image_10122025_11_03_04_9628.jpg', 2), ('/home/nano/Desktop/images/10122025/11/02/image_10122025_11_02_55_9599.jpg', 2), ('/home/nano/Desktop/images/10122025/11/02/image_10122025_11_02_45_10607.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 11:04:02.620884 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/11/03/image_10122025_11_03_45_9624.jpg', 2), ('/home/nano/Desktop/images/10122025/11/03/image_10122025_11_03_35_10613.jpg', 2), ('/home/nano/Desktop/images/10122025/11/03/image_10122025_11_03_15_10620.jpg', 2), ('/home/nano/Desktop/images/10122025/11/02/image_10122025_11_03_04_9628.jpg', 2), ('/home/nano/Desktop/images/10122025/11/02/image_10122025_11_02_55_9599.jpg', 2), ('/home/nano/Desktop/images/10122025/11/02/image_10122025_11_02_45_10607.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 11:04:31.877446 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/11/04/image_10122025_11_04_44_9601.jpg', 2), ('/home/nano/Desktop/images/10122025/11/04/image_10122025_11_04_35_10608.jpg', 2), ('/home/nano/Desktop/images/10122025/11/04/image_10122025_11_04_24_9599.jpg', 2), ('/home/nano/Desktop/images/10122025/11/04/image_10122025_11_04_15_9616.jpg', 2), ('/home/nano/Desktop/images/10122025/11/03/image_10122025_11_04_05_10627.jpg', 2), ('/home/nano/Desktop/images/10122025/11/03/image_10122025_11_03_54_9621.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 11:05:02.644719 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/11/04/image_10122025_11_04_44_9601.jpg', 2), ('/home/nano/Desktop/images/10122025/11/04/image_10122025_11_04_35_10608.jpg', 2), ('/home/nano/Desktop/images/10122025/11/04/image_10122025_11_04_24_9599.jpg', 2), ('/home/nano/Desktop/images/10122025/11/04/image_10122025_11_04_15_9616.jpg', 2), ('/home/nano/Desktop/images/10122025/11/03/image_10122025_11_04_05_10627.jpg', 2), ('/home/nano/Desktop/images/10122025/11/03/image_10122025_11_03_54_9621.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 11:05:31.980559 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/11/05/image_10122025_11_05_45_10611.jpg', 2), ('/home/nano/Desktop/images/10122025/11/05/image_10122025_11_05_34_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/11/05/image_10122025_11_05_25_10610.jpg', 2), ('/home/nano/Desktop/images/10122025/11/05/image_10122025_11_05_14_9612.jpg', 2), ('/home/nano/Desktop/images/10122025/11/04/image_10122025_11_05_05_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/11/04/image_10122025_11_04_55_10621.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 11:06:02.638776 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/11/05/image_10122025_11_05_45_10611.jpg', 2), ('/home/nano/Desktop/images/10122025/11/05/image_10122025_11_05_34_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/11/05/image_10122025_11_05_25_10610.jpg', 2), ('/home/nano/Desktop/images/10122025/11/05/image_10122025_11_05_14_9612.jpg', 2), ('/home/nano/Desktop/images/10122025/11/04/image_10122025_11_05_05_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/11/04/image_10122025_11_04_55_10621.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 11:06:32.071582 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/11/06/image_10122025_11_06_45_9600.jpg', 2), ('/home/nano/Desktop/images/10122025/11/06/image_10122025_11_06_35_10605.jpg', 2), ('/home/nano/Desktop/images/10122025/11/06/image_10122025_11_06_24_9601.jpg', 2), ('/home/nano/Desktop/images/10122025/11/06/image_10122025_11_06_15_10628.jpg', 2), ('/home/nano/Desktop/images/10122025/11/05/image_10122025_11_06_04_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/11/05/image_10122025_11_05_55_9600.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 11:07:02.772955 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/11/06/image_10122025_11_06_45_9600.jpg', 2), ('/home/nano/Desktop/images/10122025/11/06/image_10122025_11_06_35_10605.jpg', 2), ('/home/nano/Desktop/images/10122025/11/06/image_10122025_11_06_24_9601.jpg', 2), ('/home/nano/Desktop/images/10122025/11/06/image_10122025_11_06_15_10628.jpg', 2), ('/home/nano/Desktop/images/10122025/11/05/image_10122025_11_06_04_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/11/05/image_10122025_11_05_55_9600.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 11:07:32.219580 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/11/07/image_10122025_11_07_44_9603.jpg', 2), ('/home/nano/Desktop/images/10122025/11/07/image_10122025_11_07_35_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/11/07/image_10122025_11_07_25_10629.jpg', 2), ('/home/nano/Desktop/images/10122025/11/07/image_10122025_11_07_14_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/11/06/image_10122025_11_07_05_10612.jpg', 2), ('/home/nano/Desktop/images/10122025/11/06/image_10122025_11_06_54_9601.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 11:08:02.741632 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/11/07/image_10122025_11_07_44_9603.jpg', 2), ('/home/nano/Desktop/images/10122025/11/07/image_10122025_11_07_35_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/11/07/image_10122025_11_07_25_10629.jpg', 2), ('/home/nano/Desktop/images/10122025/11/07/image_10122025_11_07_14_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/11/06/image_10122025_11_07_05_10612.jpg', 2), ('/home/nano/Desktop/images/10122025/11/06/image_10122025_11_06_54_9601.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 11:08:32.233239 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/11/08/image_10122025_11_08_45_10612.jpg', 2), ('/home/nano/Desktop/images/10122025/11/08/image_10122025_11_08_25_10610.jpg', 2), ('/home/nano/Desktop/images/10122025/11/08/image_10122025_11_08_14_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/11/07/image_10122025_11_08_05_9623.jpg', 2), ('/home/nano/Desktop/images/10122025/11/07/image_10122025_11_07_55_10628.jpg', 2), ('/home/nano/Desktop/images/10122025/11/07/image_10122025_11_07_44_9603.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 11:09:03.183041 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/11/08/image_10122025_11_08_45_10612.jpg', 2), ('/home/nano/Desktop/images/10122025/11/08/image_10122025_11_08_25_10610.jpg', 2), ('/home/nano/Desktop/images/10122025/11/08/image_10122025_11_08_14_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/11/07/image_10122025_11_08_05_9623.jpg', 2), ('/home/nano/Desktop/images/10122025/11/07/image_10122025_11_07_55_10628.jpg', 2), ('/home/nano/Desktop/images/10122025/11/07/image_10122025_11_07_44_9603.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 11:09:32.364152 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/11/09/image_10122025_11_09_45_9623.jpg', 2), ('/home/nano/Desktop/images/10122025/11/09/image_10122025_11_09_35_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/11/09/image_10122025_11_09_24_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/11/09/image_10122025_11_09_15_10652.jpg', 2), ('/home/nano/Desktop/images/10122025/11/08/image_10122025_11_09_04_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/11/08/image_10122025_11_08_55_9596.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 11:10:02.969224 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/11/09/image_10122025_11_09_45_9623.jpg', 2), ('/home/nano/Desktop/images/10122025/11/09/image_10122025_11_09_35_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/11/09/image_10122025_11_09_24_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/11/09/image_10122025_11_09_15_10652.jpg', 2), ('/home/nano/Desktop/images/10122025/11/08/image_10122025_11_09_04_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/11/08/image_10122025_11_08_55_9596.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 11:10:32.463191 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/11/10/image_10122025_11_10_44_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/11/10/image_10122025_11_10_35_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/11/10/image_10122025_11_10_24_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/11/10/image_10122025_11_10_15_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/11/09/image_10122025_11_10_05_10627.jpg', 2), ('/home/nano/Desktop/images/10122025/11/09/image_10122025_11_09_54_9609.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 11:11:03.284646 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/11/10/image_10122025_11_10_44_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/11/10/image_10122025_11_10_35_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/11/10/image_10122025_11_10_24_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/11/10/image_10122025_11_10_15_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/11/09/image_10122025_11_10_05_10627.jpg', 2), ('/home/nano/Desktop/images/10122025/11/09/image_10122025_11_09_54_9609.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 11:11:32.569444 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/11/11/image_10122025_11_11_45_10611.jpg', 2), ('/home/nano/Desktop/images/10122025/11/11/image_10122025_11_11_34_9601.jpg', 2), ('/home/nano/Desktop/images/10122025/11/11/image_10122025_11_11_25_10612.jpg', 2), ('/home/nano/Desktop/images/10122025/11/11/image_10122025_11_11_14_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/11/10/image_10122025_11_11_05_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/11/10/image_10122025_11_10_55_10611.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 11:12:03.316900 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/11/11/image_10122025_11_11_45_10611.jpg', 2), ('/home/nano/Desktop/images/10122025/11/11/image_10122025_11_11_34_9601.jpg', 2), ('/home/nano/Desktop/images/10122025/11/11/image_10122025_11_11_25_10612.jpg', 2), ('/home/nano/Desktop/images/10122025/11/11/image_10122025_11_11_14_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/11/10/image_10122025_11_11_05_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/11/10/image_10122025_11_10_55_10611.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 11:12:32.670688 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/11/12/image_10122025_11_12_45_10677.jpg', 2), ('/home/nano/Desktop/images/10122025/11/12/image_10122025_11_12_34_9646.jpg', 2), ('/home/nano/Desktop/images/10122025/11/12/image_10122025_11_12_25_9600.jpg', 2), ('/home/nano/Desktop/images/10122025/11/12/image_10122025_11_12_15_10623.jpg', 2), ('/home/nano/Desktop/images/10122025/11/11/image_10122025_11_12_04_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/11/11/image_10122025_11_11_55_9604.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 11:13:03.395806 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/11/12/image_10122025_11_12_45_10677.jpg', 2), ('/home/nano/Desktop/images/10122025/11/12/image_10122025_11_12_34_9646.jpg', 2), ('/home/nano/Desktop/images/10122025/11/12/image_10122025_11_12_25_9600.jpg', 2), ('/home/nano/Desktop/images/10122025/11/12/image_10122025_11_12_15_10623.jpg', 2), ('/home/nano/Desktop/images/10122025/11/11/image_10122025_11_12_04_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/11/11/image_10122025_11_11_55_9604.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 11:13:32.789948 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/11/13/image_10122025_11_13_45_10707.jpg', 2), ('/home/nano/Desktop/images/10122025/11/13/image_10122025_11_13_34_9657.jpg', 2), ('/home/nano/Desktop/images/10122025/11/13/image_10122025_11_13_25_9690.jpg', 2), ('/home/nano/Desktop/images/10122025/11/13/image_10122025_11_13_15_10725.jpg', 2), ('/home/nano/Desktop/images/10122025/11/12/image_10122025_11_13_04_9740.jpg', 2), ('/home/nano/Desktop/images/10122025/11/12/image_10122025_11_12_55_9702.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 11:14:02.860776 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/11/13/image_10122025_11_13_45_10707.jpg', 2), ('/home/nano/Desktop/images/10122025/11/13/image_10122025_11_13_34_9657.jpg', 2), ('/home/nano/Desktop/images/10122025/11/13/image_10122025_11_13_25_9690.jpg', 2), ('/home/nano/Desktop/images/10122025/11/13/image_10122025_11_13_15_10725.jpg', 2), ('/home/nano/Desktop/images/10122025/11/12/image_10122025_11_13_04_9740.jpg', 2), ('/home/nano/Desktop/images/10122025/11/12/image_10122025_11_12_55_9702.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 11:14:31.898791 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/11/14/image_10122025_11_14_44_9787.jpg', 2), ('/home/nano/Desktop/images/10122025/11/14/image_10122025_11_14_35_9791.jpg', 2), ('/home/nano/Desktop/images/10122025/11/14/image_10122025_11_14_25_10668.jpg', 2), ('/home/nano/Desktop/images/10122025/11/14/image_10122025_11_14_14_9683.jpg', 2), ('/home/nano/Desktop/images/10122025/11/13/image_10122025_11_14_04_9640.jpg', 2), ('/home/nano/Desktop/images/10122025/11/13/image_10122025_11_13_55_9762.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 11:15:02.738886 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/11/14/image_10122025_11_14_44_9787.jpg', 2), ('/home/nano/Desktop/images/10122025/11/14/image_10122025_11_14_35_9791.jpg', 2), ('/home/nano/Desktop/images/10122025/11/14/image_10122025_11_14_25_10668.jpg', 2), ('/home/nano/Desktop/images/10122025/11/14/image_10122025_11_14_14_9683.jpg', 2), ('/home/nano/Desktop/images/10122025/11/13/image_10122025_11_14_04_9640.jpg', 2), ('/home/nano/Desktop/images/10122025/11/13/image_10122025_11_13_55_9762.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 11:15:32.014869 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/11/15/image_10122025_11_15_45_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/11/15/image_10122025_11_15_35_10775.jpg', 2), ('/home/nano/Desktop/images/10122025/11/15/image_10122025_11_15_24_9750.jpg', 2), ('/home/nano/Desktop/images/10122025/11/15/image_10122025_11_15_15_9646.jpg', 2), ('/home/nano/Desktop/images/10122025/11/14/image_10122025_11_15_05_9787.jpg', 2), ('/home/nano/Desktop/images/10122025/11/14/image_10122025_11_14_55_10660.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 11:16:02.701823 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/11/15/image_10122025_11_15_45_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/11/15/image_10122025_11_15_35_10775.jpg', 2), ('/home/nano/Desktop/images/10122025/11/15/image_10122025_11_15_24_9750.jpg', 2), ('/home/nano/Desktop/images/10122025/11/15/image_10122025_11_15_15_9646.jpg', 2), ('/home/nano/Desktop/images/10122025/11/14/image_10122025_11_15_05_9787.jpg', 2), ('/home/nano/Desktop/images/10122025/11/14/image_10122025_11_14_55_10660.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 11:16:32.125136 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/11/16/image_10122025_11_16_45_10638.jpg', 2), ('/home/nano/Desktop/images/10122025/11/16/image_10122025_11_16_34_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/11/16/image_10122025_11_16_25_9760.jpg', 2), ('/home/nano/Desktop/images/10122025/11/15/image_10122025_11_16_04_9787.jpg', 2), ('/home/nano/Desktop/images/10122025/11/15/image_10122025_11_15_54_9778.jpg', 2), ('/home/nano/Desktop/images/10122025/11/15/image_10122025_11_15_45_9605.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 11:17:02.953121 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/11/16/image_10122025_11_16_45_10638.jpg', 2), ('/home/nano/Desktop/images/10122025/11/16/image_10122025_11_16_34_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/11/16/image_10122025_11_16_25_9760.jpg', 2), ('/home/nano/Desktop/images/10122025/11/15/image_10122025_11_16_04_9787.jpg', 2), ('/home/nano/Desktop/images/10122025/11/15/image_10122025_11_15_54_9778.jpg', 2), ('/home/nano/Desktop/images/10122025/11/15/image_10122025_11_15_45_9605.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 11:17:32.185060 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/11/17/image_10122025_11_17_44_9674.jpg', 2), ('/home/nano/Desktop/images/10122025/11/17/image_10122025_11_17_34_9690.jpg', 2), ('/home/nano/Desktop/images/10122025/11/17/image_10122025_11_17_25_10649.jpg', 2), ('/home/nano/Desktop/images/10122025/11/17/image_10122025_11_17_14_9779.jpg', 2), ('/home/nano/Desktop/images/10122025/11/16/image_10122025_11_17_04_9696.jpg', 2), ('/home/nano/Desktop/images/10122025/11/16/image_10122025_11_16_55_9636.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 11:18:02.935036 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/11/17/image_10122025_11_17_44_9674.jpg', 2), ('/home/nano/Desktop/images/10122025/11/17/image_10122025_11_17_34_9690.jpg', 2), ('/home/nano/Desktop/images/10122025/11/17/image_10122025_11_17_25_10649.jpg', 2), ('/home/nano/Desktop/images/10122025/11/17/image_10122025_11_17_14_9779.jpg', 2), ('/home/nano/Desktop/images/10122025/11/16/image_10122025_11_17_04_9696.jpg', 2), ('/home/nano/Desktop/images/10122025/11/16/image_10122025_11_16_55_9636.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 11:18:32.326593 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/11/18/image_10122025_11_18_45_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/11/18/image_10122025_11_18_35_10712.jpg', 2), ('/home/nano/Desktop/images/10122025/11/18/image_10122025_11_18_24_9761.jpg', 2), ('/home/nano/Desktop/images/10122025/11/18/image_10122025_11_18_14_9778.jpg', 2), ('/home/nano/Desktop/images/10122025/11/17/image_10122025_11_18_05_9769.jpg', 2), ('/home/nano/Desktop/images/10122025/11/17/image_10122025_11_17_55_10764.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 11:19:03.526307 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/11/18/image_10122025_11_18_45_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/11/18/image_10122025_11_18_35_10712.jpg', 2), ('/home/nano/Desktop/images/10122025/11/18/image_10122025_11_18_24_9761.jpg', 2), ('/home/nano/Desktop/images/10122025/11/18/image_10122025_11_18_14_9778.jpg', 2), ('/home/nano/Desktop/images/10122025/11/17/image_10122025_11_18_05_9769.jpg', 2), ('/home/nano/Desktop/images/10122025/11/17/image_10122025_11_17_55_10764.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 11:19:32.400145 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/11/19/image_10122025_11_19_44_9576.jpg', 2), ('/home/nano/Desktop/images/10122025/11/19/image_10122025_11_19_35_9573.jpg', 2), ('/home/nano/Desktop/images/10122025/11/19/image_10122025_11_19_25_10587.jpg', 2), ('/home/nano/Desktop/images/10122025/11/19/image_10122025_11_19_14_9626.jpg', 2), ('/home/nano/Desktop/images/10122025/11/18/image_10122025_11_19_05_10665.jpg', 2), ('/home/nano/Desktop/images/10122025/11/18/image_10122025_11_18_54_9607.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 11:20:03.106145 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/11/19/image_10122025_11_19_44_9576.jpg', 2), ('/home/nano/Desktop/images/10122025/11/19/image_10122025_11_19_35_9573.jpg', 2), ('/home/nano/Desktop/images/10122025/11/19/image_10122025_11_19_25_10587.jpg', 2), ('/home/nano/Desktop/images/10122025/11/19/image_10122025_11_19_14_9626.jpg', 2), ('/home/nano/Desktop/images/10122025/11/18/image_10122025_11_19_05_10665.jpg', 2), ('/home/nano/Desktop/images/10122025/11/18/image_10122025_11_18_54_9607.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 11:20:32.529289 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/11/20/image_10122025_11_20_45_10582.jpg', 2), ('/home/nano/Desktop/images/10122025/11/20/image_10122025_11_20_34_9569.jpg', 2), ('/home/nano/Desktop/images/10122025/11/20/image_10122025_11_20_25_9586.jpg', 2), ('/home/nano/Desktop/images/10122025/11/20/image_10122025_11_20_15_10612.jpg', 2), ('/home/nano/Desktop/images/10122025/11/19/image_10122025_11_20_04_9615.jpg', 2), ('/home/nano/Desktop/images/10122025/11/19/image_10122025_11_19_55_10582.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 11:21:03.259458 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/11/20/image_10122025_11_20_45_10582.jpg', 2), ('/home/nano/Desktop/images/10122025/11/20/image_10122025_11_20_34_9569.jpg', 2), ('/home/nano/Desktop/images/10122025/11/20/image_10122025_11_20_25_9586.jpg', 2), ('/home/nano/Desktop/images/10122025/11/20/image_10122025_11_20_15_10612.jpg', 2), ('/home/nano/Desktop/images/10122025/11/19/image_10122025_11_20_04_9615.jpg', 2), ('/home/nano/Desktop/images/10122025/11/19/image_10122025_11_19_55_10582.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 11:21:32.623305 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/11/21/image_10122025_11_21_35_9572.jpg', 2), ('/home/nano/Desktop/images/10122025/11/21/image_10122025_11_21_25_10595.jpg', 2), ('/home/nano/Desktop/images/10122025/11/21/image_10122025_11_21_14_9588.jpg', 2), ('/home/nano/Desktop/images/10122025/11/20/image_10122025_11_21_05_10588.jpg', 2), ('/home/nano/Desktop/images/10122025/11/20/image_10122025_11_20_54_9570.jpg', 2), ('/home/nano/Desktop/images/10122025/11/20/image_10122025_11_20_45_10582.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 11:22:03.203999 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/11/21/image_10122025_11_21_35_9572.jpg', 2), ('/home/nano/Desktop/images/10122025/11/21/image_10122025_11_21_25_10595.jpg', 2), ('/home/nano/Desktop/images/10122025/11/21/image_10122025_11_21_14_9588.jpg', 2), ('/home/nano/Desktop/images/10122025/11/20/image_10122025_11_21_05_10588.jpg', 2), ('/home/nano/Desktop/images/10122025/11/20/image_10122025_11_20_54_9570.jpg', 2), ('/home/nano/Desktop/images/10122025/11/20/image_10122025_11_20_45_10582.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 11:22:32.708678 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/11/22/image_10122025_11_22_45_10580.jpg', 2), ('/home/nano/Desktop/images/10122025/11/22/image_10122025_11_22_34_9571.jpg', 2), ('/home/nano/Desktop/images/10122025/11/22/image_10122025_11_22_25_9573.jpg', 2), ('/home/nano/Desktop/images/10122025/11/22/image_10122025_11_22_15_10601.jpg', 2), ('/home/nano/Desktop/images/10122025/11/21/image_10122025_11_21_55_10595.jpg', 2), ('/home/nano/Desktop/images/10122025/11/21/image_10122025_11_21_35_9572.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 11:23:02.569927 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/11/22/image_10122025_11_22_45_10580.jpg', 2), ('/home/nano/Desktop/images/10122025/11/22/image_10122025_11_22_34_9571.jpg', 2), ('/home/nano/Desktop/images/10122025/11/22/image_10122025_11_22_25_9573.jpg', 2), ('/home/nano/Desktop/images/10122025/11/22/image_10122025_11_22_15_10601.jpg', 2), ('/home/nano/Desktop/images/10122025/11/21/image_10122025_11_21_55_10595.jpg', 2), ('/home/nano/Desktop/images/10122025/11/21/image_10122025_11_21_35_9572.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 11:23:31.828615 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/11/23/image_10122025_11_23_44_9580.jpg', 2), ('/home/nano/Desktop/images/10122025/11/23/image_10122025_11_23_35_9576.jpg', 2), ('/home/nano/Desktop/images/10122025/11/23/image_10122025_11_23_25_10582.jpg', 2), ('/home/nano/Desktop/images/10122025/11/23/image_10122025_11_23_14_9586.jpg', 2), ('/home/nano/Desktop/images/10122025/11/22/image_10122025_11_23_05_10590.jpg', 2), ('/home/nano/Desktop/images/10122025/11/22/image_10122025_11_22_54_9576.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 11:24:02.818876 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/11/23/image_10122025_11_23_44_9580.jpg', 2), ('/home/nano/Desktop/images/10122025/11/23/image_10122025_11_23_35_9576.jpg', 2), ('/home/nano/Desktop/images/10122025/11/23/image_10122025_11_23_25_10582.jpg', 2), ('/home/nano/Desktop/images/10122025/11/23/image_10122025_11_23_14_9586.jpg', 2), ('/home/nano/Desktop/images/10122025/11/22/image_10122025_11_23_05_10590.jpg', 2), ('/home/nano/Desktop/images/10122025/11/22/image_10122025_11_22_54_9576.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 11:24:31.886524 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/11/24/image_10122025_11_24_45_10603.jpg', 2), ('/home/nano/Desktop/images/10122025/11/24/image_10122025_11_24_34_9575.jpg', 2), ('/home/nano/Desktop/images/10122025/11/24/image_10122025_11_24_25_9569.jpg', 2), ('/home/nano/Desktop/images/10122025/11/24/image_10122025_11_24_15_10594.jpg', 2), ('/home/nano/Desktop/images/10122025/11/23/image_10122025_11_24_04_9582.jpg', 2), ('/home/nano/Desktop/images/10122025/11/23/image_10122025_11_23_55_10582.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 11:25:02.508293 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/11/24/image_10122025_11_24_45_10603.jpg', 2), ('/home/nano/Desktop/images/10122025/11/24/image_10122025_11_24_34_9575.jpg', 2), ('/home/nano/Desktop/images/10122025/11/24/image_10122025_11_24_25_9569.jpg', 2), ('/home/nano/Desktop/images/10122025/11/24/image_10122025_11_24_15_10594.jpg', 2), ('/home/nano/Desktop/images/10122025/11/23/image_10122025_11_24_04_9582.jpg', 2), ('/home/nano/Desktop/images/10122025/11/23/image_10122025_11_23_55_10582.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 11:25:32.004136 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/11/25/image_10122025_11_25_44_9574.jpg', 2), ('/home/nano/Desktop/images/10122025/11/25/image_10122025_11_25_35_9576.jpg', 2), ('/home/nano/Desktop/images/10122025/11/25/image_10122025_11_25_25_10579.jpg', 2), ('/home/nano/Desktop/images/10122025/11/25/image_10122025_11_25_14_9582.jpg', 2), ('/home/nano/Desktop/images/10122025/11/24/image_10122025_11_25_05_10597.jpg', 2), ('/home/nano/Desktop/images/10122025/11/24/image_10122025_11_24_54_9570.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 11:26:02.724224 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/11/25/image_10122025_11_25_44_9574.jpg', 2), ('/home/nano/Desktop/images/10122025/11/25/image_10122025_11_25_35_9576.jpg', 2), ('/home/nano/Desktop/images/10122025/11/25/image_10122025_11_25_25_10579.jpg', 2), ('/home/nano/Desktop/images/10122025/11/25/image_10122025_11_25_14_9582.jpg', 2), ('/home/nano/Desktop/images/10122025/11/24/image_10122025_11_25_05_10597.jpg', 2), ('/home/nano/Desktop/images/10122025/11/24/image_10122025_11_24_54_9570.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 11:26:32.129478 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/11/26/image_10122025_11_26_45_10584.jpg', 2), ('/home/nano/Desktop/images/10122025/11/26/image_10122025_11_26_34_9587.jpg', 2), ('/home/nano/Desktop/images/10122025/11/26/image_10122025_11_26_25_9593.jpg', 2), ('/home/nano/Desktop/images/10122025/11/26/image_10122025_11_26_15_10595.jpg', 2), ('/home/nano/Desktop/images/10122025/11/25/image_10122025_11_26_04_9576.jpg', 2), ('/home/nano/Desktop/images/10122025/11/25/image_10122025_11_25_55_10580.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 11:27:02.985432 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/11/26/image_10122025_11_26_45_10584.jpg', 2), ('/home/nano/Desktop/images/10122025/11/26/image_10122025_11_26_34_9587.jpg', 2), ('/home/nano/Desktop/images/10122025/11/26/image_10122025_11_26_25_9593.jpg', 2), ('/home/nano/Desktop/images/10122025/11/26/image_10122025_11_26_15_10595.jpg', 2), ('/home/nano/Desktop/images/10122025/11/25/image_10122025_11_26_04_9576.jpg', 2), ('/home/nano/Desktop/images/10122025/11/25/image_10122025_11_25_55_10580.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 11:27:32.195441 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/11/27/image_10122025_11_27_44_9570.jpg', 2), ('/home/nano/Desktop/images/10122025/11/27/image_10122025_11_27_35_9571.jpg', 2), ('/home/nano/Desktop/images/10122025/11/27/image_10122025_11_27_25_10584.jpg', 2), ('/home/nano/Desktop/images/10122025/11/27/image_10122025_11_27_14_9584.jpg', 2), ('/home/nano/Desktop/images/10122025/11/26/image_10122025_11_27_05_10587.jpg', 2), ('/home/nano/Desktop/images/10122025/11/26/image_10122025_11_26_54_9572.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 11:28:02.602824 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/11/27/image_10122025_11_27_44_9570.jpg', 2), ('/home/nano/Desktop/images/10122025/11/27/image_10122025_11_27_35_9571.jpg', 2), ('/home/nano/Desktop/images/10122025/11/27/image_10122025_11_27_25_10584.jpg', 2), ('/home/nano/Desktop/images/10122025/11/27/image_10122025_11_27_14_9584.jpg', 2), ('/home/nano/Desktop/images/10122025/11/26/image_10122025_11_27_05_10587.jpg', 2), ('/home/nano/Desktop/images/10122025/11/26/image_10122025_11_26_54_9572.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 11:28:32.311282 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/11/28/image_10122025_11_28_45_10580.jpg', 2), ('/home/nano/Desktop/images/10122025/11/28/image_10122025_11_28_34_9568.jpg', 2), ('/home/nano/Desktop/images/10122025/11/28/image_10122025_11_28_25_9586.jpg', 2), ('/home/nano/Desktop/images/10122025/11/28/image_10122025_11_28_15_10601.jpg', 2), ('/home/nano/Desktop/images/10122025/11/27/image_10122025_11_28_04_9583.jpg', 2), ('/home/nano/Desktop/images/10122025/11/27/image_10122025_11_27_55_10579.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 11:29:03.232344 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/11/28/image_10122025_11_28_45_10580.jpg', 2), ('/home/nano/Desktop/images/10122025/11/28/image_10122025_11_28_34_9568.jpg', 2), ('/home/nano/Desktop/images/10122025/11/28/image_10122025_11_28_25_9586.jpg', 2), ('/home/nano/Desktop/images/10122025/11/28/image_10122025_11_28_15_10601.jpg', 2), ('/home/nano/Desktop/images/10122025/11/27/image_10122025_11_28_04_9583.jpg', 2), ('/home/nano/Desktop/images/10122025/11/27/image_10122025_11_27_55_10579.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 11:29:32.417841 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/11/29/image_10122025_11_29_44_9573.jpg', 2), ('/home/nano/Desktop/images/10122025/11/29/image_10122025_11_29_35_9568.jpg', 2), ('/home/nano/Desktop/images/10122025/11/29/image_10122025_11_29_25_10577.jpg', 2), ('/home/nano/Desktop/images/10122025/11/29/image_10122025_11_29_14_9586.jpg', 2), ('/home/nano/Desktop/images/10122025/11/28/image_10122025_11_29_05_10580.jpg', 2), ('/home/nano/Desktop/images/10122025/11/28/image_10122025_11_28_54_9570.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 11:30:03.011380 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/11/29/image_10122025_11_29_44_9573.jpg', 2), ('/home/nano/Desktop/images/10122025/11/29/image_10122025_11_29_35_9568.jpg', 2), ('/home/nano/Desktop/images/10122025/11/29/image_10122025_11_29_25_10577.jpg', 2), ('/home/nano/Desktop/images/10122025/11/29/image_10122025_11_29_14_9586.jpg', 2), ('/home/nano/Desktop/images/10122025/11/28/image_10122025_11_29_05_10580.jpg', 2), ('/home/nano/Desktop/images/10122025/11/28/image_10122025_11_28_54_9570.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 11:30:32.452704 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/11/30/image_10122025_11_30_45_10581.jpg', 2), ('/home/nano/Desktop/images/10122025/11/30/image_10122025_11_30_34_9571.jpg', 2), ('/home/nano/Desktop/images/10122025/11/30/image_10122025_11_30_15_10620.jpg', 2), ('/home/nano/Desktop/images/10122025/11/29/image_10122025_11_30_04_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/11/29/image_10122025_11_29_55_10582.jpg', 2), ('/home/nano/Desktop/images/10122025/11/29/image_10122025_11_29_44_9573.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 11:31:03.205388 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/11/30/image_10122025_11_30_45_10581.jpg', 2), ('/home/nano/Desktop/images/10122025/11/30/image_10122025_11_30_34_9571.jpg', 2), ('/home/nano/Desktop/images/10122025/11/30/image_10122025_11_30_15_10620.jpg', 2), ('/home/nano/Desktop/images/10122025/11/29/image_10122025_11_30_04_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/11/29/image_10122025_11_29_55_10582.jpg', 2), ('/home/nano/Desktop/images/10122025/11/29/image_10122025_11_29_44_9573.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 11:31:32.562128 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/11/31/image_10122025_11_31_44_9583.jpg', 2), ('/home/nano/Desktop/images/10122025/11/31/image_10122025_11_31_35_10609.jpg', 2), ('/home/nano/Desktop/images/10122025/11/31/image_10122025_11_31_24_9659.jpg', 2), ('/home/nano/Desktop/images/10122025/11/31/image_10122025_11_31_15_9705.jpg', 2), ('/home/nano/Desktop/images/10122025/11/30/image_10122025_11_31_05_10608.jpg', 2), ('/home/nano/Desktop/images/10122025/11/30/image_10122025_11_30_54_9579.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 11:32:03.196252 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/11/31/image_10122025_11_31_44_9583.jpg', 2), ('/home/nano/Desktop/images/10122025/11/31/image_10122025_11_31_35_10609.jpg', 2), ('/home/nano/Desktop/images/10122025/11/31/image_10122025_11_31_24_9659.jpg', 2), ('/home/nano/Desktop/images/10122025/11/31/image_10122025_11_31_15_9705.jpg', 2), ('/home/nano/Desktop/images/10122025/11/30/image_10122025_11_31_05_10608.jpg', 2), ('/home/nano/Desktop/images/10122025/11/30/image_10122025_11_30_54_9579.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 11:32:32.682162 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/11/32/image_10122025_11_32_45_10583.jpg', 2), ('/home/nano/Desktop/images/10122025/11/32/image_10122025_11_32_34_9576.jpg', 2), ('/home/nano/Desktop/images/10122025/11/32/image_10122025_11_32_25_10599.jpg', 2), ('/home/nano/Desktop/images/10122025/11/31/image_10122025_11_32_05_9612.jpg', 2), ('/home/nano/Desktop/images/10122025/11/31/image_10122025_11_31_55_10588.jpg', 2), ('/home/nano/Desktop/images/10122025/11/31/image_10122025_11_31_44_9583.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 11:33:02.469167 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/11/32/image_10122025_11_32_45_10583.jpg', 2), ('/home/nano/Desktop/images/10122025/11/32/image_10122025_11_32_34_9576.jpg', 2), ('/home/nano/Desktop/images/10122025/11/32/image_10122025_11_32_25_10599.jpg', 2), ('/home/nano/Desktop/images/10122025/11/31/image_10122025_11_32_05_9612.jpg', 2), ('/home/nano/Desktop/images/10122025/11/31/image_10122025_11_31_55_10588.jpg', 2), ('/home/nano/Desktop/images/10122025/11/31/image_10122025_11_31_44_9583.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 11:33:31.751274 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/11/33/image_10122025_11_33_35_10585.jpg', 2), ('/home/nano/Desktop/images/10122025/11/33/image_10122025_11_33_24_9577.jpg', 2), ('/home/nano/Desktop/images/10122025/11/33/image_10122025_11_33_15_10597.jpg', 2), ('/home/nano/Desktop/images/10122025/11/32/image_10122025_11_32_55_9574.jpg', 2), ('/home/nano/Desktop/images/10122025/11/32/image_10122025_11_32_45_10583.jpg', 2), ('/home/nano/Desktop/images/10122025/11/32/image_10122025_11_32_34_9576.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 11:34:02.596382 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/11/33/image_10122025_11_33_35_10585.jpg', 2), ('/home/nano/Desktop/images/10122025/11/33/image_10122025_11_33_24_9577.jpg', 2), ('/home/nano/Desktop/images/10122025/11/33/image_10122025_11_33_15_10597.jpg', 2), ('/home/nano/Desktop/images/10122025/11/32/image_10122025_11_32_55_9574.jpg', 2), ('/home/nano/Desktop/images/10122025/11/32/image_10122025_11_32_45_10583.jpg', 2), ('/home/nano/Desktop/images/10122025/11/32/image_10122025_11_32_34_9576.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 11:34:31.909686 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/11/34/image_10122025_11_34_45_10588.jpg', 2), ('/home/nano/Desktop/images/10122025/11/34/image_10122025_11_34_34_9571.jpg', 2), ('/home/nano/Desktop/images/10122025/11/34/image_10122025_11_34_25_10584.jpg', 2), ('/home/nano/Desktop/images/10122025/11/34/image_10122025_11_34_14_9579.jpg', 2), ('/home/nano/Desktop/images/10122025/11/33/image_10122025_11_34_05_9595.jpg', 2), ('/home/nano/Desktop/images/10122025/11/33/image_10122025_11_33_55_10581.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 11:35:02.655062 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/11/34/image_10122025_11_34_45_10588.jpg', 2), ('/home/nano/Desktop/images/10122025/11/34/image_10122025_11_34_34_9571.jpg', 2), ('/home/nano/Desktop/images/10122025/11/34/image_10122025_11_34_25_10584.jpg', 2), ('/home/nano/Desktop/images/10122025/11/34/image_10122025_11_34_14_9579.jpg', 2), ('/home/nano/Desktop/images/10122025/11/33/image_10122025_11_34_05_9595.jpg', 2), ('/home/nano/Desktop/images/10122025/11/33/image_10122025_11_33_55_10581.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 11:35:32.001226 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/11/35/image_10122025_11_35_45_9577.jpg', 2), ('/home/nano/Desktop/images/10122025/11/35/image_10122025_11_35_35_10606.jpg', 2), ('/home/nano/Desktop/images/10122025/11/35/image_10122025_11_35_24_9580.jpg', 2), ('/home/nano/Desktop/images/10122025/11/35/image_10122025_11_35_15_10602.jpg', 2), ('/home/nano/Desktop/images/10122025/11/34/image_10122025_11_35_04_9585.jpg', 2), ('/home/nano/Desktop/images/10122025/11/34/image_10122025_11_34_55_9573.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 11:36:02.741917 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/11/35/image_10122025_11_35_45_9577.jpg', 2), ('/home/nano/Desktop/images/10122025/11/35/image_10122025_11_35_35_10606.jpg', 2), ('/home/nano/Desktop/images/10122025/11/35/image_10122025_11_35_24_9580.jpg', 2), ('/home/nano/Desktop/images/10122025/11/35/image_10122025_11_35_15_10602.jpg', 2), ('/home/nano/Desktop/images/10122025/11/34/image_10122025_11_35_04_9585.jpg', 2), ('/home/nano/Desktop/images/10122025/11/34/image_10122025_11_34_55_9573.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 11:36:32.221287 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/11/36/image_10122025_11_36_44_9646.jpg', 2), ('/home/nano/Desktop/images/10122025/11/36/image_10122025_11_36_35_10636.jpg', 2), ('/home/nano/Desktop/images/10122025/11/36/image_10122025_11_36_24_9658.jpg', 2), ('/home/nano/Desktop/images/10122025/11/36/image_10122025_11_36_14_9649.jpg', 2), ('/home/nano/Desktop/images/10122025/11/35/image_10122025_11_36_05_10678.jpg', 2), ('/home/nano/Desktop/images/10122025/11/35/image_10122025_11_35_54_9591.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 11:37:03.146036 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/11/36/image_10122025_11_36_44_9646.jpg', 2), ('/home/nano/Desktop/images/10122025/11/36/image_10122025_11_36_35_10636.jpg', 2), ('/home/nano/Desktop/images/10122025/11/36/image_10122025_11_36_24_9658.jpg', 2), ('/home/nano/Desktop/images/10122025/11/36/image_10122025_11_36_14_9649.jpg', 2), ('/home/nano/Desktop/images/10122025/11/35/image_10122025_11_36_05_10678.jpg', 2), ('/home/nano/Desktop/images/10122025/11/35/image_10122025_11_35_54_9591.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 11:37:32.321986 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/11/37/image_10122025_11_37_44_9675.jpg', 2), ('/home/nano/Desktop/images/10122025/11/37/image_10122025_11_37_35_9663.jpg', 2), ('/home/nano/Desktop/images/10122025/11/37/image_10122025_11_37_25_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/11/37/image_10122025_11_37_14_9636.jpg', 2), ('/home/nano/Desktop/images/10122025/11/36/image_10122025_11_37_05_9663.jpg', 2), ('/home/nano/Desktop/images/10122025/11/36/image_10122025_11_36_55_10613.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 11:38:02.758806 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/11/37/image_10122025_11_37_44_9675.jpg', 2), ('/home/nano/Desktop/images/10122025/11/37/image_10122025_11_37_35_9663.jpg', 2), ('/home/nano/Desktop/images/10122025/11/37/image_10122025_11_37_25_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/11/37/image_10122025_11_37_14_9636.jpg', 2), ('/home/nano/Desktop/images/10122025/11/36/image_10122025_11_37_05_9663.jpg', 2), ('/home/nano/Desktop/images/10122025/11/36/image_10122025_11_36_55_10613.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 11:38:32.492139 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/11/38/image_10122025_11_38_44_9639.jpg', 2), ('/home/nano/Desktop/images/10122025/11/38/image_10122025_11_38_35_9655.jpg', 2), ('/home/nano/Desktop/images/10122025/11/38/image_10122025_11_38_25_10648.jpg', 2), ('/home/nano/Desktop/images/10122025/11/38/image_10122025_11_38_14_9684.jpg', 2), ('/home/nano/Desktop/images/10122025/11/37/image_10122025_11_38_05_9673.jpg', 2), ('/home/nano/Desktop/images/10122025/11/37/image_10122025_11_37_55_10625.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 11:39:03.570922 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/11/38/image_10122025_11_38_44_9639.jpg', 2), ('/home/nano/Desktop/images/10122025/11/38/image_10122025_11_38_35_9655.jpg', 2), ('/home/nano/Desktop/images/10122025/11/38/image_10122025_11_38_25_10648.jpg', 2), ('/home/nano/Desktop/images/10122025/11/38/image_10122025_11_38_14_9684.jpg', 2), ('/home/nano/Desktop/images/10122025/11/37/image_10122025_11_38_05_9673.jpg', 2), ('/home/nano/Desktop/images/10122025/11/37/image_10122025_11_37_55_10625.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 11:39:32.576683 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/11/39/image_10122025_11_39_44_9676.jpg', 2), ('/home/nano/Desktop/images/10122025/11/39/image_10122025_11_39_35_9658.jpg', 2), ('/home/nano/Desktop/images/10122025/11/39/image_10122025_11_39_25_10701.jpg', 2), ('/home/nano/Desktop/images/10122025/11/39/image_10122025_11_39_14_9673.jpg', 2), ('/home/nano/Desktop/images/10122025/11/38/image_10122025_11_39_05_9660.jpg', 2), ('/home/nano/Desktop/images/10122025/11/38/image_10122025_11_38_55_10682.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 11:40:03.229767 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/11/39/image_10122025_11_39_44_9676.jpg', 2), ('/home/nano/Desktop/images/10122025/11/39/image_10122025_11_39_35_9658.jpg', 2), ('/home/nano/Desktop/images/10122025/11/39/image_10122025_11_39_25_10701.jpg', 2), ('/home/nano/Desktop/images/10122025/11/39/image_10122025_11_39_14_9673.jpg', 2), ('/home/nano/Desktop/images/10122025/11/38/image_10122025_11_39_05_9660.jpg', 2), ('/home/nano/Desktop/images/10122025/11/38/image_10122025_11_38_55_10682.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 11:40:32.672928 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/11/40/image_10122025_11_40_44_9635.jpg', 2), ('/home/nano/Desktop/images/10122025/11/40/image_10122025_11_40_35_9672.jpg', 2), ('/home/nano/Desktop/images/10122025/11/40/image_10122025_11_40_25_10640.jpg', 2), ('/home/nano/Desktop/images/10122025/11/40/image_10122025_11_40_14_9650.jpg', 2), ('/home/nano/Desktop/images/10122025/11/39/image_10122025_11_40_05_9655.jpg', 2), ('/home/nano/Desktop/images/10122025/11/39/image_10122025_11_39_55_10717.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 11:41:02.441620 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/11/40/image_10122025_11_40_44_9635.jpg', 2), ('/home/nano/Desktop/images/10122025/11/40/image_10122025_11_40_35_9672.jpg', 2), ('/home/nano/Desktop/images/10122025/11/40/image_10122025_11_40_25_10640.jpg', 2), ('/home/nano/Desktop/images/10122025/11/40/image_10122025_11_40_14_9650.jpg', 2), ('/home/nano/Desktop/images/10122025/11/39/image_10122025_11_40_05_9655.jpg', 2), ('/home/nano/Desktop/images/10122025/11/39/image_10122025_11_39_55_10717.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 11:41:31.796815 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/11/41/image_10122025_11_41_44_9656.jpg', 2), ('/home/nano/Desktop/images/10122025/11/41/image_10122025_11_41_35_9649.jpg', 2), ('/home/nano/Desktop/images/10122025/11/41/image_10122025_11_41_25_10656.jpg', 2), ('/home/nano/Desktop/images/10122025/11/41/image_10122025_11_41_14_9673.jpg', 2), ('/home/nano/Desktop/images/10122025/11/40/image_10122025_11_41_05_9650.jpg', 2), ('/home/nano/Desktop/images/10122025/11/40/image_10122025_11_40_55_10670.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 11:42:02.440506 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/11/41/image_10122025_11_41_44_9656.jpg', 2), ('/home/nano/Desktop/images/10122025/11/41/image_10122025_11_41_35_9649.jpg', 2), ('/home/nano/Desktop/images/10122025/11/41/image_10122025_11_41_25_10656.jpg', 2), ('/home/nano/Desktop/images/10122025/11/41/image_10122025_11_41_14_9673.jpg', 2), ('/home/nano/Desktop/images/10122025/11/40/image_10122025_11_41_05_9650.jpg', 2), ('/home/nano/Desktop/images/10122025/11/40/image_10122025_11_40_55_10670.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 11:42:31.939768 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/11/42/image_10122025_11_42_44_9631.jpg', 2), ('/home/nano/Desktop/images/10122025/11/42/image_10122025_11_42_34_9661.jpg', 2), ('/home/nano/Desktop/images/10122025/11/42/image_10122025_11_42_25_10708.jpg', 2), ('/home/nano/Desktop/images/10122025/11/42/image_10122025_11_42_14_9656.jpg', 2), ('/home/nano/Desktop/images/10122025/11/41/image_10122025_11_42_04_9628.jpg', 2), ('/home/nano/Desktop/images/10122025/11/41/image_10122025_11_41_55_10663.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 11:43:02.696607 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/11/42/image_10122025_11_42_44_9631.jpg', 2), ('/home/nano/Desktop/images/10122025/11/42/image_10122025_11_42_34_9661.jpg', 2), ('/home/nano/Desktop/images/10122025/11/42/image_10122025_11_42_25_10708.jpg', 2), ('/home/nano/Desktop/images/10122025/11/42/image_10122025_11_42_14_9656.jpg', 2), ('/home/nano/Desktop/images/10122025/11/41/image_10122025_11_42_04_9628.jpg', 2), ('/home/nano/Desktop/images/10122025/11/41/image_10122025_11_41_55_10663.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 11:43:32.049785 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/11/43/image_10122025_11_43_45_10675.jpg', 2), ('/home/nano/Desktop/images/10122025/11/43/image_10122025_11_43_34_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/11/43/image_10122025_11_43_25_9661.jpg', 2), ('/home/nano/Desktop/images/10122025/11/43/image_10122025_11_43_15_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/11/42/image_10122025_11_43_04_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/11/42/image_10122025_11_42_55_10665.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 11:44:03.052627 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/11/43/image_10122025_11_43_45_10675.jpg', 2), ('/home/nano/Desktop/images/10122025/11/43/image_10122025_11_43_34_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/11/43/image_10122025_11_43_25_9661.jpg', 2), ('/home/nano/Desktop/images/10122025/11/43/image_10122025_11_43_15_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/11/42/image_10122025_11_43_04_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/11/42/image_10122025_11_42_55_10665.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 11:44:32.113951 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/11/44/image_10122025_11_44_45_10610.jpg', 2), ('/home/nano/Desktop/images/10122025/11/44/image_10122025_11_44_34_9600.jpg', 2), ('/home/nano/Desktop/images/10122025/11/44/image_10122025_11_44_25_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/11/44/image_10122025_11_44_15_10642.jpg', 2), ('/home/nano/Desktop/images/10122025/11/43/image_10122025_11_44_04_9665.jpg', 2), ('/home/nano/Desktop/images/10122025/11/43/image_10122025_11_43_55_9617.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 11:45:03.028447 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/11/44/image_10122025_11_44_45_10610.jpg', 2), ('/home/nano/Desktop/images/10122025/11/44/image_10122025_11_44_34_9600.jpg', 2), ('/home/nano/Desktop/images/10122025/11/44/image_10122025_11_44_25_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/11/44/image_10122025_11_44_15_10642.jpg', 2), ('/home/nano/Desktop/images/10122025/11/43/image_10122025_11_44_04_9665.jpg', 2), ('/home/nano/Desktop/images/10122025/11/43/image_10122025_11_43_55_9617.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 11:45:32.228681 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/11/45/image_10122025_11_45_44_9598.jpg', 2), ('/home/nano/Desktop/images/10122025/11/45/image_10122025_11_45_35_10606.jpg', 2), ('/home/nano/Desktop/images/10122025/11/45/image_10122025_11_45_24_9598.jpg', 2), ('/home/nano/Desktop/images/10122025/11/45/image_10122025_11_45_15_9615.jpg', 2), ('/home/nano/Desktop/images/10122025/11/44/image_10122025_11_45_05_10633.jpg', 2), ('/home/nano/Desktop/images/10122025/11/44/image_10122025_11_44_54_9600.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 11:46:02.947738 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/11/45/image_10122025_11_45_44_9598.jpg', 2), ('/home/nano/Desktop/images/10122025/11/45/image_10122025_11_45_35_10606.jpg', 2), ('/home/nano/Desktop/images/10122025/11/45/image_10122025_11_45_24_9598.jpg', 2), ('/home/nano/Desktop/images/10122025/11/45/image_10122025_11_45_15_9615.jpg', 2), ('/home/nano/Desktop/images/10122025/11/44/image_10122025_11_45_05_10633.jpg', 2), ('/home/nano/Desktop/images/10122025/11/44/image_10122025_11_44_54_9600.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 11:46:32.350698 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/11/46/image_10122025_11_46_45_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/11/46/image_10122025_11_46_34_9600.jpg', 2), ('/home/nano/Desktop/images/10122025/11/46/image_10122025_11_46_25_10609.jpg', 2), ('/home/nano/Desktop/images/10122025/11/46/image_10122025_11_46_14_9616.jpg', 2), ('/home/nano/Desktop/images/10122025/11/45/image_10122025_11_46_05_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/11/45/image_10122025_11_45_55_10607.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 11:47:03.241850 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/11/46/image_10122025_11_46_45_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/11/46/image_10122025_11_46_34_9600.jpg', 2), ('/home/nano/Desktop/images/10122025/11/46/image_10122025_11_46_25_10609.jpg', 2), ('/home/nano/Desktop/images/10122025/11/46/image_10122025_11_46_14_9616.jpg', 2), ('/home/nano/Desktop/images/10122025/11/45/image_10122025_11_46_05_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/11/45/image_10122025_11_45_55_10607.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 11:47:32.445069 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/11/47/image_10122025_11_47_45_10613.jpg', 2), ('/home/nano/Desktop/images/10122025/11/47/image_10122025_11_47_15_10619.jpg', 2), ('/home/nano/Desktop/images/10122025/11/46/image_10122025_11_47_04_9627.jpg', 2), ('/home/nano/Desktop/images/10122025/11/46/image_10122025_11_46_55_9595.jpg', 2), ('/home/nano/Desktop/images/10122025/11/46/image_10122025_11_46_45_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/11/46/image_10122025_11_46_34_9600.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 11:48:03.105515 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/11/47/image_10122025_11_47_45_10613.jpg', 2), ('/home/nano/Desktop/images/10122025/11/47/image_10122025_11_47_15_10619.jpg', 2), ('/home/nano/Desktop/images/10122025/11/46/image_10122025_11_47_04_9627.jpg', 2), ('/home/nano/Desktop/images/10122025/11/46/image_10122025_11_46_55_9595.jpg', 2), ('/home/nano/Desktop/images/10122025/11/46/image_10122025_11_46_45_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/11/46/image_10122025_11_46_34_9600.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 11:48:32.559461 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/11/48/image_10122025_11_48_45_9719.jpg', 2), ('/home/nano/Desktop/images/10122025/11/48/image_10122025_11_48_35_10648.jpg', 2), ('/home/nano/Desktop/images/10122025/11/48/image_10122025_11_48_24_9638.jpg', 2), ('/home/nano/Desktop/images/10122025/11/48/image_10122025_11_48_15_9666.jpg', 2), ('/home/nano/Desktop/images/10122025/11/47/image_10122025_11_48_05_10682.jpg', 2), ('/home/nano/Desktop/images/10122025/11/47/image_10122025_11_47_54_9642.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 11:49:03.666318 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/11/48/image_10122025_11_48_45_9719.jpg', 2), ('/home/nano/Desktop/images/10122025/11/48/image_10122025_11_48_35_10648.jpg', 2), ('/home/nano/Desktop/images/10122025/11/48/image_10122025_11_48_24_9638.jpg', 2), ('/home/nano/Desktop/images/10122025/11/48/image_10122025_11_48_15_9666.jpg', 2), ('/home/nano/Desktop/images/10122025/11/47/image_10122025_11_48_05_10682.jpg', 2), ('/home/nano/Desktop/images/10122025/11/47/image_10122025_11_47_54_9642.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 11:49:32.638671 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/11/49/image_10122025_11_49_45_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/11/49/image_10122025_11_49_35_10634.jpg', 2), ('/home/nano/Desktop/images/10122025/11/49/image_10122025_11_49_24_9651.jpg', 2), ('/home/nano/Desktop/images/10122025/11/49/image_10122025_11_49_15_9665.jpg', 2), ('/home/nano/Desktop/images/10122025/11/48/image_10122025_11_49_05_10673.jpg', 2), ('/home/nano/Desktop/images/10122025/11/48/image_10122025_11_48_54_9615.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 11:50:02.216594 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/11/49/image_10122025_11_49_45_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/11/49/image_10122025_11_49_35_10634.jpg', 2), ('/home/nano/Desktop/images/10122025/11/49/image_10122025_11_49_24_9651.jpg', 2), ('/home/nano/Desktop/images/10122025/11/49/image_10122025_11_49_15_9665.jpg', 2), ('/home/nano/Desktop/images/10122025/11/48/image_10122025_11_49_05_10673.jpg', 2), ('/home/nano/Desktop/images/10122025/11/48/image_10122025_11_48_54_9615.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 11:50:31.773407 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/11/50/image_10122025_11_50_45_9661.jpg', 2), ('/home/nano/Desktop/images/10122025/11/50/image_10122025_11_50_35_10634.jpg', 2), ('/home/nano/Desktop/images/10122025/11/50/image_10122025_11_50_24_9639.jpg', 2), ('/home/nano/Desktop/images/10122025/11/50/image_10122025_11_50_15_9667.jpg', 2), ('/home/nano/Desktop/images/10122025/11/49/image_10122025_11_50_05_10694.jpg', 2), ('/home/nano/Desktop/images/10122025/11/49/image_10122025_11_49_54_9652.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 11:51:02.614425 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/11/50/image_10122025_11_50_45_9661.jpg', 2), ('/home/nano/Desktop/images/10122025/11/50/image_10122025_11_50_35_10634.jpg', 2), ('/home/nano/Desktop/images/10122025/11/50/image_10122025_11_50_24_9639.jpg', 2), ('/home/nano/Desktop/images/10122025/11/50/image_10122025_11_50_15_9667.jpg', 2), ('/home/nano/Desktop/images/10122025/11/49/image_10122025_11_50_05_10694.jpg', 2), ('/home/nano/Desktop/images/10122025/11/49/image_10122025_11_49_54_9652.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 11:51:31.857882 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/11/51/image_10122025_11_51_44_9631.jpg', 2), ('/home/nano/Desktop/images/10122025/11/51/image_10122025_11_51_35_9662.jpg', 2), ('/home/nano/Desktop/images/10122025/11/51/image_10122025_11_51_25_10681.jpg', 2), ('/home/nano/Desktop/images/10122025/11/51/image_10122025_11_51_14_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/11/50/image_10122025_11_51_05_10652.jpg', 2), ('/home/nano/Desktop/images/10122025/11/50/image_10122025_11_50_54_9619.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 11:52:02.554843 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/11/51/image_10122025_11_51_44_9631.jpg', 2), ('/home/nano/Desktop/images/10122025/11/51/image_10122025_11_51_35_9662.jpg', 2), ('/home/nano/Desktop/images/10122025/11/51/image_10122025_11_51_25_10681.jpg', 2), ('/home/nano/Desktop/images/10122025/11/51/image_10122025_11_51_14_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/11/50/image_10122025_11_51_05_10652.jpg', 2), ('/home/nano/Desktop/images/10122025/11/50/image_10122025_11_50_54_9619.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 11:52:31.999039 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/11/52/image_10122025_11_52_44_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/11/52/image_10122025_11_52_34_9612.jpg', 2), ('/home/nano/Desktop/images/10122025/11/52/image_10122025_11_52_25_10620.jpg', 2), ('/home/nano/Desktop/images/10122025/11/52/image_10122025_11_52_14_9625.jpg', 2), ('/home/nano/Desktop/images/10122025/11/51/image_10122025_11_52_05_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/11/51/image_10122025_11_51_55_10663.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 11:53:02.885665 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/11/52/image_10122025_11_52_44_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/11/52/image_10122025_11_52_34_9612.jpg', 2), ('/home/nano/Desktop/images/10122025/11/52/image_10122025_11_52_25_10620.jpg', 2), ('/home/nano/Desktop/images/10122025/11/52/image_10122025_11_52_14_9625.jpg', 2), ('/home/nano/Desktop/images/10122025/11/51/image_10122025_11_52_05_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/11/51/image_10122025_11_51_55_10663.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 11:53:32.191734 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/11/53/image_10122025_11_53_45_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/11/53/image_10122025_11_53_34_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/11/53/image_10122025_11_53_25_9615.jpg', 2), ('/home/nano/Desktop/images/10122025/11/53/image_10122025_11_53_15_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/11/52/image_10122025_11_53_04_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/11/52/image_10122025_11_52_55_10621.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 11:54:03.169712 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/11/53/image_10122025_11_53_45_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/11/53/image_10122025_11_53_34_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/11/53/image_10122025_11_53_25_9615.jpg', 2), ('/home/nano/Desktop/images/10122025/11/53/image_10122025_11_53_15_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/11/52/image_10122025_11_53_04_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/11/52/image_10122025_11_52_55_10621.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 11:54:32.200507 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/11/54/image_10122025_11_54_44_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/11/54/image_10122025_11_54_35_10610.jpg', 2), ('/home/nano/Desktop/images/10122025/11/54/image_10122025_11_54_24_9602.jpg', 2), ('/home/nano/Desktop/images/10122025/11/54/image_10122025_11_54_15_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/11/53/image_10122025_11_54_05_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/11/53/image_10122025_11_53_54_9603.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 11:55:02.965870 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/11/54/image_10122025_11_54_44_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/11/54/image_10122025_11_54_35_10610.jpg', 2), ('/home/nano/Desktop/images/10122025/11/54/image_10122025_11_54_24_9602.jpg', 2), ('/home/nano/Desktop/images/10122025/11/54/image_10122025_11_54_15_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/11/53/image_10122025_11_54_05_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/11/53/image_10122025_11_53_54_9603.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 11:55:32.278455 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/11/55/image_10122025_11_55_44_9688.jpg', 2), ('/home/nano/Desktop/images/10122025/11/55/image_10122025_11_55_35_9724.jpg', 2), ('/home/nano/Desktop/images/10122025/11/55/image_10122025_11_55_25_10613.jpg', 2), ('/home/nano/Desktop/images/10122025/11/55/image_10122025_11_55_14_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/11/54/image_10122025_11_55_05_9613.jpg', 2), ('/home/nano/Desktop/images/10122025/11/54/image_10122025_11_54_55_10612.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 11:56:02.860815 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/11/55/image_10122025_11_55_44_9688.jpg', 2), ('/home/nano/Desktop/images/10122025/11/55/image_10122025_11_55_35_9724.jpg', 2), ('/home/nano/Desktop/images/10122025/11/55/image_10122025_11_55_25_10613.jpg', 2), ('/home/nano/Desktop/images/10122025/11/55/image_10122025_11_55_14_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/11/54/image_10122025_11_55_05_9613.jpg', 2), ('/home/nano/Desktop/images/10122025/11/54/image_10122025_11_54_55_10612.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 11:56:32.370799 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/11/56/image_10122025_11_56_44_9761.jpg', 2), ('/home/nano/Desktop/images/10122025/11/56/image_10122025_11_56_35_9634.jpg', 2), ('/home/nano/Desktop/images/10122025/11/56/image_10122025_11_56_25_10669.jpg', 2), ('/home/nano/Desktop/images/10122025/11/56/image_10122025_11_56_14_9657.jpg', 2), ('/home/nano/Desktop/images/10122025/11/55/image_10122025_11_56_05_9646.jpg', 2), ('/home/nano/Desktop/images/10122025/11/55/image_10122025_11_55_55_10690.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 11:57:03.292985 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/11/56/image_10122025_11_56_44_9761.jpg', 2), ('/home/nano/Desktop/images/10122025/11/56/image_10122025_11_56_35_9634.jpg', 2), ('/home/nano/Desktop/images/10122025/11/56/image_10122025_11_56_25_10669.jpg', 2), ('/home/nano/Desktop/images/10122025/11/56/image_10122025_11_56_14_9657.jpg', 2), ('/home/nano/Desktop/images/10122025/11/55/image_10122025_11_56_05_9646.jpg', 2), ('/home/nano/Desktop/images/10122025/11/55/image_10122025_11_55_55_10690.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 11:57:32.474523 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/11/57/image_10122025_11_57_35_9601.jpg', 2), ('/home/nano/Desktop/images/10122025/11/57/image_10122025_11_57_25_10655.jpg', 2), ('/home/nano/Desktop/images/10122025/11/57/image_10122025_11_57_14_9693.jpg', 2), ('/home/nano/Desktop/images/10122025/11/56/image_10122025_11_57_05_9640.jpg', 2), ('/home/nano/Desktop/images/10122025/11/56/image_10122025_11_56_55_10662.jpg', 2), ('/home/nano/Desktop/images/10122025/11/56/image_10122025_11_56_44_9761.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 11:58:02.949064 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/11/57/image_10122025_11_57_35_9601.jpg', 2), ('/home/nano/Desktop/images/10122025/11/57/image_10122025_11_57_25_10655.jpg', 2), ('/home/nano/Desktop/images/10122025/11/57/image_10122025_11_57_14_9693.jpg', 2), ('/home/nano/Desktop/images/10122025/11/56/image_10122025_11_57_05_9640.jpg', 2), ('/home/nano/Desktop/images/10122025/11/56/image_10122025_11_56_55_10662.jpg', 2), ('/home/nano/Desktop/images/10122025/11/56/image_10122025_11_56_44_9761.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 11:59:03.481874 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/11/57/image_10122025_11_57_35_9601.jpg', 2), ('/home/nano/Desktop/images/10122025/11/57/image_10122025_11_57_25_10655.jpg', 2), ('/home/nano/Desktop/images/10122025/11/57/image_10122025_11_57_14_9693.jpg', 2), ('/home/nano/Desktop/images/10122025/11/56/image_10122025_11_57_05_9640.jpg', 2), ('/home/nano/Desktop/images/10122025/11/56/image_10122025_11_56_55_10662.jpg', 2), ('/home/nano/Desktop/images/10122025/11/56/image_10122025_11_56_44_9761.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 11:59:32.477781 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/11/59/image_10122025_11_59_45_9615.jpg', 2), ('/home/nano/Desktop/images/10122025/11/59/image_10122025_11_59_35_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/11/59/image_10122025_11_59_24_9601.jpg', 2), ('/home/nano/Desktop/images/10122025/11/59/image_10122025_11_59_15_10623.jpg', 2), ('/home/nano/Desktop/images/10122025/11/58/image_10122025_11_59_04_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/11/58/image_10122025_11_58_55_9615.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 12:00:03.113662 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/11/59/image_10122025_11_59_45_9615.jpg', 2), ('/home/nano/Desktop/images/10122025/11/59/image_10122025_11_59_35_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/11/59/image_10122025_11_59_24_9601.jpg', 2), ('/home/nano/Desktop/images/10122025/11/59/image_10122025_11_59_15_10623.jpg', 2), ('/home/nano/Desktop/images/10122025/11/58/image_10122025_11_59_04_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/11/58/image_10122025_11_58_55_9615.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 12:00:32.636085 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/11/59/image_10122025_11_59_54_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/11/59/image_10122025_11_59_45_9615.jpg', 2), ('/home/nano/Desktop/images/10122025/11/59/image_10122025_11_59_35_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/11/59/image_10122025_11_59_24_9601.jpg', 2), ('/home/nano/Desktop/images/10122025/11/59/image_10122025_11_59_15_10623.jpg', 2), ('/home/nano/Desktop/images/10122025/11/58/image_10122025_11_59_04_9618.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 12:01:02.495708 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/11/59/image_10122025_11_59_54_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/11/59/image_10122025_11_59_45_9615.jpg', 2), ('/home/nano/Desktop/images/10122025/11/59/image_10122025_11_59_35_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/11/59/image_10122025_11_59_24_9601.jpg', 2), ('/home/nano/Desktop/images/10122025/11/59/image_10122025_11_59_15_10623.jpg', 2), ('/home/nano/Desktop/images/10122025/11/58/image_10122025_11_59_04_9618.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 12:01:31.764529 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/12/01/image_10122025_12_01_44_9626.jpg', 2), ('/home/nano/Desktop/images/10122025/11/59/image_10122025_12_00_05_10636.jpg', 2), ('/home/nano/Desktop/images/10122025/11/59/image_10122025_11_59_54_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/11/59/image_10122025_11_59_45_9615.jpg', 2), ('/home/nano/Desktop/images/10122025/11/59/image_10122025_11_59_35_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/11/59/image_10122025_11_59_24_9601.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 12:02:02.416104 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/12/01/image_10122025_12_01_44_9626.jpg', 2), ('/home/nano/Desktop/images/10122025/11/59/image_10122025_12_00_05_10636.jpg', 2), ('/home/nano/Desktop/images/10122025/11/59/image_10122025_11_59_54_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/11/59/image_10122025_11_59_45_9615.jpg', 2), ('/home/nano/Desktop/images/10122025/11/59/image_10122025_11_59_35_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/11/59/image_10122025_11_59_24_9601.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 12:02:31.880268 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/12/02/image_10122025_12_02_45_10633.jpg', 2), ('/home/nano/Desktop/images/10122025/12/02/image_10122025_12_02_34_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/12/02/image_10122025_12_02_25_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/12/02/image_10122025_12_02_14_9630.jpg', 2), ('/home/nano/Desktop/images/10122025/12/01/image_10122025_12_02_04_9598.jpg', 2), ('/home/nano/Desktop/images/10122025/12/01/image_10122025_12_01_55_10618.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 12:03:02.780007 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/12/02/image_10122025_12_02_45_10633.jpg', 2), ('/home/nano/Desktop/images/10122025/12/02/image_10122025_12_02_34_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/12/02/image_10122025_12_02_25_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/12/02/image_10122025_12_02_14_9630.jpg', 2), ('/home/nano/Desktop/images/10122025/12/01/image_10122025_12_02_04_9598.jpg', 2), ('/home/nano/Desktop/images/10122025/12/01/image_10122025_12_01_55_10618.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 12:03:31.980939 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/12/03/image_10122025_12_03_45_9613.jpg', 2), ('/home/nano/Desktop/images/10122025/12/03/image_10122025_12_03_35_10611.jpg', 2), ('/home/nano/Desktop/images/10122025/12/03/image_10122025_12_03_24_9629.jpg', 2), ('/home/nano/Desktop/images/10122025/12/03/image_10122025_12_03_15_10628.jpg', 2), ('/home/nano/Desktop/images/10122025/12/02/image_10122025_12_03_04_9625.jpg', 2), ('/home/nano/Desktop/images/10122025/12/02/image_10122025_12_02_55_9601.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 12:04:02.778218 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/12/03/image_10122025_12_03_45_9613.jpg', 2), ('/home/nano/Desktop/images/10122025/12/03/image_10122025_12_03_35_10611.jpg', 2), ('/home/nano/Desktop/images/10122025/12/03/image_10122025_12_03_24_9629.jpg', 2), ('/home/nano/Desktop/images/10122025/12/03/image_10122025_12_03_15_10628.jpg', 2), ('/home/nano/Desktop/images/10122025/12/02/image_10122025_12_03_04_9625.jpg', 2), ('/home/nano/Desktop/images/10122025/12/02/image_10122025_12_02_55_9601.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 12:04:32.121862 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/12/04/image_10122025_12_04_44_9598.jpg', 2), ('/home/nano/Desktop/images/10122025/12/04/image_10122025_12_04_35_10660.jpg', 2), ('/home/nano/Desktop/images/10122025/12/04/image_10122025_12_04_24_9615.jpg', 2), ('/home/nano/Desktop/images/10122025/12/04/image_10122025_12_04_15_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/12/03/image_10122025_12_04_05_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/12/03/image_10122025_12_03_54_9606.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 12:05:02.935142 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/12/04/image_10122025_12_04_44_9598.jpg', 2), ('/home/nano/Desktop/images/10122025/12/04/image_10122025_12_04_35_10660.jpg', 2), ('/home/nano/Desktop/images/10122025/12/04/image_10122025_12_04_24_9615.jpg', 2), ('/home/nano/Desktop/images/10122025/12/04/image_10122025_12_04_15_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/12/03/image_10122025_12_04_05_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/12/03/image_10122025_12_03_54_9606.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 12:05:32.215815 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/12/05/image_10122025_12_05_45_10613.jpg', 2), ('/home/nano/Desktop/images/10122025/12/05/image_10122025_12_05_34_9593.jpg', 2), ('/home/nano/Desktop/images/10122025/12/05/image_10122025_12_05_25_10601.jpg', 2), ('/home/nano/Desktop/images/10122025/12/05/image_10122025_12_05_14_9614.jpg', 2), ('/home/nano/Desktop/images/10122025/12/04/image_10122025_12_05_05_9612.jpg', 2), ('/home/nano/Desktop/images/10122025/12/04/image_10122025_12_04_55_10615.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 12:06:02.857647 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/12/05/image_10122025_12_05_45_10613.jpg', 2), ('/home/nano/Desktop/images/10122025/12/05/image_10122025_12_05_34_9593.jpg', 2), ('/home/nano/Desktop/images/10122025/12/05/image_10122025_12_05_25_10601.jpg', 2), ('/home/nano/Desktop/images/10122025/12/05/image_10122025_12_05_14_9614.jpg', 2), ('/home/nano/Desktop/images/10122025/12/04/image_10122025_12_05_05_9612.jpg', 2), ('/home/nano/Desktop/images/10122025/12/04/image_10122025_12_04_55_10615.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 12:06:32.308519 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/12/06/image_10122025_12_06_45_10639.jpg', 2), ('/home/nano/Desktop/images/10122025/12/06/image_10122025_12_06_34_9601.jpg', 2), ('/home/nano/Desktop/images/10122025/12/06/image_10122025_12_06_25_9657.jpg', 2), ('/home/nano/Desktop/images/10122025/12/06/image_10122025_12_06_15_10708.jpg', 2), ('/home/nano/Desktop/images/10122025/12/05/image_10122025_12_06_04_9636.jpg', 2), ('/home/nano/Desktop/images/10122025/12/05/image_10122025_12_05_55_9603.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 12:07:02.924988 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/12/06/image_10122025_12_06_45_10639.jpg', 2), ('/home/nano/Desktop/images/10122025/12/06/image_10122025_12_06_34_9601.jpg', 2), ('/home/nano/Desktop/images/10122025/12/06/image_10122025_12_06_25_9657.jpg', 2), ('/home/nano/Desktop/images/10122025/12/06/image_10122025_12_06_15_10708.jpg', 2), ('/home/nano/Desktop/images/10122025/12/05/image_10122025_12_06_04_9636.jpg', 2), ('/home/nano/Desktop/images/10122025/12/05/image_10122025_12_05_55_9603.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 12:07:32.426918 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/12/07/image_10122025_12_07_44_9793.jpg', 2), ('/home/nano/Desktop/images/10122025/12/07/image_10122025_12_07_34_9765.jpg', 2), ('/home/nano/Desktop/images/10122025/12/07/image_10122025_12_07_25_9780.jpg', 2), ('/home/nano/Desktop/images/10122025/12/07/image_10122025_12_07_15_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/12/06/image_10122025_12_07_04_9633.jpg', 2), ('/home/nano/Desktop/images/10122025/12/06/image_10122025_12_06_55_9617.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 12:08:03.103650 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/12/08/image_10122025_12_08_35_9633.jpg', 2), ('/home/nano/Desktop/images/10122025/12/07/image_10122025_12_07_44_9793.jpg', 2), ('/home/nano/Desktop/images/10122025/12/07/image_10122025_12_07_34_9765.jpg', 2), ('/home/nano/Desktop/images/10122025/12/07/image_10122025_12_07_25_9780.jpg', 2), ('/home/nano/Desktop/images/10122025/12/07/image_10122025_12_07_15_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/12/06/image_10122025_12_07_04_9633.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 12:08:32.524885 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/12/08/image_10122025_12_08_45_9851.jpg', 2), ('/home/nano/Desktop/images/10122025/12/08/image_10122025_12_08_35_9633.jpg', 2), ('/home/nano/Desktop/images/10122025/12/08/image_10122025_12_08_25_10758.jpg', 2), ('/home/nano/Desktop/images/10122025/12/08/image_10122025_12_08_14_9756.jpg', 2), ('/home/nano/Desktop/images/10122025/12/07/image_10122025_12_08_05_9739.jpg', 2), ('/home/nano/Desktop/images/10122025/12/07/image_10122025_12_07_55_10659.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 12:09:03.524646 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/12/08/image_10122025_12_08_45_9851.jpg', 2), ('/home/nano/Desktop/images/10122025/12/08/image_10122025_12_08_35_9633.jpg', 2), ('/home/nano/Desktop/images/10122025/12/08/image_10122025_12_08_25_10758.jpg', 2), ('/home/nano/Desktop/images/10122025/12/08/image_10122025_12_08_14_9756.jpg', 2), ('/home/nano/Desktop/images/10122025/12/07/image_10122025_12_08_05_9739.jpg', 2), ('/home/nano/Desktop/images/10122025/12/07/image_10122025_12_07_55_10659.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 12:09:32.637316 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/12/09/image_10122025_12_09_45_10753.jpg', 2), ('/home/nano/Desktop/images/10122025/12/09/image_10122025_12_09_34_9731.jpg', 2), ('/home/nano/Desktop/images/10122025/12/09/image_10122025_12_09_24_9727.jpg', 2), ('/home/nano/Desktop/images/10122025/12/09/image_10122025_12_09_15_9752.jpg', 2), ('/home/nano/Desktop/images/10122025/12/08/image_10122025_12_09_05_10736.jpg', 2), ('/home/nano/Desktop/images/10122025/12/08/image_10122025_12_08_54_9763.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 12:10:03.226646 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/12/09/image_10122025_12_09_45_10753.jpg', 2), ('/home/nano/Desktop/images/10122025/12/09/image_10122025_12_09_34_9731.jpg', 2), ('/home/nano/Desktop/images/10122025/12/09/image_10122025_12_09_24_9727.jpg', 2), ('/home/nano/Desktop/images/10122025/12/09/image_10122025_12_09_15_9752.jpg', 2), ('/home/nano/Desktop/images/10122025/12/08/image_10122025_12_09_05_10736.jpg', 2), ('/home/nano/Desktop/images/10122025/12/08/image_10122025_12_08_54_9763.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 12:10:32.723388 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/12/10/image_10122025_12_10_44_9731.jpg', 2), ('/home/nano/Desktop/images/10122025/12/10/image_10122025_12_10_34_9734.jpg', 2), ('/home/nano/Desktop/images/10122025/12/10/image_10122025_12_10_25_10635.jpg', 2), ('/home/nano/Desktop/images/10122025/12/10/image_10122025_12_10_14_9716.jpg', 2), ('/home/nano/Desktop/images/10122025/12/09/image_10122025_12_10_04_9659.jpg', 2), ('/home/nano/Desktop/images/10122025/12/09/image_10122025_12_09_55_9750.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 12:11:02.499718 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/12/10/image_10122025_12_10_44_9731.jpg', 2), ('/home/nano/Desktop/images/10122025/12/10/image_10122025_12_10_34_9734.jpg', 2), ('/home/nano/Desktop/images/10122025/12/10/image_10122025_12_10_25_10635.jpg', 2), ('/home/nano/Desktop/images/10122025/12/10/image_10122025_12_10_14_9716.jpg', 2), ('/home/nano/Desktop/images/10122025/12/09/image_10122025_12_10_04_9659.jpg', 2), ('/home/nano/Desktop/images/10122025/12/09/image_10122025_12_09_55_9750.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 12:11:31.844003 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/12/11/image_10122025_12_11_44_9743.jpg', 2), ('/home/nano/Desktop/images/10122025/12/11/image_10122025_12_11_35_9748.jpg', 2), ('/home/nano/Desktop/images/10122025/12/11/image_10122025_12_11_25_10678.jpg', 2), ('/home/nano/Desktop/images/10122025/12/11/image_10122025_12_11_14_9716.jpg', 2), ('/home/nano/Desktop/images/10122025/12/10/image_10122025_12_11_05_9710.jpg', 2), ('/home/nano/Desktop/images/10122025/12/10/image_10122025_12_10_55_10677.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 12:12:02.292866 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/12/11/image_10122025_12_11_44_9743.jpg', 2), ('/home/nano/Desktop/images/10122025/12/11/image_10122025_12_11_35_9748.jpg', 2), ('/home/nano/Desktop/images/10122025/12/11/image_10122025_12_11_25_10678.jpg', 2), ('/home/nano/Desktop/images/10122025/12/11/image_10122025_12_11_14_9716.jpg', 2), ('/home/nano/Desktop/images/10122025/12/10/image_10122025_12_11_05_9710.jpg', 2), ('/home/nano/Desktop/images/10122025/12/10/image_10122025_12_10_55_10677.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 12:12:32.024927 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/12/12/image_10122025_12_12_45_10681.jpg', 2), ('/home/nano/Desktop/images/10122025/12/12/image_10122025_12_12_34_9756.jpg', 2), ('/home/nano/Desktop/images/10122025/12/12/image_10122025_12_12_24_9746.jpg', 2), ('/home/nano/Desktop/images/10122025/12/12/image_10122025_12_12_15_9800.jpg', 2), ('/home/nano/Desktop/images/10122025/12/11/image_10122025_12_12_05_9776.jpg', 2), ('/home/nano/Desktop/images/10122025/12/11/image_10122025_12_11_55_10605.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 12:13:02.569889 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/12/12/image_10122025_12_12_45_10681.jpg', 2), ('/home/nano/Desktop/images/10122025/12/12/image_10122025_12_12_34_9756.jpg', 2), ('/home/nano/Desktop/images/10122025/12/12/image_10122025_12_12_24_9746.jpg', 2), ('/home/nano/Desktop/images/10122025/12/12/image_10122025_12_12_15_9800.jpg', 2), ('/home/nano/Desktop/images/10122025/12/11/image_10122025_12_12_05_9776.jpg', 2), ('/home/nano/Desktop/images/10122025/12/11/image_10122025_12_11_55_10605.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 12:13:32.098770 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/12/13/image_10122025_12_13_44_9738.jpg', 2), ('/home/nano/Desktop/images/10122025/12/13/image_10122025_12_13_34_9644.jpg', 2), ('/home/nano/Desktop/images/10122025/12/13/image_10122025_12_13_25_9710.jpg', 2), ('/home/nano/Desktop/images/10122025/12/13/image_10122025_12_13_15_10749.jpg', 2), ('/home/nano/Desktop/images/10122025/12/12/image_10122025_12_13_04_9725.jpg', 2), ('/home/nano/Desktop/images/10122025/12/12/image_10122025_12_12_55_9723.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 12:14:03.012118 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/12/13/image_10122025_12_13_44_9738.jpg', 2), ('/home/nano/Desktop/images/10122025/12/13/image_10122025_12_13_34_9644.jpg', 2), ('/home/nano/Desktop/images/10122025/12/13/image_10122025_12_13_25_9710.jpg', 2), ('/home/nano/Desktop/images/10122025/12/13/image_10122025_12_13_15_10749.jpg', 2), ('/home/nano/Desktop/images/10122025/12/12/image_10122025_12_13_04_9725.jpg', 2), ('/home/nano/Desktop/images/10122025/12/12/image_10122025_12_12_55_9723.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 12:14:32.244518 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/12/14/image_10122025_12_14_44_9655.jpg', 2), ('/home/nano/Desktop/images/10122025/12/14/image_10122025_12_14_35_9663.jpg', 2), ('/home/nano/Desktop/images/10122025/12/14/image_10122025_12_14_25_10650.jpg', 2), ('/home/nano/Desktop/images/10122025/12/14/image_10122025_12_14_14_9730.jpg', 2), ('/home/nano/Desktop/images/10122025/12/13/image_10122025_12_14_05_9720.jpg', 2), ('/home/nano/Desktop/images/10122025/12/13/image_10122025_12_13_55_10738.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 12:15:02.965974 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/12/14/image_10122025_12_14_44_9655.jpg', 2), ('/home/nano/Desktop/images/10122025/12/14/image_10122025_12_14_35_9663.jpg', 2), ('/home/nano/Desktop/images/10122025/12/14/image_10122025_12_14_25_10650.jpg', 2), ('/home/nano/Desktop/images/10122025/12/14/image_10122025_12_14_14_9730.jpg', 2), ('/home/nano/Desktop/images/10122025/12/13/image_10122025_12_14_05_9720.jpg', 2), ('/home/nano/Desktop/images/10122025/12/13/image_10122025_12_13_55_10738.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 12:15:32.228052 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/12/15/image_10122025_12_15_34_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/12/15/image_10122025_12_15_25_10649.jpg', 2), ('/home/nano/Desktop/images/10122025/12/15/image_10122025_12_15_14_9644.jpg', 2), ('/home/nano/Desktop/images/10122025/12/14/image_10122025_12_15_05_9614.jpg', 2), ('/home/nano/Desktop/images/10122025/12/14/image_10122025_12_14_55_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/12/14/image_10122025_12_14_44_9655.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 12:16:02.946727 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/12/15/image_10122025_12_15_34_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/12/15/image_10122025_12_15_25_10649.jpg', 2), ('/home/nano/Desktop/images/10122025/12/15/image_10122025_12_15_14_9644.jpg', 2), ('/home/nano/Desktop/images/10122025/12/14/image_10122025_12_15_05_9614.jpg', 2), ('/home/nano/Desktop/images/10122025/12/14/image_10122025_12_14_55_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/12/14/image_10122025_12_14_44_9655.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 12:16:32.353560 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/12/16/image_10122025_12_16_45_10606.jpg', 2), ('/home/nano/Desktop/images/10122025/12/16/image_10122025_12_16_34_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/12/16/image_10122025_12_16_25_9612.jpg', 2), ('/home/nano/Desktop/images/10122025/12/16/image_10122025_12_16_15_10642.jpg', 2), ('/home/nano/Desktop/images/10122025/12/15/image_10122025_12_16_04_9614.jpg', 2), ('/home/nano/Desktop/images/10122025/12/15/image_10122025_12_15_45_10618.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 12:17:03.220051 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/12/17/image_10122025_12_17_44_9598.jpg', 2), ('/home/nano/Desktop/images/10122025/12/16/image_10122025_12_16_45_10606.jpg', 2), ('/home/nano/Desktop/images/10122025/12/16/image_10122025_12_16_34_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/12/16/image_10122025_12_16_25_9612.jpg', 2), ('/home/nano/Desktop/images/10122025/12/16/image_10122025_12_16_15_10642.jpg', 2), ('/home/nano/Desktop/images/10122025/12/15/image_10122025_12_16_04_9614.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 12:17:32.425440 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/12/17/image_10122025_12_17_44_9598.jpg', 2), ('/home/nano/Desktop/images/10122025/12/17/image_10122025_12_17_35_10626.jpg', 2), ('/home/nano/Desktop/images/10122025/12/17/image_10122025_12_17_24_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/12/17/image_10122025_12_17_15_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/12/16/image_10122025_12_17_05_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/12/16/image_10122025_12_16_54_9603.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 12:18:03.001628 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/12/17/image_10122025_12_17_44_9598.jpg', 2), ('/home/nano/Desktop/images/10122025/12/17/image_10122025_12_17_35_10626.jpg', 2), ('/home/nano/Desktop/images/10122025/12/17/image_10122025_12_17_24_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/12/17/image_10122025_12_17_15_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/12/16/image_10122025_12_17_05_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/12/16/image_10122025_12_16_54_9603.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 12:18:32.512819 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/12/18/image_10122025_12_18_45_10602.jpg', 2), ('/home/nano/Desktop/images/10122025/12/18/image_10122025_12_18_34_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/12/18/image_10122025_12_18_25_10606.jpg', 2), ('/home/nano/Desktop/images/10122025/12/18/image_10122025_12_18_14_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/12/17/image_10122025_12_18_05_9625.jpg', 2), ('/home/nano/Desktop/images/10122025/12/17/image_10122025_12_17_55_10606.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 12:19:03.685607 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/12/18/image_10122025_12_18_45_10602.jpg', 2), ('/home/nano/Desktop/images/10122025/12/18/image_10122025_12_18_34_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/12/18/image_10122025_12_18_25_10606.jpg', 2), ('/home/nano/Desktop/images/10122025/12/18/image_10122025_12_18_14_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/12/17/image_10122025_12_18_05_9625.jpg', 2), ('/home/nano/Desktop/images/10122025/12/17/image_10122025_12_17_55_10606.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 12:19:32.646487 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/12/19/image_10122025_12_19_45_9599.jpg', 2), ('/home/nano/Desktop/images/10122025/12/19/image_10122025_12_19_35_10609.jpg', 2), ('/home/nano/Desktop/images/10122025/12/19/image_10122025_12_19_24_9589.jpg', 2), ('/home/nano/Desktop/images/10122025/12/19/image_10122025_12_19_15_10623.jpg', 2), ('/home/nano/Desktop/images/10122025/12/18/image_10122025_12_19_04_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/12/18/image_10122025_12_18_55_9592.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 12:20:03.231820 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/12/19/image_10122025_12_19_45_9599.jpg', 2), ('/home/nano/Desktop/images/10122025/12/19/image_10122025_12_19_35_10609.jpg', 2), ('/home/nano/Desktop/images/10122025/12/19/image_10122025_12_19_24_9589.jpg', 2), ('/home/nano/Desktop/images/10122025/12/19/image_10122025_12_19_15_10623.jpg', 2), ('/home/nano/Desktop/images/10122025/12/18/image_10122025_12_19_04_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/12/18/image_10122025_12_18_55_9592.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 12:20:32.735791 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/12/20/image_10122025_12_20_44_9597.jpg', 2), ('/home/nano/Desktop/images/10122025/12/20/image_10122025_12_20_35_10606.jpg', 2), ('/home/nano/Desktop/images/10122025/12/20/image_10122025_12_20_24_9600.jpg', 2), ('/home/nano/Desktop/images/10122025/12/20/image_10122025_12_20_15_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/12/19/image_10122025_12_20_05_10640.jpg', 2), ('/home/nano/Desktop/images/10122025/12/19/image_10122025_12_19_54_9596.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 12:21:02.529314 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/12/20/image_10122025_12_20_44_9597.jpg', 2), ('/home/nano/Desktop/images/10122025/12/20/image_10122025_12_20_35_10606.jpg', 2), ('/home/nano/Desktop/images/10122025/12/20/image_10122025_12_20_24_9600.jpg', 2), ('/home/nano/Desktop/images/10122025/12/20/image_10122025_12_20_15_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/12/19/image_10122025_12_20_05_10640.jpg', 2), ('/home/nano/Desktop/images/10122025/12/19/image_10122025_12_19_54_9596.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 12:21:31.860912 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/12/21/image_10122025_12_21_45_10619.jpg', 2), ('/home/nano/Desktop/images/10122025/12/21/image_10122025_12_21_34_9595.jpg', 2), ('/home/nano/Desktop/images/10122025/12/21/image_10122025_12_21_25_10605.jpg', 2), ('/home/nano/Desktop/images/10122025/12/21/image_10122025_12_21_14_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/12/20/image_10122025_12_21_05_9615.jpg', 2), ('/home/nano/Desktop/images/10122025/12/20/image_10122025_12_20_55_10610.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 12:22:02.567780 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/12/21/image_10122025_12_21_45_10619.jpg', 2), ('/home/nano/Desktop/images/10122025/12/21/image_10122025_12_21_34_9595.jpg', 2), ('/home/nano/Desktop/images/10122025/12/21/image_10122025_12_21_25_10605.jpg', 2), ('/home/nano/Desktop/images/10122025/12/21/image_10122025_12_21_14_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/12/20/image_10122025_12_21_05_9615.jpg', 2), ('/home/nano/Desktop/images/10122025/12/20/image_10122025_12_20_55_10610.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 12:22:32.005960 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/12/22/image_10122025_12_22_45_10613.jpg', 2), ('/home/nano/Desktop/images/10122025/12/22/image_10122025_12_22_34_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/12/22/image_10122025_12_22_24_9616.jpg', 2), ('/home/nano/Desktop/images/10122025/12/22/image_10122025_12_22_15_10652.jpg', 2), ('/home/nano/Desktop/images/10122025/12/21/image_10122025_12_21_55_9600.jpg', 2), ('/home/nano/Desktop/images/10122025/12/21/image_10122025_12_21_45_10619.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 12:23:02.778977 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/12/22/image_10122025_12_22_45_10613.jpg', 2), ('/home/nano/Desktop/images/10122025/12/22/image_10122025_12_22_34_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/12/22/image_10122025_12_22_24_9616.jpg', 2), ('/home/nano/Desktop/images/10122025/12/22/image_10122025_12_22_15_10652.jpg', 2), ('/home/nano/Desktop/images/10122025/12/21/image_10122025_12_21_55_9600.jpg', 2), ('/home/nano/Desktop/images/10122025/12/21/image_10122025_12_21_45_10619.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 12:23:32.040709 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/12/23/image_10122025_12_23_35_10610.jpg', 2), ('/home/nano/Desktop/images/10122025/12/23/image_10122025_12_23_24_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/12/23/image_10122025_12_23_15_9602.jpg', 2), ('/home/nano/Desktop/images/10122025/12/22/image_10122025_12_23_05_10634.jpg', 2), ('/home/nano/Desktop/images/10122025/12/22/image_10122025_12_22_54_9595.jpg', 2), ('/home/nano/Desktop/images/10122025/12/22/image_10122025_12_22_45_10613.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 12:24:03.096360 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/12/23/image_10122025_12_23_35_10610.jpg', 2), ('/home/nano/Desktop/images/10122025/12/23/image_10122025_12_23_24_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/12/23/image_10122025_12_23_15_9602.jpg', 2), ('/home/nano/Desktop/images/10122025/12/22/image_10122025_12_23_05_10634.jpg', 2), ('/home/nano/Desktop/images/10122025/12/22/image_10122025_12_22_54_9595.jpg', 2), ('/home/nano/Desktop/images/10122025/12/22/image_10122025_12_22_45_10613.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 12:24:32.145705 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/12/24/image_10122025_12_24_45_10619.jpg', 2), ('/home/nano/Desktop/images/10122025/12/24/image_10122025_12_24_34_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/12/24/image_10122025_12_24_25_10609.jpg', 2), ('/home/nano/Desktop/images/10122025/12/24/image_10122025_12_24_14_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/12/23/image_10122025_12_24_05_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/12/23/image_10122025_12_23_55_10609.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 12:25:02.911003 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/12/24/image_10122025_12_24_45_10619.jpg', 2), ('/home/nano/Desktop/images/10122025/12/24/image_10122025_12_24_34_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/12/24/image_10122025_12_24_25_10609.jpg', 2), ('/home/nano/Desktop/images/10122025/12/24/image_10122025_12_24_14_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/12/23/image_10122025_12_24_05_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/12/23/image_10122025_12_23_55_10609.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 12:25:32.267885 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/12/25/image_10122025_12_25_45_10619.jpg', 2), ('/home/nano/Desktop/images/10122025/12/25/image_10122025_12_25_34_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/12/25/image_10122025_12_25_25_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/12/25/image_10122025_12_25_15_10648.jpg', 2), ('/home/nano/Desktop/images/10122025/12/24/image_10122025_12_25_04_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/12/24/image_10122025_12_24_55_9606.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 12:26:02.980541 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/12/26/image_10122025_12_26_55_10612.jpg', 2), ('/home/nano/Desktop/images/10122025/12/25/image_10122025_12_25_45_10619.jpg', 2), ('/home/nano/Desktop/images/10122025/12/25/image_10122025_12_25_34_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/12/25/image_10122025_12_25_25_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/12/25/image_10122025_12_25_15_10648.jpg', 2), ('/home/nano/Desktop/images/10122025/12/24/image_10122025_12_25_04_9610.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 12:26:32.396623 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/12/26/image_10122025_12_26_55_10612.jpg', 2), ('/home/nano/Desktop/images/10122025/12/26/image_10122025_12_26_35_10610.jpg', 2), ('/home/nano/Desktop/images/10122025/12/26/image_10122025_12_26_24_9600.jpg', 2), ('/home/nano/Desktop/images/10122025/12/26/image_10122025_12_26_15_9626.jpg', 2), ('/home/nano/Desktop/images/10122025/12/25/image_10122025_12_26_05_10613.jpg', 2), ('/home/nano/Desktop/images/10122025/12/25/image_10122025_12_25_54_9610.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 12:27:03.205291 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/12/26/image_10122025_12_26_55_10612.jpg', 2), ('/home/nano/Desktop/images/10122025/12/26/image_10122025_12_26_35_10610.jpg', 2), ('/home/nano/Desktop/images/10122025/12/26/image_10122025_12_26_24_9600.jpg', 2), ('/home/nano/Desktop/images/10122025/12/26/image_10122025_12_26_15_9626.jpg', 2), ('/home/nano/Desktop/images/10122025/12/25/image_10122025_12_26_05_10613.jpg', 2), ('/home/nano/Desktop/images/10122025/12/25/image_10122025_12_25_54_9610.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 12:27:32.521253 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/12/27/image_10122025_12_27_44_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/12/27/image_10122025_12_27_35_9629.jpg', 2), ('/home/nano/Desktop/images/10122025/12/27/image_10122025_12_27_25_10603.jpg', 2), ('/home/nano/Desktop/images/10122025/12/27/image_10122025_12_27_14_9624.jpg', 2), ('/home/nano/Desktop/images/10122025/12/26/image_10122025_12_27_05_9616.jpg', 2), ('/home/nano/Desktop/images/10122025/12/26/image_10122025_12_26_55_10612.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 12:28:03.062165 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/12/27/image_10122025_12_27_44_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/12/27/image_10122025_12_27_35_9629.jpg', 2), ('/home/nano/Desktop/images/10122025/12/27/image_10122025_12_27_25_10603.jpg', 2), ('/home/nano/Desktop/images/10122025/12/27/image_10122025_12_27_14_9624.jpg', 2), ('/home/nano/Desktop/images/10122025/12/26/image_10122025_12_27_05_9616.jpg', 2), ('/home/nano/Desktop/images/10122025/12/26/image_10122025_12_26_55_10612.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 12:28:32.596540 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/12/28/image_10122025_12_28_25_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/12/28/image_10122025_12_28_15_10645.jpg', 2), ('/home/nano/Desktop/images/10122025/12/27/image_10122025_12_28_04_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/12/27/image_10122025_12_27_55_10629.jpg', 2), ('/home/nano/Desktop/images/10122025/12/27/image_10122025_12_27_44_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/12/27/image_10122025_12_27_35_9629.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 12:29:03.771739 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/12/28/image_10122025_12_28_25_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/12/28/image_10122025_12_28_15_10645.jpg', 2), ('/home/nano/Desktop/images/10122025/12/27/image_10122025_12_28_04_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/12/27/image_10122025_12_27_55_10629.jpg', 2), ('/home/nano/Desktop/images/10122025/12/27/image_10122025_12_27_44_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/12/27/image_10122025_12_27_35_9629.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 12:29:32.723253 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/12/29/image_10122025_12_29_24_9632.jpg', 2), ('/home/nano/Desktop/images/10122025/12/29/image_10122025_12_29_15_10644.jpg', 2), ('/home/nano/Desktop/images/10122025/12/28/image_10122025_12_29_04_9625.jpg', 2), ('/home/nano/Desktop/images/10122025/12/28/image_10122025_12_28_34_9616.jpg', 2), ('/home/nano/Desktop/images/10122025/12/28/image_10122025_12_28_25_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/12/28/image_10122025_12_28_15_10645.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 12:30:02.438438 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/12/29/image_10122025_12_29_24_9632.jpg', 2), ('/home/nano/Desktop/images/10122025/12/29/image_10122025_12_29_15_10644.jpg', 2), ('/home/nano/Desktop/images/10122025/12/28/image_10122025_12_29_04_9625.jpg', 2), ('/home/nano/Desktop/images/10122025/12/28/image_10122025_12_28_34_9616.jpg', 2), ('/home/nano/Desktop/images/10122025/12/28/image_10122025_12_28_25_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/12/28/image_10122025_12_28_15_10645.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 12:30:31.850021 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/12/30/image_10122025_12_30_44_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/12/30/image_10122025_12_30_35_10627.jpg', 2), ('/home/nano/Desktop/images/10122025/12/30/image_10122025_12_30_24_9615.jpg', 2), ('/home/nano/Desktop/images/10122025/12/30/image_10122025_12_30_15_9632.jpg', 2), ('/home/nano/Desktop/images/10122025/12/29/image_10122025_12_30_05_10655.jpg', 2), ('/home/nano/Desktop/images/10122025/12/29/image_10122025_12_29_35_10644.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 12:31:02.554035 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/12/30/image_10122025_12_30_44_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/12/30/image_10122025_12_30_35_10627.jpg', 2), ('/home/nano/Desktop/images/10122025/12/30/image_10122025_12_30_24_9615.jpg', 2), ('/home/nano/Desktop/images/10122025/12/30/image_10122025_12_30_15_9632.jpg', 2), ('/home/nano/Desktop/images/10122025/12/29/image_10122025_12_30_05_10655.jpg', 2), ('/home/nano/Desktop/images/10122025/12/29/image_10122025_12_29_35_10644.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 12:31:31.936657 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/12/31/image_10122025_12_31_44_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/12/31/image_10122025_12_31_35_9616.jpg', 2), ('/home/nano/Desktop/images/10122025/12/31/image_10122025_12_31_25_10626.jpg', 2), ('/home/nano/Desktop/images/10122025/12/30/image_10122025_12_31_05_10649.jpg', 2), ('/home/nano/Desktop/images/10122025/12/30/image_10122025_12_30_54_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/12/30/image_10122025_12_30_44_9617.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 12:32:02.565882 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/12/31/image_10122025_12_31_44_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/12/31/image_10122025_12_31_35_9616.jpg', 2), ('/home/nano/Desktop/images/10122025/12/31/image_10122025_12_31_25_10626.jpg', 2), ('/home/nano/Desktop/images/10122025/12/30/image_10122025_12_31_05_10649.jpg', 2), ('/home/nano/Desktop/images/10122025/12/30/image_10122025_12_30_54_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/12/30/image_10122025_12_30_44_9617.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 12:32:32.049216 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/12/32/image_10122025_12_32_14_9635.jpg', 2), ('/home/nano/Desktop/images/10122025/12/31/image_10122025_12_32_04_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/12/31/image_10122025_12_31_55_10625.jpg', 2), ('/home/nano/Desktop/images/10122025/12/31/image_10122025_12_31_44_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/12/31/image_10122025_12_31_35_9616.jpg', 2), ('/home/nano/Desktop/images/10122025/12/31/image_10122025_12_31_25_10626.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 12:33:02.788021 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/12/32/image_10122025_12_32_14_9635.jpg', 2), ('/home/nano/Desktop/images/10122025/12/31/image_10122025_12_32_04_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/12/31/image_10122025_12_31_55_10625.jpg', 2), ('/home/nano/Desktop/images/10122025/12/31/image_10122025_12_31_44_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/12/31/image_10122025_12_31_35_9616.jpg', 2), ('/home/nano/Desktop/images/10122025/12/31/image_10122025_12_31_25_10626.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 12:33:32.167730 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/12/32/image_10122025_12_32_14_9635.jpg', 2), ('/home/nano/Desktop/images/10122025/12/31/image_10122025_12_32_04_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/12/31/image_10122025_12_31_55_10625.jpg', 2), ('/home/nano/Desktop/images/10122025/12/31/image_10122025_12_31_44_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/12/31/image_10122025_12_31_35_9616.jpg', 2), ('/home/nano/Desktop/images/10122025/12/31/image_10122025_12_31_25_10626.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 12:34:03.112736 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/12/32/image_10122025_12_32_14_9635.jpg', 2), ('/home/nano/Desktop/images/10122025/12/31/image_10122025_12_32_04_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/12/31/image_10122025_12_31_55_10625.jpg', 2), ('/home/nano/Desktop/images/10122025/12/31/image_10122025_12_31_44_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/12/31/image_10122025_12_31_35_9616.jpg', 2), ('/home/nano/Desktop/images/10122025/12/31/image_10122025_12_31_25_10626.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 12:34:32.257544 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/12/34/image_10122025_12_34_24_9614.jpg', 2), ('/home/nano/Desktop/images/10122025/12/32/image_10122025_12_32_25_10624.jpg', 2), ('/home/nano/Desktop/images/10122025/12/32/image_10122025_12_32_14_9635.jpg', 2), ('/home/nano/Desktop/images/10122025/12/31/image_10122025_12_32_04_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/12/31/image_10122025_12_31_55_10625.jpg', 2), ('/home/nano/Desktop/images/10122025/12/31/image_10122025_12_31_44_9617.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 12:35:03.183687 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/12/34/image_10122025_12_34_24_9614.jpg', 2), ('/home/nano/Desktop/images/10122025/12/32/image_10122025_12_32_25_10624.jpg', 2), ('/home/nano/Desktop/images/10122025/12/32/image_10122025_12_32_14_9635.jpg', 2), ('/home/nano/Desktop/images/10122025/12/31/image_10122025_12_32_04_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/12/31/image_10122025_12_31_55_10625.jpg', 2), ('/home/nano/Desktop/images/10122025/12/31/image_10122025_12_31_44_9617.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 12:35:32.433998 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/12/35/image_10122025_12_35_44_9614.jpg', 2), ('/home/nano/Desktop/images/10122025/12/35/image_10122025_12_35_35_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/12/35/image_10122025_12_35_25_10626.jpg', 2), ('/home/nano/Desktop/images/10122025/12/35/image_10122025_12_35_14_9655.jpg', 2), ('/home/nano/Desktop/images/10122025/12/34/image_10122025_12_35_05_10638.jpg', 2), ('/home/nano/Desktop/images/10122025/12/34/image_10122025_12_34_35_10623.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 12:36:03.049331 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/12/35/image_10122025_12_35_44_9614.jpg', 2), ('/home/nano/Desktop/images/10122025/12/35/image_10122025_12_35_35_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/12/35/image_10122025_12_35_25_10626.jpg', 2), ('/home/nano/Desktop/images/10122025/12/35/image_10122025_12_35_14_9655.jpg', 2), ('/home/nano/Desktop/images/10122025/12/34/image_10122025_12_35_05_10638.jpg', 2), ('/home/nano/Desktop/images/10122025/12/34/image_10122025_12_34_35_10623.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 12:36:32.498718 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/12/35/image_10122025_12_35_55_10624.jpg', 2), ('/home/nano/Desktop/images/10122025/12/35/image_10122025_12_35_44_9614.jpg', 2), ('/home/nano/Desktop/images/10122025/12/35/image_10122025_12_35_35_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/12/35/image_10122025_12_35_25_10626.jpg', 2), ('/home/nano/Desktop/images/10122025/12/35/image_10122025_12_35_14_9655.jpg', 2), ('/home/nano/Desktop/images/10122025/12/34/image_10122025_12_35_05_10638.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 12:37:03.124847 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/12/35/image_10122025_12_35_55_10624.jpg', 2), ('/home/nano/Desktop/images/10122025/12/35/image_10122025_12_35_44_9614.jpg', 2), ('/home/nano/Desktop/images/10122025/12/35/image_10122025_12_35_35_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/12/35/image_10122025_12_35_25_10626.jpg', 2), ('/home/nano/Desktop/images/10122025/12/35/image_10122025_12_35_14_9655.jpg', 2), ('/home/nano/Desktop/images/10122025/12/34/image_10122025_12_35_05_10638.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 12:37:32.573436 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/12/37/image_10122025_12_37_45_10626.jpg', 2), ('/home/nano/Desktop/images/10122025/12/37/image_10122025_12_37_34_9634.jpg', 2), ('/home/nano/Desktop/images/10122025/12/36/image_10122025_12_37_04_9630.jpg', 2), ('/home/nano/Desktop/images/10122025/12/36/image_10122025_12_36_45_10625.jpg', 2), ('/home/nano/Desktop/images/10122025/12/35/image_10122025_12_35_55_10624.jpg', 2), ('/home/nano/Desktop/images/10122025/12/35/image_10122025_12_35_44_9614.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 12:38:03.216960 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/12/37/image_10122025_12_37_45_10626.jpg', 2), ('/home/nano/Desktop/images/10122025/12/37/image_10122025_12_37_34_9634.jpg', 2), ('/home/nano/Desktop/images/10122025/12/36/image_10122025_12_37_04_9630.jpg', 2), ('/home/nano/Desktop/images/10122025/12/36/image_10122025_12_36_45_10625.jpg', 2), ('/home/nano/Desktop/images/10122025/12/35/image_10122025_12_35_55_10624.jpg', 2), ('/home/nano/Desktop/images/10122025/12/35/image_10122025_12_35_44_9614.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 12:38:32.751458 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/12/37/image_10122025_12_38_05_10633.jpg', 2), ('/home/nano/Desktop/images/10122025/12/37/image_10122025_12_37_54_9613.jpg', 2), ('/home/nano/Desktop/images/10122025/12/37/image_10122025_12_37_45_10626.jpg', 2), ('/home/nano/Desktop/images/10122025/12/37/image_10122025_12_37_34_9634.jpg', 2), ('/home/nano/Desktop/images/10122025/12/36/image_10122025_12_37_04_9630.jpg', 2), ('/home/nano/Desktop/images/10122025/12/36/image_10122025_12_36_45_10625.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 12:39:02.796755 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/12/37/image_10122025_12_38_05_10633.jpg', 2), ('/home/nano/Desktop/images/10122025/12/37/image_10122025_12_37_54_9613.jpg', 2), ('/home/nano/Desktop/images/10122025/12/37/image_10122025_12_37_45_10626.jpg', 2), ('/home/nano/Desktop/images/10122025/12/37/image_10122025_12_37_34_9634.jpg', 2), ('/home/nano/Desktop/images/10122025/12/36/image_10122025_12_37_04_9630.jpg', 2), ('/home/nano/Desktop/images/10122025/12/36/image_10122025_12_36_45_10625.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 12:39:31.786030 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/12/39/image_10122025_12_39_44_9631.jpg', 2), ('/home/nano/Desktop/images/10122025/12/39/image_10122025_12_39_35_10626.jpg', 2), ('/home/nano/Desktop/images/10122025/12/39/image_10122025_12_39_24_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/12/39/image_10122025_12_39_14_9631.jpg', 2), ('/home/nano/Desktop/images/10122025/12/38/image_10122025_12_39_05_10648.jpg', 2), ('/home/nano/Desktop/images/10122025/12/38/image_10122025_12_38_54_9617.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 12:40:02.414908 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/12/39/image_10122025_12_39_44_9631.jpg', 2), ('/home/nano/Desktop/images/10122025/12/39/image_10122025_12_39_35_10626.jpg', 2), ('/home/nano/Desktop/images/10122025/12/39/image_10122025_12_39_24_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/12/39/image_10122025_12_39_14_9631.jpg', 2), ('/home/nano/Desktop/images/10122025/12/38/image_10122025_12_39_05_10648.jpg', 2), ('/home/nano/Desktop/images/10122025/12/38/image_10122025_12_38_54_9617.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 12:40:31.954055 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/12/40/image_10122025_12_40_44_9615.jpg', 2), ('/home/nano/Desktop/images/10122025/12/39/image_10122025_12_39_55_10624.jpg', 2), ('/home/nano/Desktop/images/10122025/12/39/image_10122025_12_39_44_9631.jpg', 2), ('/home/nano/Desktop/images/10122025/12/39/image_10122025_12_39_35_10626.jpg', 2), ('/home/nano/Desktop/images/10122025/12/39/image_10122025_12_39_24_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/12/39/image_10122025_12_39_14_9631.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 12:41:02.796899 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/12/40/image_10122025_12_40_44_9615.jpg', 2), ('/home/nano/Desktop/images/10122025/12/39/image_10122025_12_39_55_10624.jpg', 2), ('/home/nano/Desktop/images/10122025/12/39/image_10122025_12_39_44_9631.jpg', 2), ('/home/nano/Desktop/images/10122025/12/39/image_10122025_12_39_35_10626.jpg', 2), ('/home/nano/Desktop/images/10122025/12/39/image_10122025_12_39_24_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/12/39/image_10122025_12_39_14_9631.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 12:41:32.003446 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/12/41/image_10122025_12_41_45_10629.jpg', 2), ('/home/nano/Desktop/images/10122025/12/41/image_10122025_12_41_34_9616.jpg', 2), ('/home/nano/Desktop/images/10122025/12/41/image_10122025_12_41_25_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/12/41/image_10122025_12_41_15_10642.jpg', 2), ('/home/nano/Desktop/images/10122025/12/40/image_10122025_12_41_04_9625.jpg', 2), ('/home/nano/Desktop/images/10122025/12/40/image_10122025_12_40_55_10624.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 12:42:02.729423 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/12/41/image_10122025_12_41_45_10629.jpg', 2), ('/home/nano/Desktop/images/10122025/12/41/image_10122025_12_41_34_9616.jpg', 2), ('/home/nano/Desktop/images/10122025/12/41/image_10122025_12_41_25_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/12/41/image_10122025_12_41_15_10642.jpg', 2), ('/home/nano/Desktop/images/10122025/12/40/image_10122025_12_41_04_9625.jpg', 2), ('/home/nano/Desktop/images/10122025/12/40/image_10122025_12_40_55_10624.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 12:42:32.126790 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/12/42/image_10122025_12_42_35_10645.jpg', 2), ('/home/nano/Desktop/images/10122025/12/42/image_10122025_12_42_24_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/12/42/image_10122025_12_42_15_10644.jpg', 2), ('/home/nano/Desktop/images/10122025/12/41/image_10122025_12_42_04_9623.jpg', 2), ('/home/nano/Desktop/images/10122025/12/41/image_10122025_12_41_54_9614.jpg', 2), ('/home/nano/Desktop/images/10122025/12/41/image_10122025_12_41_45_10629.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 12:43:02.936523 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/12/42/image_10122025_12_42_35_10645.jpg', 2), ('/home/nano/Desktop/images/10122025/12/42/image_10122025_12_42_24_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/12/42/image_10122025_12_42_15_10644.jpg', 2), ('/home/nano/Desktop/images/10122025/12/41/image_10122025_12_42_04_9623.jpg', 2), ('/home/nano/Desktop/images/10122025/12/41/image_10122025_12_41_54_9614.jpg', 2), ('/home/nano/Desktop/images/10122025/12/41/image_10122025_12_41_45_10629.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 12:43:32.236416 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/12/43/image_10122025_12_43_44_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/12/43/image_10122025_12_43_35_10627.jpg', 2), ('/home/nano/Desktop/images/10122025/12/43/image_10122025_12_43_15_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/12/42/image_10122025_12_42_54_9615.jpg', 2), ('/home/nano/Desktop/images/10122025/12/42/image_10122025_12_42_35_10645.jpg', 2), ('/home/nano/Desktop/images/10122025/12/42/image_10122025_12_42_24_9617.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 12:44:03.035743 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/12/43/image_10122025_12_43_44_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/12/43/image_10122025_12_43_35_10627.jpg', 2), ('/home/nano/Desktop/images/10122025/12/43/image_10122025_12_43_15_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/12/42/image_10122025_12_42_54_9615.jpg', 2), ('/home/nano/Desktop/images/10122025/12/42/image_10122025_12_42_35_10645.jpg', 2), ('/home/nano/Desktop/images/10122025/12/42/image_10122025_12_42_24_9617.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 12:44:32.356526 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/12/44/image_10122025_12_44_44_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/12/44/image_10122025_12_44_35_9616.jpg', 2), ('/home/nano/Desktop/images/10122025/12/44/image_10122025_12_44_25_10625.jpg', 2), ('/home/nano/Desktop/images/10122025/12/44/image_10122025_12_44_14_9654.jpg', 2), ('/home/nano/Desktop/images/10122025/12/43/image_10122025_12_43_55_10624.jpg', 2), ('/home/nano/Desktop/images/10122025/12/43/image_10122025_12_43_44_9619.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 12:45:02.986551 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/12/44/image_10122025_12_44_44_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/12/44/image_10122025_12_44_35_9616.jpg', 2), ('/home/nano/Desktop/images/10122025/12/44/image_10122025_12_44_25_10625.jpg', 2), ('/home/nano/Desktop/images/10122025/12/44/image_10122025_12_44_14_9654.jpg', 2), ('/home/nano/Desktop/images/10122025/12/43/image_10122025_12_43_55_10624.jpg', 2), ('/home/nano/Desktop/images/10122025/12/43/image_10122025_12_43_44_9619.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 12:45:32.452524 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/12/45/image_10122025_12_45_45_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/12/45/image_10122025_12_45_34_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/12/45/image_10122025_12_45_25_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/12/45/image_10122025_12_45_15_10620.jpg', 2), ('/home/nano/Desktop/images/10122025/12/44/image_10122025_12_45_04_9635.jpg', 2), ('/home/nano/Desktop/images/10122025/12/44/image_10122025_12_44_55_10622.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 12:46:03.106305 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/12/45/image_10122025_12_45_45_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/12/45/image_10122025_12_45_34_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/12/45/image_10122025_12_45_25_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/12/45/image_10122025_12_45_15_10620.jpg', 2), ('/home/nano/Desktop/images/10122025/12/44/image_10122025_12_45_04_9635.jpg', 2), ('/home/nano/Desktop/images/10122025/12/44/image_10122025_12_44_55_10622.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 12:46:32.545663 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/12/46/image_10122025_12_46_45_10727.jpg', 2), ('/home/nano/Desktop/images/10122025/12/46/image_10122025_12_46_34_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/12/46/image_10122025_12_46_24_9660.jpg', 2), ('/home/nano/Desktop/images/10122025/12/46/image_10122025_12_46_15_10713.jpg', 2), ('/home/nano/Desktop/images/10122025/12/45/image_10122025_12_46_04_9658.jpg', 2), ('/home/nano/Desktop/images/10122025/12/45/image_10122025_12_45_54_9599.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 12:47:03.252631 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/12/46/image_10122025_12_46_45_10727.jpg', 2), ('/home/nano/Desktop/images/10122025/12/46/image_10122025_12_46_34_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/12/46/image_10122025_12_46_24_9660.jpg', 2), ('/home/nano/Desktop/images/10122025/12/46/image_10122025_12_46_15_10713.jpg', 2), ('/home/nano/Desktop/images/10122025/12/45/image_10122025_12_46_04_9658.jpg', 2), ('/home/nano/Desktop/images/10122025/12/45/image_10122025_12_45_54_9599.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 12:47:32.609021 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/12/47/image_10122025_12_47_45_10627.jpg', 2), ('/home/nano/Desktop/images/10122025/12/47/image_10122025_12_47_34_9687.jpg', 2), ('/home/nano/Desktop/images/10122025/12/47/image_10122025_12_47_25_9699.jpg', 2), ('/home/nano/Desktop/images/10122025/12/47/image_10122025_12_47_15_10766.jpg', 2), ('/home/nano/Desktop/images/10122025/12/46/image_10122025_12_47_04_9697.jpg', 2), ('/home/nano/Desktop/images/10122025/12/46/image_10122025_12_46_54_9622.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 12:48:03.056615 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/12/47/image_10122025_12_47_45_10627.jpg', 2), ('/home/nano/Desktop/images/10122025/12/47/image_10122025_12_47_34_9687.jpg', 2), ('/home/nano/Desktop/images/10122025/12/47/image_10122025_12_47_25_9699.jpg', 2), ('/home/nano/Desktop/images/10122025/12/47/image_10122025_12_47_15_10766.jpg', 2), ('/home/nano/Desktop/images/10122025/12/46/image_10122025_12_47_04_9697.jpg', 2), ('/home/nano/Desktop/images/10122025/12/46/image_10122025_12_46_54_9622.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 12:48:32.706308 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/12/48/image_10122025_12_48_45_10695.jpg', 2), ('/home/nano/Desktop/images/10122025/12/48/image_10122025_12_48_34_9636.jpg', 2), ('/home/nano/Desktop/images/10122025/12/48/image_10122025_12_48_25_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/12/48/image_10122025_12_48_15_10655.jpg', 2), ('/home/nano/Desktop/images/10122025/12/47/image_10122025_12_48_04_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/12/47/image_10122025_12_47_55_9699.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 12:49:02.692064 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/12/48/image_10122025_12_48_45_10695.jpg', 2), ('/home/nano/Desktop/images/10122025/12/48/image_10122025_12_48_34_9636.jpg', 2), ('/home/nano/Desktop/images/10122025/12/48/image_10122025_12_48_25_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/12/48/image_10122025_12_48_15_10655.jpg', 2), ('/home/nano/Desktop/images/10122025/12/47/image_10122025_12_48_04_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/12/47/image_10122025_12_47_55_9699.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 12:49:31.803481 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/12/49/image_10122025_12_49_45_10652.jpg', 2), ('/home/nano/Desktop/images/10122025/12/49/image_10122025_12_49_34_9708.jpg', 2), ('/home/nano/Desktop/images/10122025/12/49/image_10122025_12_49_25_9663.jpg', 2), ('/home/nano/Desktop/images/10122025/12/49/image_10122025_12_49_15_10749.jpg', 2), ('/home/nano/Desktop/images/10122025/12/48/image_10122025_12_49_04_9719.jpg', 2), ('/home/nano/Desktop/images/10122025/12/48/image_10122025_12_48_54_9637.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 12:50:02.541185 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/12/49/image_10122025_12_49_45_10652.jpg', 2), ('/home/nano/Desktop/images/10122025/12/49/image_10122025_12_49_34_9708.jpg', 2), ('/home/nano/Desktop/images/10122025/12/49/image_10122025_12_49_25_9663.jpg', 2), ('/home/nano/Desktop/images/10122025/12/49/image_10122025_12_49_15_10749.jpg', 2), ('/home/nano/Desktop/images/10122025/12/48/image_10122025_12_49_04_9719.jpg', 2), ('/home/nano/Desktop/images/10122025/12/48/image_10122025_12_48_54_9637.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 12:50:31.933052 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/12/50/image_10122025_12_50_45_10625.jpg', 2), ('/home/nano/Desktop/images/10122025/12/50/image_10122025_12_50_34_9671.jpg', 2), ('/home/nano/Desktop/images/10122025/12/50/image_10122025_12_50_25_9633.jpg', 2), ('/home/nano/Desktop/images/10122025/12/50/image_10122025_12_50_15_10666.jpg', 2), ('/home/nano/Desktop/images/10122025/12/49/image_10122025_12_50_04_9653.jpg', 2), ('/home/nano/Desktop/images/10122025/12/49/image_10122025_12_49_55_9692.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 12:51:02.785215 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/12/50/image_10122025_12_50_45_10625.jpg', 2), ('/home/nano/Desktop/images/10122025/12/50/image_10122025_12_50_34_9671.jpg', 2), ('/home/nano/Desktop/images/10122025/12/50/image_10122025_12_50_25_9633.jpg', 2), ('/home/nano/Desktop/images/10122025/12/50/image_10122025_12_50_15_10666.jpg', 2), ('/home/nano/Desktop/images/10122025/12/49/image_10122025_12_50_04_9653.jpg', 2), ('/home/nano/Desktop/images/10122025/12/49/image_10122025_12_49_55_9692.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 12:51:32.072437 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/12/51/image_10122025_12_51_44_9717.jpg', 2), ('/home/nano/Desktop/images/10122025/12/51/image_10122025_12_51_34_9770.jpg', 2), ('/home/nano/Desktop/images/10122025/12/51/image_10122025_12_51_25_9704.jpg', 2), ('/home/nano/Desktop/images/10122025/12/51/image_10122025_12_51_15_10664.jpg', 2), ('/home/nano/Desktop/images/10122025/12/50/image_10122025_12_51_04_9711.jpg', 2), ('/home/nano/Desktop/images/10122025/12/50/image_10122025_12_50_55_9655.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 12:52:02.688048 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/12/51/image_10122025_12_51_44_9717.jpg', 2), ('/home/nano/Desktop/images/10122025/12/51/image_10122025_12_51_34_9770.jpg', 2), ('/home/nano/Desktop/images/10122025/12/51/image_10122025_12_51_25_9704.jpg', 2), ('/home/nano/Desktop/images/10122025/12/51/image_10122025_12_51_15_10664.jpg', 2), ('/home/nano/Desktop/images/10122025/12/50/image_10122025_12_51_04_9711.jpg', 2), ('/home/nano/Desktop/images/10122025/12/50/image_10122025_12_50_55_9655.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 12:52:32.126881 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/12/52/image_10122025_12_52_44_9684.jpg', 2), ('/home/nano/Desktop/images/10122025/12/52/image_10122025_12_52_35_9701.jpg', 2), ('/home/nano/Desktop/images/10122025/12/52/image_10122025_12_52_25_10707.jpg', 2), ('/home/nano/Desktop/images/10122025/12/52/image_10122025_12_52_14_9740.jpg', 2), ('/home/nano/Desktop/images/10122025/12/51/image_10122025_12_52_05_9711.jpg', 2), ('/home/nano/Desktop/images/10122025/12/51/image_10122025_12_51_55_10725.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 12:53:02.884205 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/12/52/image_10122025_12_52_44_9684.jpg', 2), ('/home/nano/Desktop/images/10122025/12/52/image_10122025_12_52_35_9701.jpg', 2), ('/home/nano/Desktop/images/10122025/12/52/image_10122025_12_52_25_10707.jpg', 2), ('/home/nano/Desktop/images/10122025/12/52/image_10122025_12_52_14_9740.jpg', 2), ('/home/nano/Desktop/images/10122025/12/51/image_10122025_12_52_05_9711.jpg', 2), ('/home/nano/Desktop/images/10122025/12/51/image_10122025_12_51_55_10725.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 12:53:32.239123 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/12/53/image_10122025_12_53_44_9629.jpg', 2), ('/home/nano/Desktop/images/10122025/12/53/image_10122025_12_53_35_9599.jpg', 2), ('/home/nano/Desktop/images/10122025/12/53/image_10122025_12_53_25_10602.jpg', 2), ('/home/nano/Desktop/images/10122025/12/53/image_10122025_12_53_14_9631.jpg', 2), ('/home/nano/Desktop/images/10122025/12/52/image_10122025_12_53_05_9623.jpg', 2), ('/home/nano/Desktop/images/10122025/12/52/image_10122025_12_52_55_10648.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 12:54:03.211998 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/12/53/image_10122025_12_53_44_9629.jpg', 2), ('/home/nano/Desktop/images/10122025/12/53/image_10122025_12_53_35_9599.jpg', 2), ('/home/nano/Desktop/images/10122025/12/53/image_10122025_12_53_25_10602.jpg', 2), ('/home/nano/Desktop/images/10122025/12/53/image_10122025_12_53_14_9631.jpg', 2), ('/home/nano/Desktop/images/10122025/12/52/image_10122025_12_53_05_9623.jpg', 2), ('/home/nano/Desktop/images/10122025/12/52/image_10122025_12_52_55_10648.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 12:54:32.334224 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/12/54/image_10122025_12_54_34_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/12/54/image_10122025_12_54_25_9599.jpg', 2), ('/home/nano/Desktop/images/10122025/12/54/image_10122025_12_54_15_10627.jpg', 2), ('/home/nano/Desktop/images/10122025/12/53/image_10122025_12_54_04_9602.jpg', 2), ('/home/nano/Desktop/images/10122025/12/53/image_10122025_12_53_55_10613.jpg', 2), ('/home/nano/Desktop/images/10122025/12/53/image_10122025_12_53_44_9629.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 12:55:03.189854 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/12/54/image_10122025_12_54_34_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/12/54/image_10122025_12_54_25_9599.jpg', 2), ('/home/nano/Desktop/images/10122025/12/54/image_10122025_12_54_15_10627.jpg', 2), ('/home/nano/Desktop/images/10122025/12/53/image_10122025_12_54_04_9602.jpg', 2), ('/home/nano/Desktop/images/10122025/12/53/image_10122025_12_53_55_10613.jpg', 2), ('/home/nano/Desktop/images/10122025/12/53/image_10122025_12_53_44_9629.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 12:55:32.440285 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/12/54/image_10122025_12_54_54_9613.jpg', 2), ('/home/nano/Desktop/images/10122025/12/54/image_10122025_12_54_34_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/12/54/image_10122025_12_54_25_9599.jpg', 2), ('/home/nano/Desktop/images/10122025/12/54/image_10122025_12_54_15_10627.jpg', 2), ('/home/nano/Desktop/images/10122025/12/53/image_10122025_12_54_04_9602.jpg', 2), ('/home/nano/Desktop/images/10122025/12/53/image_10122025_12_53_55_10613.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 12:56:03.175385 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/12/54/image_10122025_12_54_54_9613.jpg', 2), ('/home/nano/Desktop/images/10122025/12/54/image_10122025_12_54_34_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/12/54/image_10122025_12_54_25_9599.jpg', 2), ('/home/nano/Desktop/images/10122025/12/54/image_10122025_12_54_15_10627.jpg', 2), ('/home/nano/Desktop/images/10122025/12/53/image_10122025_12_54_04_9602.jpg', 2), ('/home/nano/Desktop/images/10122025/12/53/image_10122025_12_53_55_10613.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 12:56:32.528265 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/12/55/image_10122025_12_56_05_10624.jpg', 2), ('/home/nano/Desktop/images/10122025/12/54/image_10122025_12_55_05_10626.jpg', 2), ('/home/nano/Desktop/images/10122025/12/54/image_10122025_12_54_54_9613.jpg', 2), ('/home/nano/Desktop/images/10122025/12/54/image_10122025_12_54_34_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/12/54/image_10122025_12_54_25_9599.jpg', 2), ('/home/nano/Desktop/images/10122025/12/54/image_10122025_12_54_15_10627.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 12:57:03.349146 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/12/55/image_10122025_12_56_05_10624.jpg', 2), ('/home/nano/Desktop/images/10122025/12/54/image_10122025_12_55_05_10626.jpg', 2), ('/home/nano/Desktop/images/10122025/12/54/image_10122025_12_54_54_9613.jpg', 2), ('/home/nano/Desktop/images/10122025/12/54/image_10122025_12_54_34_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/12/54/image_10122025_12_54_25_9599.jpg', 2), ('/home/nano/Desktop/images/10122025/12/54/image_10122025_12_54_15_10627.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 12:57:32.624588 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/12/57/image_10122025_12_57_45_10623.jpg', 2), ('/home/nano/Desktop/images/10122025/12/56/image_10122025_12_56_14_9627.jpg', 2), ('/home/nano/Desktop/images/10122025/12/55/image_10122025_12_56_05_10624.jpg', 2), ('/home/nano/Desktop/images/10122025/12/54/image_10122025_12_55_05_10626.jpg', 2), ('/home/nano/Desktop/images/10122025/12/54/image_10122025_12_54_54_9613.jpg', 2), ('/home/nano/Desktop/images/10122025/12/54/image_10122025_12_54_34_9610.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 12:58:03.213735 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/12/57/image_10122025_12_57_45_10623.jpg', 2), ('/home/nano/Desktop/images/10122025/12/56/image_10122025_12_56_14_9627.jpg', 2), ('/home/nano/Desktop/images/10122025/12/55/image_10122025_12_56_05_10624.jpg', 2), ('/home/nano/Desktop/images/10122025/12/54/image_10122025_12_55_05_10626.jpg', 2), ('/home/nano/Desktop/images/10122025/12/54/image_10122025_12_54_54_9613.jpg', 2), ('/home/nano/Desktop/images/10122025/12/54/image_10122025_12_54_34_9610.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 12:59:03.841805 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/12/57/image_10122025_12_57_45_10623.jpg', 2), ('/home/nano/Desktop/images/10122025/12/56/image_10122025_12_56_14_9627.jpg', 2), ('/home/nano/Desktop/images/10122025/12/55/image_10122025_12_56_05_10624.jpg', 2), ('/home/nano/Desktop/images/10122025/12/54/image_10122025_12_55_05_10626.jpg', 2), ('/home/nano/Desktop/images/10122025/12/54/image_10122025_12_54_54_9613.jpg', 2), ('/home/nano/Desktop/images/10122025/12/54/image_10122025_12_54_34_9610.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 12:59:32.842049 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/12/57/image_10122025_12_57_55_9616.jpg', 2), ('/home/nano/Desktop/images/10122025/12/57/image_10122025_12_57_45_10623.jpg', 2), ('/home/nano/Desktop/images/10122025/12/56/image_10122025_12_56_14_9627.jpg', 2), ('/home/nano/Desktop/images/10122025/12/55/image_10122025_12_56_05_10624.jpg', 2), ('/home/nano/Desktop/images/10122025/12/54/image_10122025_12_55_05_10626.jpg', 2), ('/home/nano/Desktop/images/10122025/12/54/image_10122025_12_54_54_9613.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 13:00:02.303061 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/12/57/image_10122025_12_57_55_9616.jpg', 2), ('/home/nano/Desktop/images/10122025/12/57/image_10122025_12_57_45_10623.jpg', 2), ('/home/nano/Desktop/images/10122025/12/56/image_10122025_12_56_14_9627.jpg', 2), ('/home/nano/Desktop/images/10122025/12/55/image_10122025_12_56_05_10624.jpg', 2), ('/home/nano/Desktop/images/10122025/12/54/image_10122025_12_55_05_10626.jpg', 2), ('/home/nano/Desktop/images/10122025/12/54/image_10122025_12_54_54_9613.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 13:00:31.857885 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/13/00/image_10122025_13_00_44_9603.jpg', 2), ('/home/nano/Desktop/images/10122025/13/00/image_10122025_13_00_35_9601.jpg', 2), ('/home/nano/Desktop/images/10122025/13/00/image_10122025_13_00_25_10607.jpg', 2), ('/home/nano/Desktop/images/10122025/13/00/image_10122025_13_00_14_9612.jpg', 2), ('/home/nano/Desktop/images/10122025/12/59/image_10122025_13_00_05_10608.jpg', 2), ('/home/nano/Desktop/images/10122025/12/59/image_10122025_12_59_54_9614.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 13:01:02.498497 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/13/00/image_10122025_13_00_44_9603.jpg', 2), ('/home/nano/Desktop/images/10122025/13/00/image_10122025_13_00_35_9601.jpg', 2), ('/home/nano/Desktop/images/10122025/13/00/image_10122025_13_00_25_10607.jpg', 2), ('/home/nano/Desktop/images/10122025/13/00/image_10122025_13_00_14_9612.jpg', 2), ('/home/nano/Desktop/images/10122025/12/59/image_10122025_13_00_05_10608.jpg', 2), ('/home/nano/Desktop/images/10122025/12/59/image_10122025_12_59_54_9614.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 13:01:31.979670 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/13/01/image_10122025_13_01_45_10661.jpg', 2), ('/home/nano/Desktop/images/10122025/13/01/image_10122025_13_01_34_9668.jpg', 2), ('/home/nano/Desktop/images/10122025/13/01/image_10122025_13_01_25_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/13/01/image_10122025_13_01_15_10654.jpg', 2), ('/home/nano/Desktop/images/10122025/13/00/image_10122025_13_01_04_9613.jpg', 2), ('/home/nano/Desktop/images/10122025/13/00/image_10122025_13_00_55_10607.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 13:02:02.663736 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/13/01/image_10122025_13_01_45_10661.jpg', 2), ('/home/nano/Desktop/images/10122025/13/01/image_10122025_13_01_34_9668.jpg', 2), ('/home/nano/Desktop/images/10122025/13/01/image_10122025_13_01_25_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/13/01/image_10122025_13_01_15_10654.jpg', 2), ('/home/nano/Desktop/images/10122025/13/00/image_10122025_13_01_04_9613.jpg', 2), ('/home/nano/Desktop/images/10122025/13/00/image_10122025_13_00_55_10607.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 13:02:32.172025 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/13/02/image_10122025_13_02_45_10655.jpg', 2), ('/home/nano/Desktop/images/10122025/13/02/image_10122025_13_02_34_9637.jpg', 2), ('/home/nano/Desktop/images/10122025/13/02/image_10122025_13_02_25_9647.jpg', 2), ('/home/nano/Desktop/images/10122025/13/02/image_10122025_13_02_15_10647.jpg', 2), ('/home/nano/Desktop/images/10122025/13/01/image_10122025_13_02_04_9657.jpg', 2), ('/home/nano/Desktop/images/10122025/13/01/image_10122025_13_01_55_9630.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 13:03:02.916890 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/13/02/image_10122025_13_02_45_10655.jpg', 2), ('/home/nano/Desktop/images/10122025/13/02/image_10122025_13_02_34_9637.jpg', 2), ('/home/nano/Desktop/images/10122025/13/02/image_10122025_13_02_25_9647.jpg', 2), ('/home/nano/Desktop/images/10122025/13/02/image_10122025_13_02_15_10647.jpg', 2), ('/home/nano/Desktop/images/10122025/13/01/image_10122025_13_02_04_9657.jpg', 2), ('/home/nano/Desktop/images/10122025/13/01/image_10122025_13_01_55_9630.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 13:03:32.258987 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/13/03/image_10122025_13_03_45_10685.jpg', 2), ('/home/nano/Desktop/images/10122025/13/03/image_10122025_13_03_34_9787.jpg', 2), ('/home/nano/Desktop/images/10122025/13/03/image_10122025_13_03_25_9642.jpg', 2), ('/home/nano/Desktop/images/10122025/13/03/image_10122025_13_03_15_10702.jpg', 2), ('/home/nano/Desktop/images/10122025/13/02/image_10122025_13_03_04_9668.jpg', 2), ('/home/nano/Desktop/images/10122025/13/02/image_10122025_13_02_55_9649.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 13:04:03.079223 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/13/03/image_10122025_13_03_45_10685.jpg', 2), ('/home/nano/Desktop/images/10122025/13/03/image_10122025_13_03_34_9787.jpg', 2), ('/home/nano/Desktop/images/10122025/13/03/image_10122025_13_03_25_9642.jpg', 2), ('/home/nano/Desktop/images/10122025/13/03/image_10122025_13_03_15_10702.jpg', 2), ('/home/nano/Desktop/images/10122025/13/02/image_10122025_13_03_04_9668.jpg', 2), ('/home/nano/Desktop/images/10122025/13/02/image_10122025_13_02_55_9649.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 13:04:32.399006 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/13/04/image_10122025_13_04_44_9761.jpg', 2), ('/home/nano/Desktop/images/10122025/13/04/image_10122025_13_04_35_9746.jpg', 2), ('/home/nano/Desktop/images/10122025/13/04/image_10122025_13_04_25_10651.jpg', 2), ('/home/nano/Desktop/images/10122025/13/04/image_10122025_13_04_14_9714.jpg', 2), ('/home/nano/Desktop/images/10122025/13/03/image_10122025_13_04_04_9690.jpg', 2), ('/home/nano/Desktop/images/10122025/13/03/image_10122025_13_03_55_9734.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 13:05:03.255419 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/13/04/image_10122025_13_04_44_9761.jpg', 2), ('/home/nano/Desktop/images/10122025/13/04/image_10122025_13_04_35_9746.jpg', 2), ('/home/nano/Desktop/images/10122025/13/04/image_10122025_13_04_25_10651.jpg', 2), ('/home/nano/Desktop/images/10122025/13/04/image_10122025_13_04_14_9714.jpg', 2), ('/home/nano/Desktop/images/10122025/13/03/image_10122025_13_04_04_9690.jpg', 2), ('/home/nano/Desktop/images/10122025/13/03/image_10122025_13_03_55_9734.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 13:05:32.500162 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/13/05/image_10122025_13_05_45_9654.jpg', 2), ('/home/nano/Desktop/images/10122025/13/05/image_10122025_13_05_35_10686.jpg', 2), ('/home/nano/Desktop/images/10122025/13/05/image_10122025_13_05_24_9723.jpg', 2), ('/home/nano/Desktop/images/10122025/13/05/image_10122025_13_05_15_9706.jpg', 2), ('/home/nano/Desktop/images/10122025/13/04/image_10122025_13_05_05_10774.jpg', 2), ('/home/nano/Desktop/images/10122025/13/04/image_10122025_13_04_54_9763.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 13:06:03.283503 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/13/05/image_10122025_13_05_45_9654.jpg', 2), ('/home/nano/Desktop/images/10122025/13/05/image_10122025_13_05_35_10686.jpg', 2), ('/home/nano/Desktop/images/10122025/13/05/image_10122025_13_05_24_9723.jpg', 2), ('/home/nano/Desktop/images/10122025/13/05/image_10122025_13_05_15_9706.jpg', 2), ('/home/nano/Desktop/images/10122025/13/04/image_10122025_13_05_05_10774.jpg', 2), ('/home/nano/Desktop/images/10122025/13/04/image_10122025_13_04_54_9763.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 13:06:32.618606 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/13/06/image_10122025_13_06_45_9658.jpg', 2), ('/home/nano/Desktop/images/10122025/13/06/image_10122025_13_06_35_10656.jpg', 2), ('/home/nano/Desktop/images/10122025/13/06/image_10122025_13_06_24_9631.jpg', 2), ('/home/nano/Desktop/images/10122025/13/06/image_10122025_13_06_15_9714.jpg', 2), ('/home/nano/Desktop/images/10122025/13/05/image_10122025_13_06_05_10686.jpg', 2), ('/home/nano/Desktop/images/10122025/13/05/image_10122025_13_05_54_9746.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 13:07:03.481561 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/13/06/image_10122025_13_06_45_9658.jpg', 2), ('/home/nano/Desktop/images/10122025/13/06/image_10122025_13_06_35_10656.jpg', 2), ('/home/nano/Desktop/images/10122025/13/06/image_10122025_13_06_24_9631.jpg', 2), ('/home/nano/Desktop/images/10122025/13/06/image_10122025_13_06_15_9714.jpg', 2), ('/home/nano/Desktop/images/10122025/13/05/image_10122025_13_06_05_10686.jpg', 2), ('/home/nano/Desktop/images/10122025/13/05/image_10122025_13_05_54_9746.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 13:07:32.723172 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/13/07/image_10122025_13_07_45_9633.jpg', 2), ('/home/nano/Desktop/images/10122025/13/07/image_10122025_13_07_35_10666.jpg', 2), ('/home/nano/Desktop/images/10122025/13/07/image_10122025_13_07_24_9637.jpg', 2), ('/home/nano/Desktop/images/10122025/13/07/image_10122025_13_07_15_9660.jpg', 2), ('/home/nano/Desktop/images/10122025/13/06/image_10122025_13_07_05_10644.jpg', 2), ('/home/nano/Desktop/images/10122025/13/06/image_10122025_13_06_54_9632.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 13:08:02.330577 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/13/07/image_10122025_13_07_45_9633.jpg', 2), ('/home/nano/Desktop/images/10122025/13/07/image_10122025_13_07_35_10666.jpg', 2), ('/home/nano/Desktop/images/10122025/13/07/image_10122025_13_07_24_9637.jpg', 2), ('/home/nano/Desktop/images/10122025/13/07/image_10122025_13_07_15_9660.jpg', 2), ('/home/nano/Desktop/images/10122025/13/06/image_10122025_13_07_05_10644.jpg', 2), ('/home/nano/Desktop/images/10122025/13/06/image_10122025_13_06_54_9632.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 13:08:31.861733 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/13/08/image_10122025_13_08_44_9626.jpg', 2), ('/home/nano/Desktop/images/10122025/13/08/image_10122025_13_08_35_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/13/08/image_10122025_13_08_24_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/13/08/image_10122025_13_08_15_9659.jpg', 2), ('/home/nano/Desktop/images/10122025/13/07/image_10122025_13_08_05_10646.jpg', 2), ('/home/nano/Desktop/images/10122025/13/07/image_10122025_13_07_54_9615.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 13:09:03.039083 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/13/08/image_10122025_13_08_44_9626.jpg', 2), ('/home/nano/Desktop/images/10122025/13/08/image_10122025_13_08_35_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/13/08/image_10122025_13_08_24_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/13/08/image_10122025_13_08_15_9659.jpg', 2), ('/home/nano/Desktop/images/10122025/13/07/image_10122025_13_08_05_10646.jpg', 2), ('/home/nano/Desktop/images/10122025/13/07/image_10122025_13_07_54_9615.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 13:09:31.945904 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/13/09/image_10122025_13_09_44_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/13/09/image_10122025_13_09_35_9616.jpg', 2), ('/home/nano/Desktop/images/10122025/13/09/image_10122025_13_09_25_10613.jpg', 2), ('/home/nano/Desktop/images/10122025/13/09/image_10122025_13_09_14_9650.jpg', 2), ('/home/nano/Desktop/images/10122025/13/08/image_10122025_13_09_05_9652.jpg', 2), ('/home/nano/Desktop/images/10122025/13/08/image_10122025_13_08_55_10619.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 13:10:02.578488 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/13/09/image_10122025_13_09_44_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/13/09/image_10122025_13_09_35_9616.jpg', 2), ('/home/nano/Desktop/images/10122025/13/09/image_10122025_13_09_25_10613.jpg', 2), ('/home/nano/Desktop/images/10122025/13/09/image_10122025_13_09_14_9650.jpg', 2), ('/home/nano/Desktop/images/10122025/13/08/image_10122025_13_09_05_9652.jpg', 2), ('/home/nano/Desktop/images/10122025/13/08/image_10122025_13_08_55_10619.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 13:10:32.066480 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/13/10/image_10122025_13_10_45_10648.jpg', 2), ('/home/nano/Desktop/images/10122025/13/10/image_10122025_13_10_34_9635.jpg', 2), ('/home/nano/Desktop/images/10122025/13/10/image_10122025_13_10_25_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/13/10/image_10122025_13_10_15_10644.jpg', 2), ('/home/nano/Desktop/images/10122025/13/09/image_10122025_13_10_04_9660.jpg', 2), ('/home/nano/Desktop/images/10122025/13/09/image_10122025_13_09_55_10621.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 13:11:02.641346 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/13/10/image_10122025_13_10_45_10648.jpg', 2), ('/home/nano/Desktop/images/10122025/13/10/image_10122025_13_10_34_9635.jpg', 2), ('/home/nano/Desktop/images/10122025/13/10/image_10122025_13_10_25_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/13/10/image_10122025_13_10_15_10644.jpg', 2), ('/home/nano/Desktop/images/10122025/13/09/image_10122025_13_10_04_9660.jpg', 2), ('/home/nano/Desktop/images/10122025/13/09/image_10122025_13_09_55_10621.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 13:11:32.154422 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/13/11/image_10122025_13_11_45_10635.jpg', 2), ('/home/nano/Desktop/images/10122025/13/11/image_10122025_13_11_34_9694.jpg', 2), ('/home/nano/Desktop/images/10122025/13/11/image_10122025_13_11_25_9623.jpg', 2), ('/home/nano/Desktop/images/10122025/13/11/image_10122025_13_11_15_10692.jpg', 2), ('/home/nano/Desktop/images/10122025/13/10/image_10122025_13_11_04_9641.jpg', 2), ('/home/nano/Desktop/images/10122025/13/10/image_10122025_13_10_55_9617.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 13:12:02.809199 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/13/11/image_10122025_13_11_45_10635.jpg', 2), ('/home/nano/Desktop/images/10122025/13/11/image_10122025_13_11_34_9694.jpg', 2), ('/home/nano/Desktop/images/10122025/13/11/image_10122025_13_11_25_9623.jpg', 2), ('/home/nano/Desktop/images/10122025/13/11/image_10122025_13_11_15_10692.jpg', 2), ('/home/nano/Desktop/images/10122025/13/10/image_10122025_13_11_04_9641.jpg', 2), ('/home/nano/Desktop/images/10122025/13/10/image_10122025_13_10_55_9617.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 13:12:32.228405 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/13/12/image_10122025_13_12_45_10751.jpg', 2), ('/home/nano/Desktop/images/10122025/13/12/image_10122025_13_12_34_9640.jpg', 2), ('/home/nano/Desktop/images/10122025/13/12/image_10122025_13_12_25_9704.jpg', 2), ('/home/nano/Desktop/images/10122025/13/12/image_10122025_13_12_15_10659.jpg', 2), ('/home/nano/Desktop/images/10122025/13/11/image_10122025_13_12_04_9649.jpg', 2), ('/home/nano/Desktop/images/10122025/13/11/image_10122025_13_11_55_9677.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 13:13:03.066908 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/13/12/image_10122025_13_12_45_10751.jpg', 2), ('/home/nano/Desktop/images/10122025/13/12/image_10122025_13_12_34_9640.jpg', 2), ('/home/nano/Desktop/images/10122025/13/12/image_10122025_13_12_25_9704.jpg', 2), ('/home/nano/Desktop/images/10122025/13/12/image_10122025_13_12_15_10659.jpg', 2), ('/home/nano/Desktop/images/10122025/13/11/image_10122025_13_12_04_9649.jpg', 2), ('/home/nano/Desktop/images/10122025/13/11/image_10122025_13_11_55_9677.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 13:13:32.364410 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/13/13/image_10122025_13_13_44_9681.jpg', 2), ('/home/nano/Desktop/images/10122025/13/13/image_10122025_13_13_34_9678.jpg', 2), ('/home/nano/Desktop/images/10122025/13/13/image_10122025_13_13_25_10678.jpg', 2), ('/home/nano/Desktop/images/10122025/13/13/image_10122025_13_13_14_9646.jpg', 2), ('/home/nano/Desktop/images/10122025/13/12/image_10122025_13_13_04_9747.jpg', 2), ('/home/nano/Desktop/images/10122025/13/12/image_10122025_13_12_55_9738.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 13:14:03.131190 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/13/13/image_10122025_13_13_44_9681.jpg', 2), ('/home/nano/Desktop/images/10122025/13/13/image_10122025_13_13_34_9678.jpg', 2), ('/home/nano/Desktop/images/10122025/13/13/image_10122025_13_13_25_10678.jpg', 2), ('/home/nano/Desktop/images/10122025/13/13/image_10122025_13_13_14_9646.jpg', 2), ('/home/nano/Desktop/images/10122025/13/12/image_10122025_13_13_04_9747.jpg', 2), ('/home/nano/Desktop/images/10122025/13/12/image_10122025_13_12_55_9738.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 13:14:32.534407 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/13/14/image_10122025_13_14_44_9637.jpg', 2), ('/home/nano/Desktop/images/10122025/13/14/image_10122025_13_14_35_9686.jpg', 2), ('/home/nano/Desktop/images/10122025/13/14/image_10122025_13_14_25_10642.jpg', 2), ('/home/nano/Desktop/images/10122025/13/14/image_10122025_13_14_14_9703.jpg', 2), ('/home/nano/Desktop/images/10122025/13/13/image_10122025_13_14_05_9697.jpg', 2), ('/home/nano/Desktop/images/10122025/13/13/image_10122025_13_13_55_10688.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 13:15:03.283905 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/13/14/image_10122025_13_14_44_9637.jpg', 2), ('/home/nano/Desktop/images/10122025/13/14/image_10122025_13_14_35_9686.jpg', 2), ('/home/nano/Desktop/images/10122025/13/14/image_10122025_13_14_25_10642.jpg', 2), ('/home/nano/Desktop/images/10122025/13/14/image_10122025_13_14_14_9703.jpg', 2), ('/home/nano/Desktop/images/10122025/13/13/image_10122025_13_14_05_9697.jpg', 2), ('/home/nano/Desktop/images/10122025/13/13/image_10122025_13_13_55_10688.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 13:15:32.639658 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/13/15/image_10122025_13_15_45_10624.jpg', 2), ('/home/nano/Desktop/images/10122025/13/15/image_10122025_13_15_34_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/13/15/image_10122025_13_15_25_10620.jpg', 2), ('/home/nano/Desktop/images/10122025/13/15/image_10122025_13_15_14_9643.jpg', 2), ('/home/nano/Desktop/images/10122025/13/14/image_10122025_13_15_04_9636.jpg', 2), ('/home/nano/Desktop/images/10122025/13/14/image_10122025_13_14_55_10621.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 13:16:03.183373 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/13/15/image_10122025_13_15_45_10624.jpg', 2), ('/home/nano/Desktop/images/10122025/13/15/image_10122025_13_15_34_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/13/15/image_10122025_13_15_25_10620.jpg', 2), ('/home/nano/Desktop/images/10122025/13/15/image_10122025_13_15_14_9643.jpg', 2), ('/home/nano/Desktop/images/10122025/13/14/image_10122025_13_15_04_9636.jpg', 2), ('/home/nano/Desktop/images/10122025/13/14/image_10122025_13_14_55_10621.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 13:16:32.718716 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/13/16/image_10122025_13_16_45_10629.jpg', 2), ('/home/nano/Desktop/images/10122025/13/16/image_10122025_13_16_34_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/13/16/image_10122025_13_16_24_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/13/16/image_10122025_13_16_15_10644.jpg', 2), ('/home/nano/Desktop/images/10122025/13/15/image_10122025_13_16_04_9628.jpg', 2), ('/home/nano/Desktop/images/10122025/13/15/image_10122025_13_15_55_9615.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 13:17:02.593014 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/13/16/image_10122025_13_16_45_10629.jpg', 2), ('/home/nano/Desktop/images/10122025/13/16/image_10122025_13_16_34_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/13/16/image_10122025_13_16_24_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/13/16/image_10122025_13_16_15_10644.jpg', 2), ('/home/nano/Desktop/images/10122025/13/15/image_10122025_13_16_04_9628.jpg', 2), ('/home/nano/Desktop/images/10122025/13/15/image_10122025_13_15_55_9615.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 13:17:31.837727 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/13/17/image_10122025_13_17_45_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/13/17/image_10122025_13_17_35_10649.jpg', 2), ('/home/nano/Desktop/images/10122025/13/17/image_10122025_13_17_24_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/13/17/image_10122025_13_17_15_9637.jpg', 2), ('/home/nano/Desktop/images/10122025/13/16/image_10122025_13_17_05_10646.jpg', 2), ('/home/nano/Desktop/images/10122025/13/16/image_10122025_13_16_54_9633.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 13:18:02.512425 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/13/17/image_10122025_13_17_45_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/13/17/image_10122025_13_17_35_10649.jpg', 2), ('/home/nano/Desktop/images/10122025/13/17/image_10122025_13_17_24_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/13/17/image_10122025_13_17_15_9637.jpg', 2), ('/home/nano/Desktop/images/10122025/13/16/image_10122025_13_17_05_10646.jpg', 2), ('/home/nano/Desktop/images/10122025/13/16/image_10122025_13_16_54_9633.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 13:18:31.921203 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/13/18/image_10122025_13_18_44_9638.jpg', 2), ('/home/nano/Desktop/images/10122025/13/18/image_10122025_13_18_35_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/13/18/image_10122025_13_18_25_10627.jpg', 2), ('/home/nano/Desktop/images/10122025/13/18/image_10122025_13_18_14_9625.jpg', 2), ('/home/nano/Desktop/images/10122025/13/17/image_10122025_13_18_05_10652.jpg', 2), ('/home/nano/Desktop/images/10122025/13/17/image_10122025_13_17_54_9620.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 13:19:02.954507 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/13/18/image_10122025_13_18_44_9638.jpg', 2), ('/home/nano/Desktop/images/10122025/13/18/image_10122025_13_18_35_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/13/18/image_10122025_13_18_25_10627.jpg', 2), ('/home/nano/Desktop/images/10122025/13/18/image_10122025_13_18_14_9625.jpg', 2), ('/home/nano/Desktop/images/10122025/13/17/image_10122025_13_18_05_10652.jpg', 2), ('/home/nano/Desktop/images/10122025/13/17/image_10122025_13_17_54_9620.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 13:19:32.019726 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/13/19/image_10122025_13_19_45_10628.jpg', 2), ('/home/nano/Desktop/images/10122025/13/19/image_10122025_13_19_34_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/13/19/image_10122025_13_19_25_10638.jpg', 2), ('/home/nano/Desktop/images/10122025/13/19/image_10122025_13_19_14_9626.jpg', 2), ('/home/nano/Desktop/images/10122025/13/18/image_10122025_13_19_05_9628.jpg', 2), ('/home/nano/Desktop/images/10122025/13/18/image_10122025_13_18_55_10629.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 13:20:02.711882 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/13/19/image_10122025_13_19_45_10628.jpg', 2), ('/home/nano/Desktop/images/10122025/13/19/image_10122025_13_19_34_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/13/19/image_10122025_13_19_25_10638.jpg', 2), ('/home/nano/Desktop/images/10122025/13/19/image_10122025_13_19_14_9626.jpg', 2), ('/home/nano/Desktop/images/10122025/13/18/image_10122025_13_19_05_9628.jpg', 2), ('/home/nano/Desktop/images/10122025/13/18/image_10122025_13_18_55_10629.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 13:20:32.128286 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/13/20/image_10122025_13_20_45_10628.jpg', 2), ('/home/nano/Desktop/images/10122025/13/20/image_10122025_13_20_34_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/13/20/image_10122025_13_20_25_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/13/20/image_10122025_13_20_15_10652.jpg', 2), ('/home/nano/Desktop/images/10122025/13/19/image_10122025_13_20_04_9627.jpg', 2), ('/home/nano/Desktop/images/10122025/13/19/image_10122025_13_19_55_9617.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 13:21:02.956586 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/13/20/image_10122025_13_21_05_10631.jpg', 2), ('/home/nano/Desktop/images/10122025/13/20/image_10122025_13_20_45_10628.jpg', 2), ('/home/nano/Desktop/images/10122025/13/20/image_10122025_13_20_34_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/13/20/image_10122025_13_20_25_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/13/20/image_10122025_13_20_15_10652.jpg', 2), ('/home/nano/Desktop/images/10122025/13/19/image_10122025_13_20_04_9627.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 13:21:32.221636 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/13/21/image_10122025_13_21_45_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/13/21/image_10122025_13_21_35_10611.jpg', 2), ('/home/nano/Desktop/images/10122025/13/21/image_10122025_13_21_24_9616.jpg', 2), ('/home/nano/Desktop/images/10122025/13/21/image_10122025_13_21_15_9624.jpg', 2), ('/home/nano/Desktop/images/10122025/13/20/image_10122025_13_21_05_10631.jpg', 2), ('/home/nano/Desktop/images/10122025/13/20/image_10122025_13_20_54_9619.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 13:22:02.870102 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/13/21/image_10122025_13_21_45_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/13/21/image_10122025_13_21_35_10611.jpg', 2), ('/home/nano/Desktop/images/10122025/13/21/image_10122025_13_21_24_9616.jpg', 2), ('/home/nano/Desktop/images/10122025/13/21/image_10122025_13_21_15_9624.jpg', 2), ('/home/nano/Desktop/images/10122025/13/20/image_10122025_13_21_05_10631.jpg', 2), ('/home/nano/Desktop/images/10122025/13/20/image_10122025_13_20_54_9619.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 13:22:32.293046 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/13/22/image_10122025_13_22_44_9601.jpg', 2), ('/home/nano/Desktop/images/10122025/13/22/image_10122025_13_22_35_9600.jpg', 2), ('/home/nano/Desktop/images/10122025/13/22/image_10122025_13_22_25_10605.jpg', 2), ('/home/nano/Desktop/images/10122025/13/22/image_10122025_13_22_14_9614.jpg', 2), ('/home/nano/Desktop/images/10122025/13/21/image_10122025_13_22_05_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/13/21/image_10122025_13_21_54_9601.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 13:23:02.869350 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/13/22/image_10122025_13_22_44_9601.jpg', 2), ('/home/nano/Desktop/images/10122025/13/22/image_10122025_13_22_35_9600.jpg', 2), ('/home/nano/Desktop/images/10122025/13/22/image_10122025_13_22_25_10605.jpg', 2), ('/home/nano/Desktop/images/10122025/13/22/image_10122025_13_22_14_9614.jpg', 2), ('/home/nano/Desktop/images/10122025/13/21/image_10122025_13_22_05_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/13/21/image_10122025_13_21_54_9601.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 13:23:32.396080 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/13/23/image_10122025_13_23_45_10611.jpg', 2), ('/home/nano/Desktop/images/10122025/13/23/image_10122025_13_23_34_9599.jpg', 2), ('/home/nano/Desktop/images/10122025/13/23/image_10122025_13_23_25_9603.jpg', 2), ('/home/nano/Desktop/images/10122025/13/23/image_10122025_13_23_15_10627.jpg', 2), ('/home/nano/Desktop/images/10122025/13/22/image_10122025_13_23_04_9644.jpg', 2), ('/home/nano/Desktop/images/10122025/13/22/image_10122025_13_22_55_10617.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 13:24:03.383287 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/13/23/image_10122025_13_23_45_10611.jpg', 2), ('/home/nano/Desktop/images/10122025/13/23/image_10122025_13_23_34_9599.jpg', 2), ('/home/nano/Desktop/images/10122025/13/23/image_10122025_13_23_25_9603.jpg', 2), ('/home/nano/Desktop/images/10122025/13/23/image_10122025_13_23_15_10627.jpg', 2), ('/home/nano/Desktop/images/10122025/13/22/image_10122025_13_23_04_9644.jpg', 2), ('/home/nano/Desktop/images/10122025/13/22/image_10122025_13_22_55_10617.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 13:24:32.513004 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/13/24/image_10122025_13_24_45_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/13/24/image_10122025_13_24_35_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/13/24/image_10122025_13_24_24_9603.jpg', 2), ('/home/nano/Desktop/images/10122025/13/24/image_10122025_13_24_15_10635.jpg', 2), ('/home/nano/Desktop/images/10122025/13/23/image_10122025_13_24_04_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/13/23/image_10122025_13_23_55_9622.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 13:25:03.423347 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/13/24/image_10122025_13_24_45_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/13/24/image_10122025_13_24_35_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/13/24/image_10122025_13_24_24_9603.jpg', 2), ('/home/nano/Desktop/images/10122025/13/24/image_10122025_13_24_15_10635.jpg', 2), ('/home/nano/Desktop/images/10122025/13/23/image_10122025_13_24_04_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/13/23/image_10122025_13_23_55_9622.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 13:25:32.617894 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/13/25/image_10122025_13_25_45_9780.jpg', 2), ('/home/nano/Desktop/images/10122025/13/25/image_10122025_13_25_35_10787.jpg', 2), ('/home/nano/Desktop/images/10122025/13/25/image_10122025_13_25_24_9708.jpg', 2), ('/home/nano/Desktop/images/10122025/13/25/image_10122025_13_25_15_9680.jpg', 2), ('/home/nano/Desktop/images/10122025/13/24/image_10122025_13_25_05_10680.jpg', 2), ('/home/nano/Desktop/images/10122025/13/24/image_10122025_13_24_54_9601.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 13:26:03.173810 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/13/25/image_10122025_13_25_45_9780.jpg', 2), ('/home/nano/Desktop/images/10122025/13/25/image_10122025_13_25_35_10787.jpg', 2), ('/home/nano/Desktop/images/10122025/13/25/image_10122025_13_25_24_9708.jpg', 2), ('/home/nano/Desktop/images/10122025/13/25/image_10122025_13_25_15_9680.jpg', 2), ('/home/nano/Desktop/images/10122025/13/24/image_10122025_13_25_05_10680.jpg', 2), ('/home/nano/Desktop/images/10122025/13/24/image_10122025_13_24_54_9601.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 13:26:32.708969 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/13/26/image_10122025_13_26_44_9640.jpg', 2), ('/home/nano/Desktop/images/10122025/13/26/image_10122025_13_26_35_9749.jpg', 2), ('/home/nano/Desktop/images/10122025/13/26/image_10122025_13_26_25_9748.jpg', 2), ('/home/nano/Desktop/images/10122025/13/26/image_10122025_13_26_15_10822.jpg', 2), ('/home/nano/Desktop/images/10122025/13/25/image_10122025_13_26_04_9738.jpg', 2), ('/home/nano/Desktop/images/10122025/13/25/image_10122025_13_25_54_9632.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 13:27:02.495964 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/13/26/image_10122025_13_26_44_9640.jpg', 2), ('/home/nano/Desktop/images/10122025/13/26/image_10122025_13_26_35_9749.jpg', 2), ('/home/nano/Desktop/images/10122025/13/26/image_10122025_13_26_25_9748.jpg', 2), ('/home/nano/Desktop/images/10122025/13/26/image_10122025_13_26_15_10822.jpg', 2), ('/home/nano/Desktop/images/10122025/13/25/image_10122025_13_26_04_9738.jpg', 2), ('/home/nano/Desktop/images/10122025/13/25/image_10122025_13_25_54_9632.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 13:27:31.814684 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/13/27/image_10122025_13_27_45_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/13/27/image_10122025_13_27_34_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/13/27/image_10122025_13_27_25_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/13/27/image_10122025_13_27_15_10626.jpg', 2), ('/home/nano/Desktop/images/10122025/13/26/image_10122025_13_27_04_9616.jpg', 2), ('/home/nano/Desktop/images/10122025/13/26/image_10122025_13_26_55_10654.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 13:28:02.604798 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/13/27/image_10122025_13_27_45_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/13/27/image_10122025_13_27_34_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/13/27/image_10122025_13_27_25_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/13/27/image_10122025_13_27_15_10626.jpg', 2), ('/home/nano/Desktop/images/10122025/13/26/image_10122025_13_27_04_9616.jpg', 2), ('/home/nano/Desktop/images/10122025/13/26/image_10122025_13_26_55_10654.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 13:28:31.932479 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/13/28/image_10122025_13_28_45_9594.jpg', 2), ('/home/nano/Desktop/images/10122025/13/28/image_10122025_13_28_35_10605.jpg', 2), ('/home/nano/Desktop/images/10122025/13/28/image_10122025_13_28_24_9598.jpg', 2), ('/home/nano/Desktop/images/10122025/13/28/image_10122025_13_28_15_10623.jpg', 2), ('/home/nano/Desktop/images/10122025/13/27/image_10122025_13_28_04_9612.jpg', 2), ('/home/nano/Desktop/images/10122025/13/27/image_10122025_13_27_55_9603.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 13:29:03.157346 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/13/28/image_10122025_13_28_45_9594.jpg', 2), ('/home/nano/Desktop/images/10122025/13/28/image_10122025_13_28_35_10605.jpg', 2), ('/home/nano/Desktop/images/10122025/13/28/image_10122025_13_28_24_9598.jpg', 2), ('/home/nano/Desktop/images/10122025/13/28/image_10122025_13_28_15_10623.jpg', 2), ('/home/nano/Desktop/images/10122025/13/27/image_10122025_13_28_04_9612.jpg', 2), ('/home/nano/Desktop/images/10122025/13/27/image_10122025_13_27_55_9603.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 13:29:32.052605 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/13/29/image_10122025_13_29_44_9600.jpg', 2), ('/home/nano/Desktop/images/10122025/13/29/image_10122025_13_29_35_9598.jpg', 2), ('/home/nano/Desktop/images/10122025/13/29/image_10122025_13_29_25_10610.jpg', 2), ('/home/nano/Desktop/images/10122025/13/29/image_10122025_13_29_14_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/13/28/image_10122025_13_29_05_10611.jpg', 2), ('/home/nano/Desktop/images/10122025/13/28/image_10122025_13_28_54_9598.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 13:30:02.683433 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/13/29/image_10122025_13_29_44_9600.jpg', 2), ('/home/nano/Desktop/images/10122025/13/29/image_10122025_13_29_35_9598.jpg', 2), ('/home/nano/Desktop/images/10122025/13/29/image_10122025_13_29_25_10610.jpg', 2), ('/home/nano/Desktop/images/10122025/13/29/image_10122025_13_29_14_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/13/28/image_10122025_13_29_05_10611.jpg', 2), ('/home/nano/Desktop/images/10122025/13/28/image_10122025_13_28_54_9598.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 13:30:32.155791 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/13/30/image_10122025_13_30_45_10601.jpg', 2), ('/home/nano/Desktop/images/10122025/13/30/image_10122025_13_30_34_9598.jpg', 2), ('/home/nano/Desktop/images/10122025/13/30/image_10122025_13_30_25_9599.jpg', 2), ('/home/nano/Desktop/images/10122025/13/30/image_10122025_13_30_15_10623.jpg', 2), ('/home/nano/Desktop/images/10122025/13/29/image_10122025_13_30_04_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/13/29/image_10122025_13_29_55_10622.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 13:31:02.877487 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/13/30/image_10122025_13_30_45_10601.jpg', 2), ('/home/nano/Desktop/images/10122025/13/30/image_10122025_13_30_34_9598.jpg', 2), ('/home/nano/Desktop/images/10122025/13/30/image_10122025_13_30_25_9599.jpg', 2), ('/home/nano/Desktop/images/10122025/13/30/image_10122025_13_30_15_10623.jpg', 2), ('/home/nano/Desktop/images/10122025/13/29/image_10122025_13_30_04_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/13/29/image_10122025_13_29_55_10622.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 13:31:32.267311 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/13/31/image_10122025_13_31_44_9597.jpg', 2), ('/home/nano/Desktop/images/10122025/13/31/image_10122025_13_31_35_10607.jpg', 2), ('/home/nano/Desktop/images/10122025/13/31/image_10122025_13_31_24_9596.jpg', 2), ('/home/nano/Desktop/images/10122025/13/31/image_10122025_13_31_15_9599.jpg', 2), ('/home/nano/Desktop/images/10122025/13/30/image_10122025_13_31_05_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/13/30/image_10122025_13_30_54_9592.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 13:32:03.045804 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/13/31/image_10122025_13_31_44_9597.jpg', 2), ('/home/nano/Desktop/images/10122025/13/31/image_10122025_13_31_35_10607.jpg', 2), ('/home/nano/Desktop/images/10122025/13/31/image_10122025_13_31_24_9596.jpg', 2), ('/home/nano/Desktop/images/10122025/13/31/image_10122025_13_31_15_9599.jpg', 2), ('/home/nano/Desktop/images/10122025/13/30/image_10122025_13_31_05_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/13/30/image_10122025_13_30_54_9592.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 13:32:32.394236 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/13/32/image_10122025_13_32_44_9602.jpg', 2), ('/home/nano/Desktop/images/10122025/13/32/image_10122025_13_32_35_9591.jpg', 2), ('/home/nano/Desktop/images/10122025/13/32/image_10122025_13_32_25_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/13/32/image_10122025_13_32_14_9615.jpg', 2), ('/home/nano/Desktop/images/10122025/13/31/image_10122025_13_32_05_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/13/31/image_10122025_13_31_55_10603.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 13:33:03.150346 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/13/32/image_10122025_13_32_44_9602.jpg', 2), ('/home/nano/Desktop/images/10122025/13/32/image_10122025_13_32_35_9591.jpg', 2), ('/home/nano/Desktop/images/10122025/13/32/image_10122025_13_32_25_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/13/32/image_10122025_13_32_14_9615.jpg', 2), ('/home/nano/Desktop/images/10122025/13/31/image_10122025_13_32_05_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/13/31/image_10122025_13_31_55_10603.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 13:33:32.532710 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/13/33/image_10122025_13_33_45_10600.jpg', 2), ('/home/nano/Desktop/images/10122025/13/33/image_10122025_13_33_34_9587.jpg', 2), ('/home/nano/Desktop/images/10122025/13/33/image_10122025_13_33_25_9595.jpg', 2), ('/home/nano/Desktop/images/10122025/13/33/image_10122025_13_33_15_10643.jpg', 2), ('/home/nano/Desktop/images/10122025/13/32/image_10122025_13_33_04_9613.jpg', 2), ('/home/nano/Desktop/images/10122025/13/32/image_10122025_13_32_55_10608.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 13:34:03.384696 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/13/33/image_10122025_13_33_45_10600.jpg', 2), ('/home/nano/Desktop/images/10122025/13/33/image_10122025_13_33_34_9587.jpg', 2), ('/home/nano/Desktop/images/10122025/13/33/image_10122025_13_33_25_9595.jpg', 2), ('/home/nano/Desktop/images/10122025/13/33/image_10122025_13_33_15_10643.jpg', 2), ('/home/nano/Desktop/images/10122025/13/32/image_10122025_13_33_04_9613.jpg', 2), ('/home/nano/Desktop/images/10122025/13/32/image_10122025_13_32_55_10608.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 13:34:32.639475 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/13/34/image_10122025_13_34_44_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/13/34/image_10122025_13_34_35_10600.jpg', 2), ('/home/nano/Desktop/images/10122025/13/34/image_10122025_13_34_24_9615.jpg', 2), ('/home/nano/Desktop/images/10122025/13/34/image_10122025_13_34_15_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/13/33/image_10122025_13_34_05_10621.jpg', 2), ('/home/nano/Desktop/images/10122025/13/33/image_10122025_13_33_54_9596.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 13:35:03.383638 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/13/34/image_10122025_13_34_44_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/13/34/image_10122025_13_34_35_10600.jpg', 2), ('/home/nano/Desktop/images/10122025/13/34/image_10122025_13_34_24_9615.jpg', 2), ('/home/nano/Desktop/images/10122025/13/34/image_10122025_13_34_15_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/13/33/image_10122025_13_34_05_10621.jpg', 2), ('/home/nano/Desktop/images/10122025/13/33/image_10122025_13_33_54_9596.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 13:35:32.727159 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/13/35/image_10122025_13_35_45_10602.jpg', 2), ('/home/nano/Desktop/images/10122025/13/35/image_10122025_13_35_34_9598.jpg', 2), ('/home/nano/Desktop/images/10122025/13/35/image_10122025_13_35_25_10602.jpg', 2), ('/home/nano/Desktop/images/10122025/13/35/image_10122025_13_35_14_9613.jpg', 2), ('/home/nano/Desktop/images/10122025/13/34/image_10122025_13_35_05_9613.jpg', 2), ('/home/nano/Desktop/images/10122025/13/34/image_10122025_13_34_55_10606.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 13:36:02.347754 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/13/35/image_10122025_13_35_45_10602.jpg', 2), ('/home/nano/Desktop/images/10122025/13/35/image_10122025_13_35_34_9598.jpg', 2), ('/home/nano/Desktop/images/10122025/13/35/image_10122025_13_35_25_10602.jpg', 2), ('/home/nano/Desktop/images/10122025/13/35/image_10122025_13_35_14_9613.jpg', 2), ('/home/nano/Desktop/images/10122025/13/34/image_10122025_13_35_05_9613.jpg', 2), ('/home/nano/Desktop/images/10122025/13/34/image_10122025_13_34_55_10606.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 13:36:31.814660 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/13/36/image_10122025_13_36_45_9594.jpg', 2), ('/home/nano/Desktop/images/10122025/13/36/image_10122025_13_36_35_10604.jpg', 2), ('/home/nano/Desktop/images/10122025/13/36/image_10122025_13_36_24_9595.jpg', 2), ('/home/nano/Desktop/images/10122025/13/36/image_10122025_13_36_15_10620.jpg', 2), ('/home/nano/Desktop/images/10122025/13/35/image_10122025_13_36_04_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/13/35/image_10122025_13_35_55_9589.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 13:37:02.611214 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/13/36/image_10122025_13_36_45_9594.jpg', 2), ('/home/nano/Desktop/images/10122025/13/36/image_10122025_13_36_35_10604.jpg', 2), ('/home/nano/Desktop/images/10122025/13/36/image_10122025_13_36_24_9595.jpg', 2), ('/home/nano/Desktop/images/10122025/13/36/image_10122025_13_36_15_10620.jpg', 2), ('/home/nano/Desktop/images/10122025/13/35/image_10122025_13_36_04_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/13/35/image_10122025_13_35_55_9589.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 13:37:31.961240 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/13/37/image_10122025_13_37_44_9596.jpg', 2), ('/home/nano/Desktop/images/10122025/13/37/image_10122025_13_37_35_9592.jpg', 2), ('/home/nano/Desktop/images/10122025/13/37/image_10122025_13_37_25_10602.jpg', 2), ('/home/nano/Desktop/images/10122025/13/37/image_10122025_13_37_14_9593.jpg', 2), ('/home/nano/Desktop/images/10122025/13/36/image_10122025_13_37_05_10620.jpg', 2), ('/home/nano/Desktop/images/10122025/13/36/image_10122025_13_36_54_9589.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 13:38:02.628443 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/13/37/image_10122025_13_37_44_9596.jpg', 2), ('/home/nano/Desktop/images/10122025/13/37/image_10122025_13_37_35_9592.jpg', 2), ('/home/nano/Desktop/images/10122025/13/37/image_10122025_13_37_25_10602.jpg', 2), ('/home/nano/Desktop/images/10122025/13/37/image_10122025_13_37_14_9593.jpg', 2), ('/home/nano/Desktop/images/10122025/13/36/image_10122025_13_37_05_10620.jpg', 2), ('/home/nano/Desktop/images/10122025/13/36/image_10122025_13_36_54_9589.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 13:38:32.048185 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/13/38/image_10122025_13_38_45_10613.jpg', 2), ('/home/nano/Desktop/images/10122025/13/38/image_10122025_13_38_34_9602.jpg', 2), ('/home/nano/Desktop/images/10122025/13/38/image_10122025_13_38_25_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/13/38/image_10122025_13_38_15_10621.jpg', 2), ('/home/nano/Desktop/images/10122025/13/37/image_10122025_13_38_04_9596.jpg', 2), ('/home/nano/Desktop/images/10122025/13/37/image_10122025_13_37_55_10600.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 13:39:02.955684 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/13/38/image_10122025_13_38_45_10613.jpg', 2), ('/home/nano/Desktop/images/10122025/13/38/image_10122025_13_38_34_9602.jpg', 2), ('/home/nano/Desktop/images/10122025/13/38/image_10122025_13_38_25_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/13/38/image_10122025_13_38_15_10621.jpg', 2), ('/home/nano/Desktop/images/10122025/13/37/image_10122025_13_38_04_9596.jpg', 2), ('/home/nano/Desktop/images/10122025/13/37/image_10122025_13_37_55_10600.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 13:39:32.176620 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/13/39/image_10122025_13_39_45_9595.jpg', 2), ('/home/nano/Desktop/images/10122025/13/39/image_10122025_13_39_35_10610.jpg', 2), ('/home/nano/Desktop/images/10122025/13/39/image_10122025_13_39_24_9599.jpg', 2), ('/home/nano/Desktop/images/10122025/13/39/image_10122025_13_39_15_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/13/38/image_10122025_13_39_04_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/13/38/image_10122025_13_38_55_9597.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 13:40:02.620014 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/13/39/image_10122025_13_39_45_9595.jpg', 2), ('/home/nano/Desktop/images/10122025/13/39/image_10122025_13_39_35_10610.jpg', 2), ('/home/nano/Desktop/images/10122025/13/39/image_10122025_13_39_24_9599.jpg', 2), ('/home/nano/Desktop/images/10122025/13/39/image_10122025_13_39_15_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/13/38/image_10122025_13_39_04_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/13/38/image_10122025_13_38_55_9597.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 13:40:32.254961 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/13/40/image_10122025_13_40_44_9588.jpg', 2), ('/home/nano/Desktop/images/10122025/13/40/image_10122025_13_40_35_9599.jpg', 2), ('/home/nano/Desktop/images/10122025/13/40/image_10122025_13_40_25_10606.jpg', 2), ('/home/nano/Desktop/images/10122025/13/40/image_10122025_13_40_14_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/13/39/image_10122025_13_40_05_10623.jpg', 2), ('/home/nano/Desktop/images/10122025/13/39/image_10122025_13_39_54_9595.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 13:41:03.106497 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/13/40/image_10122025_13_40_44_9588.jpg', 2), ('/home/nano/Desktop/images/10122025/13/40/image_10122025_13_40_35_9599.jpg', 2), ('/home/nano/Desktop/images/10122025/13/40/image_10122025_13_40_25_10606.jpg', 2), ('/home/nano/Desktop/images/10122025/13/40/image_10122025_13_40_14_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/13/39/image_10122025_13_40_05_10623.jpg', 2), ('/home/nano/Desktop/images/10122025/13/39/image_10122025_13_39_54_9595.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 13:41:32.372500 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/13/41/image_10122025_13_41_45_10621.jpg', 2), ('/home/nano/Desktop/images/10122025/13/41/image_10122025_13_41_34_9592.jpg', 2), ('/home/nano/Desktop/images/10122025/13/41/image_10122025_13_41_25_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/13/41/image_10122025_13_41_15_10624.jpg', 2), ('/home/nano/Desktop/images/10122025/13/40/image_10122025_13_41_04_9626.jpg', 2), ('/home/nano/Desktop/images/10122025/13/40/image_10122025_13_40_55_10607.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 13:42:02.978517 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/13/41/image_10122025_13_41_45_10621.jpg', 2), ('/home/nano/Desktop/images/10122025/13/41/image_10122025_13_41_34_9592.jpg', 2), ('/home/nano/Desktop/images/10122025/13/41/image_10122025_13_41_25_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/13/41/image_10122025_13_41_15_10624.jpg', 2), ('/home/nano/Desktop/images/10122025/13/40/image_10122025_13_41_04_9626.jpg', 2), ('/home/nano/Desktop/images/10122025/13/40/image_10122025_13_40_55_10607.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 13:42:32.440563 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/13/42/image_10122025_13_42_44_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/13/42/image_10122025_13_42_35_10607.jpg', 2), ('/home/nano/Desktop/images/10122025/13/42/image_10122025_13_42_24_9599.jpg', 2), ('/home/nano/Desktop/images/10122025/13/42/image_10122025_13_42_15_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/13/41/image_10122025_13_42_05_10610.jpg', 2), ('/home/nano/Desktop/images/10122025/13/41/image_10122025_13_41_54_9593.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 13:43:03.204013 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/13/42/image_10122025_13_42_44_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/13/42/image_10122025_13_42_35_10607.jpg', 2), ('/home/nano/Desktop/images/10122025/13/42/image_10122025_13_42_24_9599.jpg', 2), ('/home/nano/Desktop/images/10122025/13/42/image_10122025_13_42_15_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/13/41/image_10122025_13_42_05_10610.jpg', 2), ('/home/nano/Desktop/images/10122025/13/41/image_10122025_13_41_54_9593.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 13:43:32.520499 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/13/43/image_10122025_13_43_44_9591.jpg', 2), ('/home/nano/Desktop/images/10122025/13/43/image_10122025_13_43_35_9594.jpg', 2), ('/home/nano/Desktop/images/10122025/13/43/image_10122025_13_43_25_10610.jpg', 2), ('/home/nano/Desktop/images/10122025/13/43/image_10122025_13_43_14_9612.jpg', 2), ('/home/nano/Desktop/images/10122025/13/42/image_10122025_13_43_05_10606.jpg', 2), ('/home/nano/Desktop/images/10122025/13/42/image_10122025_13_42_54_9592.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 13:44:03.544530 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/13/43/image_10122025_13_43_44_9591.jpg', 2), ('/home/nano/Desktop/images/10122025/13/43/image_10122025_13_43_35_9594.jpg', 2), ('/home/nano/Desktop/images/10122025/13/43/image_10122025_13_43_25_10610.jpg', 2), ('/home/nano/Desktop/images/10122025/13/43/image_10122025_13_43_14_9612.jpg', 2), ('/home/nano/Desktop/images/10122025/13/42/image_10122025_13_43_05_10606.jpg', 2), ('/home/nano/Desktop/images/10122025/13/42/image_10122025_13_42_54_9592.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 13:44:32.632297 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/13/44/image_10122025_13_44_45_10602.jpg', 2), ('/home/nano/Desktop/images/10122025/13/44/image_10122025_13_44_34_9591.jpg', 2), ('/home/nano/Desktop/images/10122025/13/44/image_10122025_13_44_25_9594.jpg', 2), ('/home/nano/Desktop/images/10122025/13/44/image_10122025_13_44_15_10620.jpg', 2), ('/home/nano/Desktop/images/10122025/13/43/image_10122025_13_44_04_9598.jpg', 2), ('/home/nano/Desktop/images/10122025/13/43/image_10122025_13_43_55_10604.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 13:45:03.418827 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/13/44/image_10122025_13_44_45_10602.jpg', 2), ('/home/nano/Desktop/images/10122025/13/44/image_10122025_13_44_34_9591.jpg', 2), ('/home/nano/Desktop/images/10122025/13/44/image_10122025_13_44_25_9594.jpg', 2), ('/home/nano/Desktop/images/10122025/13/44/image_10122025_13_44_15_10620.jpg', 2), ('/home/nano/Desktop/images/10122025/13/43/image_10122025_13_44_04_9598.jpg', 2), ('/home/nano/Desktop/images/10122025/13/43/image_10122025_13_43_55_10604.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 13:45:32.735307 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/13/45/image_10122025_13_45_44_9593.jpg', 2), ('/home/nano/Desktop/images/10122025/13/45/image_10122025_13_45_35_10603.jpg', 2), ('/home/nano/Desktop/images/10122025/13/45/image_10122025_13_45_24_9596.jpg', 2), ('/home/nano/Desktop/images/10122025/13/45/image_10122025_13_45_15_9612.jpg', 2), ('/home/nano/Desktop/images/10122025/13/44/image_10122025_13_45_05_10633.jpg', 2), ('/home/nano/Desktop/images/10122025/13/44/image_10122025_13_44_54_9595.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 13:46:02.423976 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/13/45/image_10122025_13_45_44_9593.jpg', 2), ('/home/nano/Desktop/images/10122025/13/45/image_10122025_13_45_35_10603.jpg', 2), ('/home/nano/Desktop/images/10122025/13/45/image_10122025_13_45_24_9596.jpg', 2), ('/home/nano/Desktop/images/10122025/13/45/image_10122025_13_45_15_9612.jpg', 2), ('/home/nano/Desktop/images/10122025/13/44/image_10122025_13_45_05_10633.jpg', 2), ('/home/nano/Desktop/images/10122025/13/44/image_10122025_13_44_54_9595.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 13:46:31.829955 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/13/46/image_10122025_13_46_45_10611.jpg', 2), ('/home/nano/Desktop/images/10122025/13/46/image_10122025_13_46_34_9602.jpg', 2), ('/home/nano/Desktop/images/10122025/13/46/image_10122025_13_46_25_10605.jpg', 2), ('/home/nano/Desktop/images/10122025/13/46/image_10122025_13_46_14_9612.jpg', 2), ('/home/nano/Desktop/images/10122025/13/45/image_10122025_13_46_05_9625.jpg', 2), ('/home/nano/Desktop/images/10122025/13/45/image_10122025_13_45_55_10611.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 13:47:02.704314 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/13/46/image_10122025_13_46_45_10611.jpg', 2), ('/home/nano/Desktop/images/10122025/13/46/image_10122025_13_46_34_9602.jpg', 2), ('/home/nano/Desktop/images/10122025/13/46/image_10122025_13_46_25_10605.jpg', 2), ('/home/nano/Desktop/images/10122025/13/46/image_10122025_13_46_14_9612.jpg', 2), ('/home/nano/Desktop/images/10122025/13/45/image_10122025_13_46_05_9625.jpg', 2), ('/home/nano/Desktop/images/10122025/13/45/image_10122025_13_45_55_10611.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 13:47:32.106495 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/13/47/image_10122025_13_47_45_9597.jpg', 2), ('/home/nano/Desktop/images/10122025/13/47/image_10122025_13_47_35_10606.jpg', 2), ('/home/nano/Desktop/images/10122025/13/47/image_10122025_13_47_24_9601.jpg', 2), ('/home/nano/Desktop/images/10122025/13/47/image_10122025_13_47_15_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/13/46/image_10122025_13_47_04_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/13/46/image_10122025_13_46_55_9602.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 13:48:02.757739 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/13/48/image_10122025_13_48_35_10621.jpg', 2), ('/home/nano/Desktop/images/10122025/13/47/image_10122025_13_47_45_9597.jpg', 2), ('/home/nano/Desktop/images/10122025/13/47/image_10122025_13_47_35_10606.jpg', 2), ('/home/nano/Desktop/images/10122025/13/47/image_10122025_13_47_24_9601.jpg', 2), ('/home/nano/Desktop/images/10122025/13/47/image_10122025_13_47_15_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/13/46/image_10122025_13_47_04_9610.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 13:48:32.172145 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/13/48/image_10122025_13_48_44_9595.jpg', 2), ('/home/nano/Desktop/images/10122025/13/48/image_10122025_13_48_35_10621.jpg', 2), ('/home/nano/Desktop/images/10122025/13/48/image_10122025_13_48_24_9616.jpg', 2), ('/home/nano/Desktop/images/10122025/13/48/image_10122025_13_48_15_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/13/47/image_10122025_13_48_05_10623.jpg', 2), ('/home/nano/Desktop/images/10122025/13/47/image_10122025_13_47_54_9611.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 13:49:03.234511 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/13/48/image_10122025_13_48_44_9595.jpg', 2), ('/home/nano/Desktop/images/10122025/13/48/image_10122025_13_48_35_10621.jpg', 2), ('/home/nano/Desktop/images/10122025/13/48/image_10122025_13_48_24_9616.jpg', 2), ('/home/nano/Desktop/images/10122025/13/48/image_10122025_13_48_15_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/13/47/image_10122025_13_48_05_10623.jpg', 2), ('/home/nano/Desktop/images/10122025/13/47/image_10122025_13_47_54_9611.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 13:49:32.230571 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/13/49/image_10122025_13_49_45_10607.jpg', 2), ('/home/nano/Desktop/images/10122025/13/49/image_10122025_13_49_34_9597.jpg', 2), ('/home/nano/Desktop/images/10122025/13/49/image_10122025_13_49_25_10596.jpg', 2), ('/home/nano/Desktop/images/10122025/13/49/image_10122025_13_49_14_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/13/48/image_10122025_13_49_05_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/13/48/image_10122025_13_48_55_10604.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 13:50:02.903001 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/13/49/image_10122025_13_49_45_10607.jpg', 2), ('/home/nano/Desktop/images/10122025/13/49/image_10122025_13_49_34_9597.jpg', 2), ('/home/nano/Desktop/images/10122025/13/49/image_10122025_13_49_25_10596.jpg', 2), ('/home/nano/Desktop/images/10122025/13/49/image_10122025_13_49_14_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/13/48/image_10122025_13_49_05_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/13/48/image_10122025_13_48_55_10604.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 13:50:32.359723 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/13/50/image_10122025_13_50_45_9591.jpg', 2), ('/home/nano/Desktop/images/10122025/13/50/image_10122025_13_50_35_10603.jpg', 2), ('/home/nano/Desktop/images/10122025/13/50/image_10122025_13_50_24_9597.jpg', 2), ('/home/nano/Desktop/images/10122025/13/50/image_10122025_13_50_15_10625.jpg', 2), ('/home/nano/Desktop/images/10122025/13/49/image_10122025_13_50_04_9616.jpg', 2), ('/home/nano/Desktop/images/10122025/13/49/image_10122025_13_49_55_9593.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 13:51:03.210132 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/13/50/image_10122025_13_50_45_9591.jpg', 2), ('/home/nano/Desktop/images/10122025/13/50/image_10122025_13_50_35_10603.jpg', 2), ('/home/nano/Desktop/images/10122025/13/50/image_10122025_13_50_24_9597.jpg', 2), ('/home/nano/Desktop/images/10122025/13/50/image_10122025_13_50_15_10625.jpg', 2), ('/home/nano/Desktop/images/10122025/13/49/image_10122025_13_50_04_9616.jpg', 2), ('/home/nano/Desktop/images/10122025/13/49/image_10122025_13_49_55_9593.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 13:51:32.505798 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/13/51/image_10122025_13_51_44_9613.jpg', 2), ('/home/nano/Desktop/images/10122025/13/51/image_10122025_13_51_35_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/13/51/image_10122025_13_51_25_10609.jpg', 2), ('/home/nano/Desktop/images/10122025/13/51/image_10122025_13_51_14_9615.jpg', 2), ('/home/nano/Desktop/images/10122025/13/50/image_10122025_13_51_05_10610.jpg', 2), ('/home/nano/Desktop/images/10122025/13/50/image_10122025_13_50_54_9596.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 13:52:03.179574 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/13/51/image_10122025_13_51_44_9613.jpg', 2), ('/home/nano/Desktop/images/10122025/13/51/image_10122025_13_51_35_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/13/51/image_10122025_13_51_25_10609.jpg', 2), ('/home/nano/Desktop/images/10122025/13/51/image_10122025_13_51_14_9615.jpg', 2), ('/home/nano/Desktop/images/10122025/13/50/image_10122025_13_51_05_10610.jpg', 2), ('/home/nano/Desktop/images/10122025/13/50/image_10122025_13_50_54_9596.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 13:52:32.577558 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/13/52/image_10122025_13_52_45_10623.jpg', 2), ('/home/nano/Desktop/images/10122025/13/52/image_10122025_13_52_34_9597.jpg', 2), ('/home/nano/Desktop/images/10122025/13/52/image_10122025_13_52_25_10610.jpg', 2), ('/home/nano/Desktop/images/10122025/13/52/image_10122025_13_52_14_9623.jpg', 2), ('/home/nano/Desktop/images/10122025/13/51/image_10122025_13_52_04_9601.jpg', 2), ('/home/nano/Desktop/images/10122025/13/51/image_10122025_13_51_55_10604.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 13:53:03.249135 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/13/52/image_10122025_13_52_45_10623.jpg', 2), ('/home/nano/Desktop/images/10122025/13/52/image_10122025_13_52_34_9597.jpg', 2), ('/home/nano/Desktop/images/10122025/13/52/image_10122025_13_52_25_10610.jpg', 2), ('/home/nano/Desktop/images/10122025/13/52/image_10122025_13_52_14_9623.jpg', 2), ('/home/nano/Desktop/images/10122025/13/51/image_10122025_13_52_04_9601.jpg', 2), ('/home/nano/Desktop/images/10122025/13/51/image_10122025_13_51_55_10604.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 13:53:32.685988 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/13/53/image_10122025_13_53_45_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/13/53/image_10122025_13_53_35_10607.jpg', 2), ('/home/nano/Desktop/images/10122025/13/53/image_10122025_13_53_24_9593.jpg', 2), ('/home/nano/Desktop/images/10122025/13/53/image_10122025_13_53_15_10642.jpg', 2), ('/home/nano/Desktop/images/10122025/13/52/image_10122025_13_53_04_9603.jpg', 2), ('/home/nano/Desktop/images/10122025/13/52/image_10122025_13_52_55_9596.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 13:54:02.616027 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/13/53/image_10122025_13_53_45_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/13/53/image_10122025_13_53_35_10607.jpg', 2), ('/home/nano/Desktop/images/10122025/13/53/image_10122025_13_53_24_9593.jpg', 2), ('/home/nano/Desktop/images/10122025/13/53/image_10122025_13_53_15_10642.jpg', 2), ('/home/nano/Desktop/images/10122025/13/52/image_10122025_13_53_04_9603.jpg', 2), ('/home/nano/Desktop/images/10122025/13/52/image_10122025_13_52_55_9596.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 13:54:31.816149 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/13/54/image_10122025_13_54_44_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/13/54/image_10122025_13_54_35_9598.jpg', 2), ('/home/nano/Desktop/images/10122025/13/54/image_10122025_13_54_25_10601.jpg', 2), ('/home/nano/Desktop/images/10122025/13/54/image_10122025_13_54_14_9614.jpg', 2), ('/home/nano/Desktop/images/10122025/13/53/image_10122025_13_54_05_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/13/53/image_10122025_13_53_54_9597.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 13:55:02.503310 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/13/54/image_10122025_13_54_44_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/13/54/image_10122025_13_54_35_9598.jpg', 2), ('/home/nano/Desktop/images/10122025/13/54/image_10122025_13_54_25_10601.jpg', 2), ('/home/nano/Desktop/images/10122025/13/54/image_10122025_13_54_14_9614.jpg', 2), ('/home/nano/Desktop/images/10122025/13/53/image_10122025_13_54_05_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/13/53/image_10122025_13_53_54_9597.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 13:55:31.906589 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/13/55/image_10122025_13_55_45_10607.jpg', 2), ('/home/nano/Desktop/images/10122025/13/55/image_10122025_13_55_34_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/13/55/image_10122025_13_55_25_9601.jpg', 2), ('/home/nano/Desktop/images/10122025/13/55/image_10122025_13_55_15_10628.jpg', 2), ('/home/nano/Desktop/images/10122025/13/54/image_10122025_13_55_04_9637.jpg', 2), ('/home/nano/Desktop/images/10122025/13/54/image_10122025_13_54_55_10604.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 13:56:02.525425 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/13/55/image_10122025_13_55_45_10607.jpg', 2), ('/home/nano/Desktop/images/10122025/13/55/image_10122025_13_55_34_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/13/55/image_10122025_13_55_25_9601.jpg', 2), ('/home/nano/Desktop/images/10122025/13/55/image_10122025_13_55_15_10628.jpg', 2), ('/home/nano/Desktop/images/10122025/13/54/image_10122025_13_55_04_9637.jpg', 2), ('/home/nano/Desktop/images/10122025/13/54/image_10122025_13_54_55_10604.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 13:56:32.023260 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/13/56/image_10122025_13_56_45_9599.jpg', 2), ('/home/nano/Desktop/images/10122025/13/56/image_10122025_13_56_35_10604.jpg', 2), ('/home/nano/Desktop/images/10122025/13/56/image_10122025_13_56_24_9595.jpg', 2), ('/home/nano/Desktop/images/10122025/13/56/image_10122025_13_56_15_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/13/55/image_10122025_13_56_04_9601.jpg', 2), ('/home/nano/Desktop/images/10122025/13/55/image_10122025_13_55_55_9595.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 13:57:02.865224 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/13/57/image_10122025_13_57_44_9596.jpg', 2), ('/home/nano/Desktop/images/10122025/13/56/image_10122025_13_56_45_9599.jpg', 2), ('/home/nano/Desktop/images/10122025/13/56/image_10122025_13_56_35_10604.jpg', 2), ('/home/nano/Desktop/images/10122025/13/56/image_10122025_13_56_24_9595.jpg', 2), ('/home/nano/Desktop/images/10122025/13/56/image_10122025_13_56_15_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/13/55/image_10122025_13_56_04_9601.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 13:57:32.105654 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/13/57/image_10122025_13_57_44_9596.jpg', 2), ('/home/nano/Desktop/images/10122025/13/57/image_10122025_13_57_35_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/13/57/image_10122025_13_57_25_10605.jpg', 2), ('/home/nano/Desktop/images/10122025/13/57/image_10122025_13_57_14_9600.jpg', 2), ('/home/nano/Desktop/images/10122025/13/56/image_10122025_13_57_05_10611.jpg', 2), ('/home/nano/Desktop/images/10122025/13/56/image_10122025_13_56_54_9597.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 13:58:02.636951 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/13/57/image_10122025_13_57_44_9596.jpg', 2), ('/home/nano/Desktop/images/10122025/13/57/image_10122025_13_57_35_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/13/57/image_10122025_13_57_25_10605.jpg', 2), ('/home/nano/Desktop/images/10122025/13/57/image_10122025_13_57_14_9600.jpg', 2), ('/home/nano/Desktop/images/10122025/13/56/image_10122025_13_57_05_10611.jpg', 2), ('/home/nano/Desktop/images/10122025/13/56/image_10122025_13_56_54_9597.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 13:59:03.589652 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/13/58/image_10122025_13_58_45_10609.jpg', 2), ('/home/nano/Desktop/images/10122025/13/58/image_10122025_13_58_34_9597.jpg', 2), ('/home/nano/Desktop/images/10122025/13/58/image_10122025_13_58_25_9593.jpg', 2), ('/home/nano/Desktop/images/10122025/13/58/image_10122025_13_58_15_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/13/57/image_10122025_13_58_04_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/13/57/image_10122025_13_57_55_10603.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 13:59:32.438317 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/13/59/image_10122025_13_59_44_9597.jpg', 2), ('/home/nano/Desktop/images/10122025/13/59/image_10122025_13_59_35_10608.jpg', 2), ('/home/nano/Desktop/images/10122025/13/59/image_10122025_13_59_24_9596.jpg', 2), ('/home/nano/Desktop/images/10122025/13/59/image_10122025_13_59_15_9603.jpg', 2), ('/home/nano/Desktop/images/10122025/13/58/image_10122025_13_59_05_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/13/58/image_10122025_13_58_54_9597.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 14:00:03.041719 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/13/59/image_10122025_13_59_44_9597.jpg', 2), ('/home/nano/Desktop/images/10122025/13/59/image_10122025_13_59_35_10608.jpg', 2), ('/home/nano/Desktop/images/10122025/13/59/image_10122025_13_59_24_9596.jpg', 2), ('/home/nano/Desktop/images/10122025/13/59/image_10122025_13_59_15_9603.jpg', 2), ('/home/nano/Desktop/images/10122025/13/58/image_10122025_13_59_05_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/13/58/image_10122025_13_58_54_9597.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 14:00:32.517548 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/14/00/image_10122025_14_00_34_9602.jpg', 2), ('/home/nano/Desktop/images/10122025/14/00/image_10122025_14_00_25_10612.jpg', 2), ('/home/nano/Desktop/images/10122025/14/00/image_10122025_14_00_14_9616.jpg', 2), ('/home/nano/Desktop/images/10122025/13/59/image_10122025_14_00_05_9612.jpg', 2), ('/home/nano/Desktop/images/10122025/13/59/image_10122025_13_59_55_10605.jpg', 2), ('/home/nano/Desktop/images/10122025/13/59/image_10122025_13_59_44_9597.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 14:01:03.320511 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/14/00/image_10122025_14_00_34_9602.jpg', 2), ('/home/nano/Desktop/images/10122025/14/00/image_10122025_14_00_25_10612.jpg', 2), ('/home/nano/Desktop/images/10122025/14/00/image_10122025_14_00_14_9616.jpg', 2), ('/home/nano/Desktop/images/10122025/13/59/image_10122025_14_00_05_9612.jpg', 2), ('/home/nano/Desktop/images/10122025/13/59/image_10122025_13_59_55_10605.jpg', 2), ('/home/nano/Desktop/images/10122025/13/59/image_10122025_13_59_44_9597.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 14:01:32.589510 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/14/01/image_10122025_14_01_34_9603.jpg', 2), ('/home/nano/Desktop/images/10122025/14/01/image_10122025_14_01_25_9602.jpg', 2), ('/home/nano/Desktop/images/10122025/14/00/image_10122025_14_01_04_9613.jpg', 2), ('/home/nano/Desktop/images/10122025/14/00/image_10122025_14_00_45_10613.jpg', 2), ('/home/nano/Desktop/images/10122025/14/00/image_10122025_14_00_34_9602.jpg', 2), ('/home/nano/Desktop/images/10122025/14/00/image_10122025_14_00_25_10612.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 14:02:02.360366 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/14/01/image_10122025_14_01_34_9603.jpg', 2), ('/home/nano/Desktop/images/10122025/14/01/image_10122025_14_01_25_9602.jpg', 2), ('/home/nano/Desktop/images/10122025/14/00/image_10122025_14_01_04_9613.jpg', 2), ('/home/nano/Desktop/images/10122025/14/00/image_10122025_14_00_45_10613.jpg', 2), ('/home/nano/Desktop/images/10122025/14/00/image_10122025_14_00_34_9602.jpg', 2), ('/home/nano/Desktop/images/10122025/14/00/image_10122025_14_00_25_10612.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 14:02:31.790501 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/14/02/image_10122025_14_02_35_10611.jpg', 2), ('/home/nano/Desktop/images/10122025/14/02/image_10122025_14_02_24_9599.jpg', 2), ('/home/nano/Desktop/images/10122025/14/02/image_10122025_14_02_15_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/14/01/image_10122025_14_02_05_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/14/01/image_10122025_14_01_54_9603.jpg', 2), ('/home/nano/Desktop/images/10122025/14/01/image_10122025_14_01_34_9603.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 14:03:02.681017 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/14/02/image_10122025_14_02_35_10611.jpg', 2), ('/home/nano/Desktop/images/10122025/14/02/image_10122025_14_02_24_9599.jpg', 2), ('/home/nano/Desktop/images/10122025/14/02/image_10122025_14_02_15_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/14/01/image_10122025_14_02_05_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/14/01/image_10122025_14_01_54_9603.jpg', 2), ('/home/nano/Desktop/images/10122025/14/01/image_10122025_14_01_34_9603.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 14:03:31.946555 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/14/03/image_10122025_14_03_44_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/14/03/image_10122025_14_03_35_9602.jpg', 2), ('/home/nano/Desktop/images/10122025/14/03/image_10122025_14_03_25_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/14/03/image_10122025_14_03_14_9625.jpg', 2), ('/home/nano/Desktop/images/10122025/14/02/image_10122025_14_03_05_9648.jpg', 2), ('/home/nano/Desktop/images/10122025/14/02/image_10122025_14_02_55_10616.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 14:04:02.929493 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/14/03/image_10122025_14_03_44_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/14/03/image_10122025_14_03_35_9602.jpg', 2), ('/home/nano/Desktop/images/10122025/14/03/image_10122025_14_03_25_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/14/03/image_10122025_14_03_14_9625.jpg', 2), ('/home/nano/Desktop/images/10122025/14/02/image_10122025_14_03_05_9648.jpg', 2), ('/home/nano/Desktop/images/10122025/14/02/image_10122025_14_02_55_10616.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 14:04:32.088998 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/14/04/image_10122025_14_04_45_10611.jpg', 2), ('/home/nano/Desktop/images/10122025/14/04/image_10122025_14_04_34_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/14/04/image_10122025_14_04_25_9602.jpg', 2), ('/home/nano/Desktop/images/10122025/14/04/image_10122025_14_04_15_10632.jpg', 2), ('/home/nano/Desktop/images/10122025/14/03/image_10122025_14_04_04_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/14/03/image_10122025_14_03_55_10614.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 14:05:02.888876 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/14/04/image_10122025_14_04_45_10611.jpg', 2), ('/home/nano/Desktop/images/10122025/14/04/image_10122025_14_04_34_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/14/04/image_10122025_14_04_25_9602.jpg', 2), ('/home/nano/Desktop/images/10122025/14/04/image_10122025_14_04_15_10632.jpg', 2), ('/home/nano/Desktop/images/10122025/14/03/image_10122025_14_04_04_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/14/03/image_10122025_14_03_55_10614.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 14:05:32.234412 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/14/05/image_10122025_14_05_45_9626.jpg', 2), ('/home/nano/Desktop/images/10122025/14/05/image_10122025_14_05_24_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/14/05/image_10122025_14_05_15_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/14/04/image_10122025_14_05_05_10632.jpg', 2), ('/home/nano/Desktop/images/10122025/14/04/image_10122025_14_04_54_9599.jpg', 2), ('/home/nano/Desktop/images/10122025/14/04/image_10122025_14_04_45_10611.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 14:06:02.845048 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/14/06/image_10122025_14_06_55_10613.jpg', 2), ('/home/nano/Desktop/images/10122025/14/05/image_10122025_14_05_45_9626.jpg', 2), ('/home/nano/Desktop/images/10122025/14/05/image_10122025_14_05_24_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/14/05/image_10122025_14_05_15_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/14/04/image_10122025_14_05_05_10632.jpg', 2), ('/home/nano/Desktop/images/10122025/14/04/image_10122025_14_04_54_9599.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 14:06:32.322309 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/14/06/image_10122025_14_06_55_10613.jpg', 2), ('/home/nano/Desktop/images/10122025/14/06/image_10122025_14_06_35_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/14/06/image_10122025_14_06_25_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/14/06/image_10122025_14_06_14_9639.jpg', 2), ('/home/nano/Desktop/images/10122025/14/05/image_10122025_14_06_05_10612.jpg', 2), ('/home/nano/Desktop/images/10122025/14/05/image_10122025_14_05_54_9605.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 14:07:03.197562 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/14/06/image_10122025_14_06_55_10613.jpg', 2), ('/home/nano/Desktop/images/10122025/14/06/image_10122025_14_06_35_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/14/06/image_10122025_14_06_25_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/14/06/image_10122025_14_06_14_9639.jpg', 2), ('/home/nano/Desktop/images/10122025/14/05/image_10122025_14_06_05_10612.jpg', 2), ('/home/nano/Desktop/images/10122025/14/05/image_10122025_14_05_54_9605.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 14:07:32.474309 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/14/07/image_10122025_14_07_45_10613.jpg', 2), ('/home/nano/Desktop/images/10122025/14/07/image_10122025_14_07_34_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/14/07/image_10122025_14_07_25_9601.jpg', 2), ('/home/nano/Desktop/images/10122025/14/07/image_10122025_14_07_15_10649.jpg', 2), ('/home/nano/Desktop/images/10122025/14/06/image_10122025_14_07_04_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/14/06/image_10122025_14_06_55_10613.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 14:08:03.185123 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/14/07/image_10122025_14_07_45_10613.jpg', 2), ('/home/nano/Desktop/images/10122025/14/07/image_10122025_14_07_34_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/14/07/image_10122025_14_07_25_9601.jpg', 2), ('/home/nano/Desktop/images/10122025/14/07/image_10122025_14_07_15_10649.jpg', 2), ('/home/nano/Desktop/images/10122025/14/06/image_10122025_14_07_04_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/14/06/image_10122025_14_06_55_10613.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 14:08:32.658305 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/14/08/image_10122025_14_08_45_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/14/08/image_10122025_14_08_35_10612.jpg', 2), ('/home/nano/Desktop/images/10122025/14/08/image_10122025_14_08_24_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/14/08/image_10122025_14_08_15_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/14/07/image_10122025_14_08_04_9614.jpg', 2), ('/home/nano/Desktop/images/10122025/14/07/image_10122025_14_07_55_9603.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 14:09:03.650429 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/14/08/image_10122025_14_08_45_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/14/08/image_10122025_14_08_35_10612.jpg', 2), ('/home/nano/Desktop/images/10122025/14/08/image_10122025_14_08_24_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/14/08/image_10122025_14_08_15_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/14/07/image_10122025_14_08_04_9614.jpg', 2), ('/home/nano/Desktop/images/10122025/14/07/image_10122025_14_07_55_9603.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 14:09:32.751301 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/14/09/image_10122025_14_09_44_9602.jpg', 2), ('/home/nano/Desktop/images/10122025/14/09/image_10122025_14_09_35_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/14/09/image_10122025_14_09_25_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/14/09/image_10122025_14_09_14_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/14/08/image_10122025_14_08_54_9602.jpg', 2), ('/home/nano/Desktop/images/10122025/14/08/image_10122025_14_08_45_9607.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 14:10:02.354034 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/14/09/image_10122025_14_09_44_9602.jpg', 2), ('/home/nano/Desktop/images/10122025/14/09/image_10122025_14_09_35_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/14/09/image_10122025_14_09_25_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/14/09/image_10122025_14_09_14_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/14/08/image_10122025_14_08_54_9602.jpg', 2), ('/home/nano/Desktop/images/10122025/14/08/image_10122025_14_08_45_9607.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 14:10:31.836674 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/14/10/image_10122025_14_10_34_9602.jpg', 2), ('/home/nano/Desktop/images/10122025/14/10/image_10122025_14_10_25_10629.jpg', 2), ('/home/nano/Desktop/images/10122025/14/10/image_10122025_14_10_14_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/14/09/image_10122025_14_10_05_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/14/09/image_10122025_14_09_55_10610.jpg', 2), ('/home/nano/Desktop/images/10122025/14/09/image_10122025_14_09_44_9602.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 14:11:02.497576 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/14/10/image_10122025_14_10_34_9602.jpg', 2), ('/home/nano/Desktop/images/10122025/14/10/image_10122025_14_10_25_10629.jpg', 2), ('/home/nano/Desktop/images/10122025/14/10/image_10122025_14_10_14_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/14/09/image_10122025_14_10_05_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/14/09/image_10122025_14_09_55_10610.jpg', 2), ('/home/nano/Desktop/images/10122025/14/09/image_10122025_14_09_44_9602.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 14:11:31.906421 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/14/11/image_10122025_14_11_45_9602.jpg', 2), ('/home/nano/Desktop/images/10122025/14/11/image_10122025_14_11_35_10612.jpg', 2), ('/home/nano/Desktop/images/10122025/14/11/image_10122025_14_11_15_10631.jpg', 2), ('/home/nano/Desktop/images/10122025/14/10/image_10122025_14_11_04_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/14/10/image_10122025_14_10_55_9615.jpg', 2), ('/home/nano/Desktop/images/10122025/14/10/image_10122025_14_10_34_9602.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 14:12:02.636554 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/14/11/image_10122025_14_11_45_9602.jpg', 2), ('/home/nano/Desktop/images/10122025/14/11/image_10122025_14_11_35_10612.jpg', 2), ('/home/nano/Desktop/images/10122025/14/11/image_10122025_14_11_15_10631.jpg', 2), ('/home/nano/Desktop/images/10122025/14/10/image_10122025_14_11_04_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/14/10/image_10122025_14_10_55_9615.jpg', 2), ('/home/nano/Desktop/images/10122025/14/10/image_10122025_14_10_34_9602.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 14:12:32.033229 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/14/12/image_10122025_14_12_44_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/14/12/image_10122025_14_12_35_9623.jpg', 2), ('/home/nano/Desktop/images/10122025/14/12/image_10122025_14_12_25_10611.jpg', 2), ('/home/nano/Desktop/images/10122025/14/12/image_10122025_14_12_14_9614.jpg', 2), ('/home/nano/Desktop/images/10122025/14/11/image_10122025_14_11_54_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/14/11/image_10122025_14_11_45_9602.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 14:13:02.845917 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/14/12/image_10122025_14_12_44_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/14/12/image_10122025_14_12_35_9623.jpg', 2), ('/home/nano/Desktop/images/10122025/14/12/image_10122025_14_12_25_10611.jpg', 2), ('/home/nano/Desktop/images/10122025/14/12/image_10122025_14_12_14_9614.jpg', 2), ('/home/nano/Desktop/images/10122025/14/11/image_10122025_14_11_54_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/14/11/image_10122025_14_11_45_9602.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 14:13:32.100236 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/14/13/image_10122025_14_13_45_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/14/13/image_10122025_14_13_34_9601.jpg', 2), ('/home/nano/Desktop/images/10122025/14/13/image_10122025_14_13_25_10612.jpg', 2), ('/home/nano/Desktop/images/10122025/14/13/image_10122025_14_13_14_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/14/12/image_10122025_14_13_05_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/14/12/image_10122025_14_12_55_10613.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 14:14:03.072627 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/14/13/image_10122025_14_13_45_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/14/13/image_10122025_14_13_34_9601.jpg', 2), ('/home/nano/Desktop/images/10122025/14/13/image_10122025_14_13_25_10612.jpg', 2), ('/home/nano/Desktop/images/10122025/14/13/image_10122025_14_13_14_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/14/12/image_10122025_14_13_05_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/14/12/image_10122025_14_12_55_10613.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 14:14:32.249675 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/14/14/image_10122025_14_14_45_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/14/14/image_10122025_14_14_35_10613.jpg', 2), ('/home/nano/Desktop/images/10122025/14/14/image_10122025_14_14_24_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/14/14/image_10122025_14_14_15_10660.jpg', 2), ('/home/nano/Desktop/images/10122025/14/13/image_10122025_14_14_04_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/14/13/image_10122025_14_13_55_9601.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 14:15:03.106045 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/14/14/image_10122025_14_14_45_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/14/14/image_10122025_14_14_35_10613.jpg', 2), ('/home/nano/Desktop/images/10122025/14/14/image_10122025_14_14_24_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/14/14/image_10122025_14_14_15_10660.jpg', 2), ('/home/nano/Desktop/images/10122025/14/13/image_10122025_14_14_04_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/14/13/image_10122025_14_13_55_9601.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 14:15:32.345699 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/14/15/image_10122025_14_15_24_9603.jpg', 2), ('/home/nano/Desktop/images/10122025/14/15/image_10122025_14_15_15_9614.jpg', 2), ('/home/nano/Desktop/images/10122025/14/14/image_10122025_14_15_05_10613.jpg', 2), ('/home/nano/Desktop/images/10122025/14/14/image_10122025_14_14_54_9603.jpg', 2), ('/home/nano/Desktop/images/10122025/14/14/image_10122025_14_14_45_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/14/14/image_10122025_14_14_35_10613.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 14:16:03.000806 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/14/15/image_10122025_14_15_24_9603.jpg', 2), ('/home/nano/Desktop/images/10122025/14/15/image_10122025_14_15_15_9614.jpg', 2), ('/home/nano/Desktop/images/10122025/14/14/image_10122025_14_15_05_10613.jpg', 2), ('/home/nano/Desktop/images/10122025/14/14/image_10122025_14_14_54_9603.jpg', 2), ('/home/nano/Desktop/images/10122025/14/14/image_10122025_14_14_45_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/14/14/image_10122025_14_14_35_10613.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 14:16:32.584598 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/14/16/image_10122025_14_16_45_10611.jpg', 2), ('/home/nano/Desktop/images/10122025/14/16/image_10122025_14_16_34_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/14/16/image_10122025_14_16_25_10612.jpg', 2), ('/home/nano/Desktop/images/10122025/14/16/image_10122025_14_16_14_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/14/15/image_10122025_14_15_44_9602.jpg', 2), ('/home/nano/Desktop/images/10122025/14/15/image_10122025_14_15_24_9603.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 14:17:03.291589 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/14/16/image_10122025_14_16_45_10611.jpg', 2), ('/home/nano/Desktop/images/10122025/14/16/image_10122025_14_16_34_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/14/16/image_10122025_14_16_25_10612.jpg', 2), ('/home/nano/Desktop/images/10122025/14/16/image_10122025_14_16_14_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/14/15/image_10122025_14_15_44_9602.jpg', 2), ('/home/nano/Desktop/images/10122025/14/15/image_10122025_14_15_24_9603.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 14:17:32.632106 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/14/17/image_10122025_14_17_45_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/14/17/image_10122025_14_17_34_9603.jpg', 2), ('/home/nano/Desktop/images/10122025/14/17/image_10122025_14_17_25_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/14/16/image_10122025_14_17_04_9627.jpg', 2), ('/home/nano/Desktop/images/10122025/14/16/image_10122025_14_16_55_9600.jpg', 2), ('/home/nano/Desktop/images/10122025/14/16/image_10122025_14_16_45_10611.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 14:18:03.246088 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/14/17/image_10122025_14_17_45_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/14/17/image_10122025_14_17_34_9603.jpg', 2), ('/home/nano/Desktop/images/10122025/14/17/image_10122025_14_17_25_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/14/16/image_10122025_14_17_04_9627.jpg', 2), ('/home/nano/Desktop/images/10122025/14/16/image_10122025_14_16_55_9600.jpg', 2), ('/home/nano/Desktop/images/10122025/14/16/image_10122025_14_16_45_10611.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 14:18:32.702639 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/14/18/image_10122025_14_18_44_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/14/18/image_10122025_14_18_35_10629.jpg', 2), ('/home/nano/Desktop/images/10122025/14/18/image_10122025_14_18_24_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/14/18/image_10122025_14_18_15_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/14/17/image_10122025_14_18_05_10619.jpg', 2), ('/home/nano/Desktop/images/10122025/14/17/image_10122025_14_17_54_9604.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 14:19:02.637628 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/14/18/image_10122025_14_18_44_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/14/18/image_10122025_14_18_35_10629.jpg', 2), ('/home/nano/Desktop/images/10122025/14/18/image_10122025_14_18_24_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/14/18/image_10122025_14_18_15_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/14/17/image_10122025_14_18_05_10619.jpg', 2), ('/home/nano/Desktop/images/10122025/14/17/image_10122025_14_17_54_9604.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 14:19:31.837112 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/14/19/image_10122025_14_19_44_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/14/19/image_10122025_14_19_25_10612.jpg', 2), ('/home/nano/Desktop/images/10122025/14/19/image_10122025_14_19_14_9643.jpg', 2), ('/home/nano/Desktop/images/10122025/14/18/image_10122025_14_19_05_9644.jpg', 2), ('/home/nano/Desktop/images/10122025/14/18/image_10122025_14_18_55_10611.jpg', 2), ('/home/nano/Desktop/images/10122025/14/18/image_10122025_14_18_44_9618.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 14:20:02.469735 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/14/19/image_10122025_14_19_44_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/14/19/image_10122025_14_19_25_10612.jpg', 2), ('/home/nano/Desktop/images/10122025/14/19/image_10122025_14_19_14_9643.jpg', 2), ('/home/nano/Desktop/images/10122025/14/18/image_10122025_14_19_05_9644.jpg', 2), ('/home/nano/Desktop/images/10122025/14/18/image_10122025_14_18_55_10611.jpg', 2), ('/home/nano/Desktop/images/10122025/14/18/image_10122025_14_18_44_9618.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 14:20:32.006673 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/14/20/image_10122025_14_20_45_10613.jpg', 2), ('/home/nano/Desktop/images/10122025/14/20/image_10122025_14_20_34_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/14/20/image_10122025_14_20_25_9603.jpg', 2), ('/home/nano/Desktop/images/10122025/14/20/image_10122025_14_20_15_10634.jpg', 2), ('/home/nano/Desktop/images/10122025/14/19/image_10122025_14_20_04_9634.jpg', 2), ('/home/nano/Desktop/images/10122025/14/19/image_10122025_14_19_55_10615.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 14:21:02.752996 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/14/20/image_10122025_14_20_45_10613.jpg', 2), ('/home/nano/Desktop/images/10122025/14/20/image_10122025_14_20_34_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/14/20/image_10122025_14_20_25_9603.jpg', 2), ('/home/nano/Desktop/images/10122025/14/20/image_10122025_14_20_15_10634.jpg', 2), ('/home/nano/Desktop/images/10122025/14/19/image_10122025_14_20_04_9634.jpg', 2), ('/home/nano/Desktop/images/10122025/14/19/image_10122025_14_19_55_10615.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 14:21:32.058289 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/14/21/image_10122025_14_21_45_9603.jpg', 2), ('/home/nano/Desktop/images/10122025/14/21/image_10122025_14_21_35_10613.jpg', 2), ('/home/nano/Desktop/images/10122025/14/21/image_10122025_14_21_15_10629.jpg', 2), ('/home/nano/Desktop/images/10122025/14/20/image_10122025_14_21_04_9615.jpg', 2), ('/home/nano/Desktop/images/10122025/14/20/image_10122025_14_20_54_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/14/20/image_10122025_14_20_45_10613.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 14:22:02.568577 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/14/21/image_10122025_14_21_45_9603.jpg', 2), ('/home/nano/Desktop/images/10122025/14/21/image_10122025_14_21_35_10613.jpg', 2), ('/home/nano/Desktop/images/10122025/14/21/image_10122025_14_21_15_10629.jpg', 2), ('/home/nano/Desktop/images/10122025/14/20/image_10122025_14_21_04_9615.jpg', 2), ('/home/nano/Desktop/images/10122025/14/20/image_10122025_14_20_54_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/14/20/image_10122025_14_20_45_10613.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 14:22:32.182220 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/14/22/image_10122025_14_22_44_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/14/22/image_10122025_14_22_35_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/14/22/image_10122025_14_22_25_10611.jpg', 2), ('/home/nano/Desktop/images/10122025/14/22/image_10122025_14_22_14_9615.jpg', 2), ('/home/nano/Desktop/images/10122025/14/21/image_10122025_14_21_54_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/14/21/image_10122025_14_21_45_9603.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 14:23:03.082836 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/14/22/image_10122025_14_22_44_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/14/22/image_10122025_14_22_35_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/14/22/image_10122025_14_22_25_10611.jpg', 2), ('/home/nano/Desktop/images/10122025/14/22/image_10122025_14_22_14_9615.jpg', 2), ('/home/nano/Desktop/images/10122025/14/21/image_10122025_14_21_54_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/14/21/image_10122025_14_21_45_9603.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 14:23:32.278488 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/14/23/image_10122025_14_23_45_10632.jpg', 2), ('/home/nano/Desktop/images/10122025/14/23/image_10122025_14_23_34_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/14/23/image_10122025_14_23_25_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/14/23/image_10122025_14_23_15_10652.jpg', 2), ('/home/nano/Desktop/images/10122025/14/22/image_10122025_14_23_04_9615.jpg', 2), ('/home/nano/Desktop/images/10122025/14/22/image_10122025_14_22_55_10615.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 14:24:03.195651 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/14/23/image_10122025_14_23_45_10632.jpg', 2), ('/home/nano/Desktop/images/10122025/14/23/image_10122025_14_23_34_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/14/23/image_10122025_14_23_25_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/14/23/image_10122025_14_23_15_10652.jpg', 2), ('/home/nano/Desktop/images/10122025/14/22/image_10122025_14_23_04_9615.jpg', 2), ('/home/nano/Desktop/images/10122025/14/22/image_10122025_14_22_55_10615.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 14:24:32.402527 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/14/24/image_10122025_14_24_45_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/14/24/image_10122025_14_24_35_10619.jpg', 2), ('/home/nano/Desktop/images/10122025/14/24/image_10122025_14_24_24_9601.jpg', 2), ('/home/nano/Desktop/images/10122025/14/24/image_10122025_14_24_15_10647.jpg', 2), ('/home/nano/Desktop/images/10122025/14/23/image_10122025_14_24_04_9653.jpg', 2), ('/home/nano/Desktop/images/10122025/14/23/image_10122025_14_23_55_9603.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 14:25:03.260782 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/14/24/image_10122025_14_24_45_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/14/24/image_10122025_14_24_35_10619.jpg', 2), ('/home/nano/Desktop/images/10122025/14/24/image_10122025_14_24_24_9601.jpg', 2), ('/home/nano/Desktop/images/10122025/14/24/image_10122025_14_24_15_10647.jpg', 2), ('/home/nano/Desktop/images/10122025/14/23/image_10122025_14_24_04_9653.jpg', 2), ('/home/nano/Desktop/images/10122025/14/23/image_10122025_14_23_55_9603.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 14:25:32.518728 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/14/25/image_10122025_14_25_44_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/14/25/image_10122025_14_25_35_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/14/25/image_10122025_14_25_24_9603.jpg', 2), ('/home/nano/Desktop/images/10122025/14/25/image_10122025_14_25_15_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/14/24/image_10122025_14_25_05_10637.jpg', 2), ('/home/nano/Desktop/images/10122025/14/24/image_10122025_14_24_54_9603.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 14:26:03.083846 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/14/25/image_10122025_14_25_44_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/14/25/image_10122025_14_25_35_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/14/25/image_10122025_14_25_24_9603.jpg', 2), ('/home/nano/Desktop/images/10122025/14/25/image_10122025_14_25_15_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/14/24/image_10122025_14_25_05_10637.jpg', 2), ('/home/nano/Desktop/images/10122025/14/24/image_10122025_14_24_54_9603.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 14:26:32.626981 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/14/26/image_10122025_14_26_45_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/14/26/image_10122025_14_26_34_9602.jpg', 2), ('/home/nano/Desktop/images/10122025/14/26/image_10122025_14_26_25_10610.jpg', 2), ('/home/nano/Desktop/images/10122025/14/26/image_10122025_14_26_14_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/14/25/image_10122025_14_26_05_9615.jpg', 2), ('/home/nano/Desktop/images/10122025/14/25/image_10122025_14_25_55_10633.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 14:27:03.468743 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/14/26/image_10122025_14_26_45_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/14/26/image_10122025_14_26_34_9602.jpg', 2), ('/home/nano/Desktop/images/10122025/14/26/image_10122025_14_26_25_10610.jpg', 2), ('/home/nano/Desktop/images/10122025/14/26/image_10122025_14_26_14_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/14/25/image_10122025_14_26_05_9615.jpg', 2), ('/home/nano/Desktop/images/10122025/14/25/image_10122025_14_25_55_10633.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 14:27:32.691737 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/14/27/image_10122025_14_27_45_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/14/27/image_10122025_14_27_25_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/14/27/image_10122025_14_27_15_10628.jpg', 2), ('/home/nano/Desktop/images/10122025/14/26/image_10122025_14_27_04_9613.jpg', 2), ('/home/nano/Desktop/images/10122025/14/26/image_10122025_14_26_55_9601.jpg', 2), ('/home/nano/Desktop/images/10122025/14/26/image_10122025_14_26_45_10615.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 14:28:02.438657 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/14/27/image_10122025_14_27_45_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/14/27/image_10122025_14_27_25_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/14/27/image_10122025_14_27_15_10628.jpg', 2), ('/home/nano/Desktop/images/10122025/14/26/image_10122025_14_27_04_9613.jpg', 2), ('/home/nano/Desktop/images/10122025/14/26/image_10122025_14_26_55_9601.jpg', 2), ('/home/nano/Desktop/images/10122025/14/26/image_10122025_14_26_45_10615.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 14:28:31.854022 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/14/28/image_10122025_14_28_44_9603.jpg', 2), ('/home/nano/Desktop/images/10122025/14/28/image_10122025_14_28_35_10612.jpg', 2), ('/home/nano/Desktop/images/10122025/14/28/image_10122025_14_28_24_9602.jpg', 2), ('/home/nano/Desktop/images/10122025/14/28/image_10122025_14_28_15_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/14/27/image_10122025_14_28_05_10622.jpg', 2), ('/home/nano/Desktop/images/10122025/14/27/image_10122025_14_27_54_9619.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 14:29:02.889495 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/14/28/image_10122025_14_28_44_9603.jpg', 2), ('/home/nano/Desktop/images/10122025/14/28/image_10122025_14_28_35_10612.jpg', 2), ('/home/nano/Desktop/images/10122025/14/28/image_10122025_14_28_24_9602.jpg', 2), ('/home/nano/Desktop/images/10122025/14/28/image_10122025_14_28_15_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/14/27/image_10122025_14_28_05_10622.jpg', 2), ('/home/nano/Desktop/images/10122025/14/27/image_10122025_14_27_54_9619.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 14:29:32.165585 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/14/29/image_10122025_14_29_44_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/14/29/image_10122025_14_29_35_9603.jpg', 2), ('/home/nano/Desktop/images/10122025/14/29/image_10122025_14_29_14_9613.jpg', 2), ('/home/nano/Desktop/images/10122025/14/28/image_10122025_14_29_05_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/14/28/image_10122025_14_28_55_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/14/28/image_10122025_14_28_44_9603.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 14:30:02.654599 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/14/29/image_10122025_14_29_44_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/14/29/image_10122025_14_29_35_9603.jpg', 2), ('/home/nano/Desktop/images/10122025/14/29/image_10122025_14_29_14_9613.jpg', 2), ('/home/nano/Desktop/images/10122025/14/28/image_10122025_14_29_05_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/14/28/image_10122025_14_28_55_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/14/28/image_10122025_14_28_44_9603.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 14:30:32.144145 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/14/30/image_10122025_14_30_45_10631.jpg', 2), ('/home/nano/Desktop/images/10122025/14/30/image_10122025_14_30_34_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/14/30/image_10122025_14_30_25_9602.jpg', 2), ('/home/nano/Desktop/images/10122025/14/30/image_10122025_14_30_15_10628.jpg', 2), ('/home/nano/Desktop/images/10122025/14/29/image_10122025_14_30_04_9612.jpg', 2), ('/home/nano/Desktop/images/10122025/14/29/image_10122025_14_29_55_10615.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 14:31:03.034958 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/14/30/image_10122025_14_30_45_10631.jpg', 2), ('/home/nano/Desktop/images/10122025/14/30/image_10122025_14_30_34_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/14/30/image_10122025_14_30_25_9602.jpg', 2), ('/home/nano/Desktop/images/10122025/14/30/image_10122025_14_30_15_10628.jpg', 2), ('/home/nano/Desktop/images/10122025/14/29/image_10122025_14_30_04_9612.jpg', 2), ('/home/nano/Desktop/images/10122025/14/29/image_10122025_14_29_55_10615.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 14:31:32.267971 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/14/31/image_10122025_14_31_45_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/14/31/image_10122025_14_31_35_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/14/31/image_10122025_14_31_24_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/14/31/image_10122025_14_31_15_9614.jpg', 2), ('/home/nano/Desktop/images/10122025/14/30/image_10122025_14_31_05_10633.jpg', 2), ('/home/nano/Desktop/images/10122025/14/30/image_10122025_14_30_54_9622.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 14:32:02.858491 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/14/31/image_10122025_14_31_45_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/14/31/image_10122025_14_31_35_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/14/31/image_10122025_14_31_24_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/14/31/image_10122025_14_31_15_9614.jpg', 2), ('/home/nano/Desktop/images/10122025/14/30/image_10122025_14_31_05_10633.jpg', 2), ('/home/nano/Desktop/images/10122025/14/30/image_10122025_14_30_54_9622.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 14:32:32.372362 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/14/32/image_10122025_14_32_44_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/14/32/image_10122025_14_32_35_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/14/32/image_10122025_14_32_25_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/14/32/image_10122025_14_32_14_9627.jpg', 2), ('/home/nano/Desktop/images/10122025/14/31/image_10122025_14_32_05_10619.jpg', 2), ('/home/nano/Desktop/images/10122025/14/31/image_10122025_14_31_54_9603.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 14:33:03.074921 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/14/32/image_10122025_14_32_44_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/14/32/image_10122025_14_32_35_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/14/32/image_10122025_14_32_25_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/14/32/image_10122025_14_32_14_9627.jpg', 2), ('/home/nano/Desktop/images/10122025/14/31/image_10122025_14_32_05_10619.jpg', 2), ('/home/nano/Desktop/images/10122025/14/31/image_10122025_14_31_54_9603.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 14:33:32.430656 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/14/33/image_10122025_14_33_45_10632.jpg', 2), ('/home/nano/Desktop/images/10122025/14/33/image_10122025_14_33_34_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/14/33/image_10122025_14_33_25_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/14/33/image_10122025_14_33_15_10633.jpg', 2), ('/home/nano/Desktop/images/10122025/14/32/image_10122025_14_33_04_9632.jpg', 2), ('/home/nano/Desktop/images/10122025/14/32/image_10122025_14_32_55_10615.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 14:34:03.478398 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/14/33/image_10122025_14_33_45_10632.jpg', 2), ('/home/nano/Desktop/images/10122025/14/33/image_10122025_14_33_34_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/14/33/image_10122025_14_33_25_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/14/33/image_10122025_14_33_15_10633.jpg', 2), ('/home/nano/Desktop/images/10122025/14/32/image_10122025_14_33_04_9632.jpg', 2), ('/home/nano/Desktop/images/10122025/14/32/image_10122025_14_32_55_10615.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 14:34:32.629146 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/14/34/image_10122025_14_34_45_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/14/34/image_10122025_14_34_35_10612.jpg', 2), ('/home/nano/Desktop/images/10122025/14/34/image_10122025_14_34_24_9602.jpg', 2), ('/home/nano/Desktop/images/10122025/14/34/image_10122025_14_34_15_10631.jpg', 2), ('/home/nano/Desktop/images/10122025/14/33/image_10122025_14_34_04_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/14/33/image_10122025_14_33_55_9607.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 14:35:03.357556 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/14/34/image_10122025_14_34_45_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/14/34/image_10122025_14_34_35_10612.jpg', 2), ('/home/nano/Desktop/images/10122025/14/34/image_10122025_14_34_24_9602.jpg', 2), ('/home/nano/Desktop/images/10122025/14/34/image_10122025_14_34_15_10631.jpg', 2), ('/home/nano/Desktop/images/10122025/14/33/image_10122025_14_34_04_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/14/33/image_10122025_14_33_55_9607.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 14:35:32.761171 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/14/35/image_10122025_14_35_44_9600.jpg', 2), ('/home/nano/Desktop/images/10122025/14/35/image_10122025_14_35_35_9603.jpg', 2), ('/home/nano/Desktop/images/10122025/14/35/image_10122025_14_35_25_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/14/35/image_10122025_14_35_14_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/14/34/image_10122025_14_35_05_10643.jpg', 2), ('/home/nano/Desktop/images/10122025/14/34/image_10122025_14_34_54_9604.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 14:36:02.291185 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/14/35/image_10122025_14_35_44_9600.jpg', 2), ('/home/nano/Desktop/images/10122025/14/35/image_10122025_14_35_35_9603.jpg', 2), ('/home/nano/Desktop/images/10122025/14/35/image_10122025_14_35_25_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/14/35/image_10122025_14_35_14_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/14/34/image_10122025_14_35_05_10643.jpg', 2), ('/home/nano/Desktop/images/10122025/14/34/image_10122025_14_34_54_9604.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 14:36:31.925478 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/14/36/image_10122025_14_36_45_10607.jpg', 2), ('/home/nano/Desktop/images/10122025/14/36/image_10122025_14_36_34_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/14/36/image_10122025_14_36_25_10627.jpg', 2), ('/home/nano/Desktop/images/10122025/14/36/image_10122025_14_36_14_9631.jpg', 2), ('/home/nano/Desktop/images/10122025/14/35/image_10122025_14_36_05_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/14/35/image_10122025_14_35_55_10606.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 14:37:02.567352 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/14/36/image_10122025_14_36_45_10607.jpg', 2), ('/home/nano/Desktop/images/10122025/14/36/image_10122025_14_36_34_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/14/36/image_10122025_14_36_25_10627.jpg', 2), ('/home/nano/Desktop/images/10122025/14/36/image_10122025_14_36_14_9631.jpg', 2), ('/home/nano/Desktop/images/10122025/14/35/image_10122025_14_36_05_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/14/35/image_10122025_14_35_55_10606.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 14:37:32.033017 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/14/37/image_10122025_14_37_45_9594.jpg', 2), ('/home/nano/Desktop/images/10122025/14/37/image_10122025_14_37_35_10608.jpg', 2), ('/home/nano/Desktop/images/10122025/14/37/image_10122025_14_37_24_9598.jpg', 2), ('/home/nano/Desktop/images/10122025/14/37/image_10122025_14_37_15_10624.jpg', 2), ('/home/nano/Desktop/images/10122025/14/36/image_10122025_14_37_04_9596.jpg', 2), ('/home/nano/Desktop/images/10122025/14/36/image_10122025_14_36_55_9595.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 14:38:02.678987 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/14/37/image_10122025_14_37_45_9594.jpg', 2), ('/home/nano/Desktop/images/10122025/14/37/image_10122025_14_37_35_10608.jpg', 2), ('/home/nano/Desktop/images/10122025/14/37/image_10122025_14_37_24_9598.jpg', 2), ('/home/nano/Desktop/images/10122025/14/37/image_10122025_14_37_15_10624.jpg', 2), ('/home/nano/Desktop/images/10122025/14/36/image_10122025_14_37_04_9596.jpg', 2), ('/home/nano/Desktop/images/10122025/14/36/image_10122025_14_36_55_9595.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 14:38:32.121462 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/14/38/image_10122025_14_38_44_9594.jpg', 2), ('/home/nano/Desktop/images/10122025/14/38/image_10122025_14_38_35_9598.jpg', 2), ('/home/nano/Desktop/images/10122025/14/38/image_10122025_14_38_25_10603.jpg', 2), ('/home/nano/Desktop/images/10122025/14/38/image_10122025_14_38_14_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/14/37/image_10122025_14_38_05_10605.jpg', 2), ('/home/nano/Desktop/images/10122025/14/37/image_10122025_14_37_54_9598.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 14:39:03.185080 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/14/38/image_10122025_14_38_44_9594.jpg', 2), ('/home/nano/Desktop/images/10122025/14/38/image_10122025_14_38_35_9598.jpg', 2), ('/home/nano/Desktop/images/10122025/14/38/image_10122025_14_38_25_10603.jpg', 2), ('/home/nano/Desktop/images/10122025/14/38/image_10122025_14_38_14_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/14/37/image_10122025_14_38_05_10605.jpg', 2), ('/home/nano/Desktop/images/10122025/14/37/image_10122025_14_37_54_9598.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 14:39:32.248155 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/14/39/image_10122025_14_39_45_10605.jpg', 2), ('/home/nano/Desktop/images/10122025/14/39/image_10122025_14_39_34_9593.jpg', 2), ('/home/nano/Desktop/images/10122025/14/39/image_10122025_14_39_25_9596.jpg', 2), ('/home/nano/Desktop/images/10122025/14/39/image_10122025_14_39_15_10649.jpg', 2), ('/home/nano/Desktop/images/10122025/14/38/image_10122025_14_39_04_9600.jpg', 2), ('/home/nano/Desktop/images/10122025/14/38/image_10122025_14_38_55_10603.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 14:40:02.825053 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/14/39/image_10122025_14_39_45_10605.jpg', 2), ('/home/nano/Desktop/images/10122025/14/39/image_10122025_14_39_34_9593.jpg', 2), ('/home/nano/Desktop/images/10122025/14/39/image_10122025_14_39_25_9596.jpg', 2), ('/home/nano/Desktop/images/10122025/14/39/image_10122025_14_39_15_10649.jpg', 2), ('/home/nano/Desktop/images/10122025/14/38/image_10122025_14_39_04_9600.jpg', 2), ('/home/nano/Desktop/images/10122025/14/38/image_10122025_14_38_55_10603.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 14:40:32.345720 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/14/40/image_10122025_14_40_45_9597.jpg', 2), ('/home/nano/Desktop/images/10122025/14/40/image_10122025_14_40_35_10623.jpg', 2), ('/home/nano/Desktop/images/10122025/14/40/image_10122025_14_40_24_9598.jpg', 2), ('/home/nano/Desktop/images/10122025/14/40/image_10122025_14_40_15_9614.jpg', 2), ('/home/nano/Desktop/images/10122025/14/39/image_10122025_14_40_05_10635.jpg', 2), ('/home/nano/Desktop/images/10122025/14/39/image_10122025_14_39_54_9596.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 14:41:03.284280 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/14/40/image_10122025_14_40_45_9597.jpg', 2), ('/home/nano/Desktop/images/10122025/14/40/image_10122025_14_40_35_10623.jpg', 2), ('/home/nano/Desktop/images/10122025/14/40/image_10122025_14_40_24_9598.jpg', 2), ('/home/nano/Desktop/images/10122025/14/40/image_10122025_14_40_15_9614.jpg', 2), ('/home/nano/Desktop/images/10122025/14/39/image_10122025_14_40_05_10635.jpg', 2), ('/home/nano/Desktop/images/10122025/14/39/image_10122025_14_39_54_9596.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 14:41:32.487902 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/14/41/image_10122025_14_41_44_9597.jpg', 2), ('/home/nano/Desktop/images/10122025/14/41/image_10122025_14_41_35_9603.jpg', 2), ('/home/nano/Desktop/images/10122025/14/41/image_10122025_14_41_25_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/14/41/image_10122025_14_41_14_9613.jpg', 2), ('/home/nano/Desktop/images/10122025/14/40/image_10122025_14_41_05_10632.jpg', 2), ('/home/nano/Desktop/images/10122025/14/40/image_10122025_14_40_54_9615.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 14:42:03.044922 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/14/41/image_10122025_14_41_44_9597.jpg', 2), ('/home/nano/Desktop/images/10122025/14/41/image_10122025_14_41_35_9603.jpg', 2), ('/home/nano/Desktop/images/10122025/14/41/image_10122025_14_41_25_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/14/41/image_10122025_14_41_14_9613.jpg', 2), ('/home/nano/Desktop/images/10122025/14/40/image_10122025_14_41_05_10632.jpg', 2), ('/home/nano/Desktop/images/10122025/14/40/image_10122025_14_40_54_9615.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 14:42:32.566804 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/14/42/image_10122025_14_42_45_10603.jpg', 2), ('/home/nano/Desktop/images/10122025/14/42/image_10122025_14_42_34_9594.jpg', 2), ('/home/nano/Desktop/images/10122025/14/42/image_10122025_14_42_15_10626.jpg', 2), ('/home/nano/Desktop/images/10122025/14/41/image_10122025_14_42_04_9636.jpg', 2), ('/home/nano/Desktop/images/10122025/14/41/image_10122025_14_41_55_10624.jpg', 2), ('/home/nano/Desktop/images/10122025/14/41/image_10122025_14_41_44_9597.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 14:43:03.140865 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/14/42/image_10122025_14_42_45_10603.jpg', 2), ('/home/nano/Desktop/images/10122025/14/42/image_10122025_14_42_34_9594.jpg', 2), ('/home/nano/Desktop/images/10122025/14/42/image_10122025_14_42_15_10626.jpg', 2), ('/home/nano/Desktop/images/10122025/14/41/image_10122025_14_42_04_9636.jpg', 2), ('/home/nano/Desktop/images/10122025/14/41/image_10122025_14_41_55_10624.jpg', 2), ('/home/nano/Desktop/images/10122025/14/41/image_10122025_14_41_44_9597.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 14:43:32.702613 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/14/43/image_10122025_14_43_44_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/14/43/image_10122025_14_43_35_10606.jpg', 2), ('/home/nano/Desktop/images/10122025/14/43/image_10122025_14_43_24_9591.jpg', 2), ('/home/nano/Desktop/images/10122025/14/43/image_10122025_14_43_15_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/14/42/image_10122025_14_43_05_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/14/42/image_10122025_14_42_54_9593.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 14:44:02.740790 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/14/43/image_10122025_14_43_44_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/14/43/image_10122025_14_43_35_10606.jpg', 2), ('/home/nano/Desktop/images/10122025/14/43/image_10122025_14_43_24_9591.jpg', 2), ('/home/nano/Desktop/images/10122025/14/43/image_10122025_14_43_15_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/14/42/image_10122025_14_43_05_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/14/42/image_10122025_14_42_54_9593.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 14:44:31.810116 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/14/44/image_10122025_14_44_35_9678.jpg', 2), ('/home/nano/Desktop/images/10122025/14/44/image_10122025_14_44_25_10687.jpg', 2), ('/home/nano/Desktop/images/10122025/14/44/image_10122025_14_44_14_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/14/43/image_10122025_14_44_05_10612.jpg', 2), ('/home/nano/Desktop/images/10122025/14/43/image_10122025_14_43_54_9595.jpg', 2), ('/home/nano/Desktop/images/10122025/14/43/image_10122025_14_43_44_9607.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 14:45:02.545106 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/14/44/image_10122025_14_44_35_9678.jpg', 2), ('/home/nano/Desktop/images/10122025/14/44/image_10122025_14_44_25_10687.jpg', 2), ('/home/nano/Desktop/images/10122025/14/44/image_10122025_14_44_14_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/14/43/image_10122025_14_44_05_10612.jpg', 2), ('/home/nano/Desktop/images/10122025/14/43/image_10122025_14_43_54_9595.jpg', 2), ('/home/nano/Desktop/images/10122025/14/43/image_10122025_14_43_44_9607.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 14:45:31.885642 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/14/45/image_10122025_14_45_24_9678.jpg', 2), ('/home/nano/Desktop/images/10122025/14/45/image_10122025_14_45_14_9684.jpg', 2), ('/home/nano/Desktop/images/10122025/14/44/image_10122025_14_45_05_9695.jpg', 2), ('/home/nano/Desktop/images/10122025/14/44/image_10122025_14_44_55_10690.jpg', 2), ('/home/nano/Desktop/images/10122025/14/44/image_10122025_14_44_35_9678.jpg', 2), ('/home/nano/Desktop/images/10122025/14/44/image_10122025_14_44_25_10687.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 14:46:02.490542 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/14/45/image_10122025_14_45_24_9678.jpg', 2), ('/home/nano/Desktop/images/10122025/14/45/image_10122025_14_45_14_9684.jpg', 2), ('/home/nano/Desktop/images/10122025/14/44/image_10122025_14_45_05_9695.jpg', 2), ('/home/nano/Desktop/images/10122025/14/44/image_10122025_14_44_55_10690.jpg', 2), ('/home/nano/Desktop/images/10122025/14/44/image_10122025_14_44_35_9678.jpg', 2), ('/home/nano/Desktop/images/10122025/14/44/image_10122025_14_44_25_10687.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 14:46:31.994515 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/14/46/image_10122025_14_46_45_9637.jpg', 2), ('/home/nano/Desktop/images/10122025/14/46/image_10122025_14_46_35_10690.jpg', 2), ('/home/nano/Desktop/images/10122025/14/46/image_10122025_14_46_24_9679.jpg', 2), ('/home/nano/Desktop/images/10122025/14/46/image_10122025_14_46_15_9706.jpg', 2), ('/home/nano/Desktop/images/10122025/14/45/image_10122025_14_46_05_10695.jpg', 2), ('/home/nano/Desktop/images/10122025/14/45/image_10122025_14_45_44_9681.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 14:47:02.875525 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/14/46/image_10122025_14_46_45_9637.jpg', 2), ('/home/nano/Desktop/images/10122025/14/46/image_10122025_14_46_35_10690.jpg', 2), ('/home/nano/Desktop/images/10122025/14/46/image_10122025_14_46_24_9679.jpg', 2), ('/home/nano/Desktop/images/10122025/14/46/image_10122025_14_46_15_9706.jpg', 2), ('/home/nano/Desktop/images/10122025/14/45/image_10122025_14_46_05_10695.jpg', 2), ('/home/nano/Desktop/images/10122025/14/45/image_10122025_14_45_44_9681.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 14:47:32.111772 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/14/47/image_10122025_14_47_45_9737.jpg', 2), ('/home/nano/Desktop/images/10122025/14/47/image_10122025_14_47_35_10739.jpg', 2), ('/home/nano/Desktop/images/10122025/14/47/image_10122025_14_47_24_9681.jpg', 2), ('/home/nano/Desktop/images/10122025/14/47/image_10122025_14_47_14_9635.jpg', 2), ('/home/nano/Desktop/images/10122025/14/46/image_10122025_14_47_05_10650.jpg', 2), ('/home/nano/Desktop/images/10122025/14/46/image_10122025_14_46_54_9636.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 14:48:02.854947 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/14/47/image_10122025_14_47_45_9737.jpg', 2), ('/home/nano/Desktop/images/10122025/14/47/image_10122025_14_47_35_10739.jpg', 2), ('/home/nano/Desktop/images/10122025/14/47/image_10122025_14_47_24_9681.jpg', 2), ('/home/nano/Desktop/images/10122025/14/47/image_10122025_14_47_14_9635.jpg', 2), ('/home/nano/Desktop/images/10122025/14/46/image_10122025_14_47_05_10650.jpg', 2), ('/home/nano/Desktop/images/10122025/14/46/image_10122025_14_46_54_9636.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 14:48:32.231076 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/14/48/image_10122025_14_48_45_10696.jpg', 2), ('/home/nano/Desktop/images/10122025/14/48/image_10122025_14_48_34_9689.jpg', 2), ('/home/nano/Desktop/images/10122025/14/48/image_10122025_14_48_24_9687.jpg', 2), ('/home/nano/Desktop/images/10122025/14/48/image_10122025_14_48_15_9699.jpg', 2), ('/home/nano/Desktop/images/10122025/14/47/image_10122025_14_48_05_10656.jpg', 2), ('/home/nano/Desktop/images/10122025/14/47/image_10122025_14_47_54_9729.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 14:49:03.349848 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/14/48/image_10122025_14_48_45_10696.jpg', 2), ('/home/nano/Desktop/images/10122025/14/48/image_10122025_14_48_34_9689.jpg', 2), ('/home/nano/Desktop/images/10122025/14/48/image_10122025_14_48_24_9687.jpg', 2), ('/home/nano/Desktop/images/10122025/14/48/image_10122025_14_48_15_9699.jpg', 2), ('/home/nano/Desktop/images/10122025/14/47/image_10122025_14_48_05_10656.jpg', 2), ('/home/nano/Desktop/images/10122025/14/47/image_10122025_14_47_54_9729.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 14:49:32.381065 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/14/49/image_10122025_14_49_45_10634.jpg', 2), ('/home/nano/Desktop/images/10122025/14/49/image_10122025_14_49_34_9705.jpg', 2), ('/home/nano/Desktop/images/10122025/14/49/image_10122025_14_49_25_9700.jpg', 2), ('/home/nano/Desktop/images/10122025/14/49/image_10122025_14_49_15_10637.jpg', 2), ('/home/nano/Desktop/images/10122025/14/48/image_10122025_14_49_04_9750.jpg', 2), ('/home/nano/Desktop/images/10122025/14/48/image_10122025_14_48_54_9624.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 14:50:03.007440 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/14/49/image_10122025_14_49_45_10634.jpg', 2), ('/home/nano/Desktop/images/10122025/14/49/image_10122025_14_49_34_9705.jpg', 2), ('/home/nano/Desktop/images/10122025/14/49/image_10122025_14_49_25_9700.jpg', 2), ('/home/nano/Desktop/images/10122025/14/49/image_10122025_14_49_15_10637.jpg', 2), ('/home/nano/Desktop/images/10122025/14/48/image_10122025_14_49_04_9750.jpg', 2), ('/home/nano/Desktop/images/10122025/14/48/image_10122025_14_48_54_9624.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 14:50:32.439724 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/14/50/image_10122025_14_50_45_9681.jpg', 2), ('/home/nano/Desktop/images/10122025/14/50/image_10122025_14_50_35_10654.jpg', 2), ('/home/nano/Desktop/images/10122025/14/50/image_10122025_14_50_24_9628.jpg', 2), ('/home/nano/Desktop/images/10122025/14/49/image_10122025_14_50_04_9634.jpg', 2), ('/home/nano/Desktop/images/10122025/14/49/image_10122025_14_49_54_9628.jpg', 2), ('/home/nano/Desktop/images/10122025/14/49/image_10122025_14_49_45_10634.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 14:51:03.259925 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/14/50/image_10122025_14_50_45_9681.jpg', 2), ('/home/nano/Desktop/images/10122025/14/50/image_10122025_14_50_35_10654.jpg', 2), ('/home/nano/Desktop/images/10122025/14/50/image_10122025_14_50_24_9628.jpg', 2), ('/home/nano/Desktop/images/10122025/14/49/image_10122025_14_50_04_9634.jpg', 2), ('/home/nano/Desktop/images/10122025/14/49/image_10122025_14_49_54_9628.jpg', 2), ('/home/nano/Desktop/images/10122025/14/49/image_10122025_14_49_45_10634.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 14:51:32.590722 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/14/51/image_10122025_14_51_44_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/14/51/image_10122025_14_51_35_10604.jpg', 2), ('/home/nano/Desktop/images/10122025/14/51/image_10122025_14_51_24_9593.jpg', 2), ('/home/nano/Desktop/images/10122025/14/51/image_10122025_14_51_15_9614.jpg', 2), ('/home/nano/Desktop/images/10122025/14/50/image_10122025_14_51_05_10650.jpg', 2), ('/home/nano/Desktop/images/10122025/14/50/image_10122025_14_50_54_9607.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 14:52:03.246476 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/14/51/image_10122025_14_51_44_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/14/51/image_10122025_14_51_35_10604.jpg', 2), ('/home/nano/Desktop/images/10122025/14/51/image_10122025_14_51_24_9593.jpg', 2), ('/home/nano/Desktop/images/10122025/14/51/image_10122025_14_51_15_9614.jpg', 2), ('/home/nano/Desktop/images/10122025/14/50/image_10122025_14_51_05_10650.jpg', 2), ('/home/nano/Desktop/images/10122025/14/50/image_10122025_14_50_54_9607.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 14:52:32.707690 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/14/52/image_10122025_14_52_44_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/14/52/image_10122025_14_52_34_9603.jpg', 2), ('/home/nano/Desktop/images/10122025/14/52/image_10122025_14_52_25_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/14/52/image_10122025_14_52_14_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/14/51/image_10122025_14_52_05_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/14/51/image_10122025_14_51_55_10613.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 14:53:02.612774 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/14/52/image_10122025_14_52_44_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/14/52/image_10122025_14_52_34_9603.jpg', 2), ('/home/nano/Desktop/images/10122025/14/52/image_10122025_14_52_25_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/14/52/image_10122025_14_52_14_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/14/51/image_10122025_14_52_05_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/14/51/image_10122025_14_51_55_10613.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 14:53:31.871882 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/14/53/image_10122025_14_53_45_10621.jpg', 2), ('/home/nano/Desktop/images/10122025/14/53/image_10122025_14_53_34_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/14/53/image_10122025_14_53_25_9601.jpg', 2), ('/home/nano/Desktop/images/10122025/14/53/image_10122025_14_53_15_10645.jpg', 2), ('/home/nano/Desktop/images/10122025/14/52/image_10122025_14_53_04_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/14/52/image_10122025_14_52_55_10615.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 14:54:02.728063 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/14/53/image_10122025_14_53_45_10621.jpg', 2), ('/home/nano/Desktop/images/10122025/14/53/image_10122025_14_53_34_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/14/53/image_10122025_14_53_25_9601.jpg', 2), ('/home/nano/Desktop/images/10122025/14/53/image_10122025_14_53_15_10645.jpg', 2), ('/home/nano/Desktop/images/10122025/14/52/image_10122025_14_53_04_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/14/52/image_10122025_14_52_55_10615.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 14:54:31.994946 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/14/54/image_10122025_14_54_44_9593.jpg', 2), ('/home/nano/Desktop/images/10122025/14/54/image_10122025_14_54_35_10606.jpg', 2), ('/home/nano/Desktop/images/10122025/14/54/image_10122025_14_54_24_9590.jpg', 2), ('/home/nano/Desktop/images/10122025/14/54/image_10122025_14_54_15_9631.jpg', 2), ('/home/nano/Desktop/images/10122025/14/53/image_10122025_14_54_05_10667.jpg', 2), ('/home/nano/Desktop/images/10122025/14/53/image_10122025_14_53_54_9611.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 14:55:02.808279 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/14/54/image_10122025_14_54_44_9593.jpg', 2), ('/home/nano/Desktop/images/10122025/14/54/image_10122025_14_54_35_10606.jpg', 2), ('/home/nano/Desktop/images/10122025/14/54/image_10122025_14_54_24_9590.jpg', 2), ('/home/nano/Desktop/images/10122025/14/54/image_10122025_14_54_15_9631.jpg', 2), ('/home/nano/Desktop/images/10122025/14/53/image_10122025_14_54_05_10667.jpg', 2), ('/home/nano/Desktop/images/10122025/14/53/image_10122025_14_53_54_9611.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 14:55:32.113352 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/14/55/image_10122025_14_55_44_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/14/55/image_10122025_14_55_35_9595.jpg', 2), ('/home/nano/Desktop/images/10122025/14/55/image_10122025_14_55_25_10610.jpg', 2), ('/home/nano/Desktop/images/10122025/14/55/image_10122025_14_55_14_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/14/54/image_10122025_14_55_05_10629.jpg', 2), ('/home/nano/Desktop/images/10122025/14/54/image_10122025_14_54_54_9596.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 14:56:02.858474 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/14/55/image_10122025_14_55_44_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/14/55/image_10122025_14_55_35_9595.jpg', 2), ('/home/nano/Desktop/images/10122025/14/55/image_10122025_14_55_25_10610.jpg', 2), ('/home/nano/Desktop/images/10122025/14/55/image_10122025_14_55_14_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/14/54/image_10122025_14_55_05_10629.jpg', 2), ('/home/nano/Desktop/images/10122025/14/54/image_10122025_14_54_54_9596.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 14:56:32.296317 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/14/56/image_10122025_14_56_45_10636.jpg', 2), ('/home/nano/Desktop/images/10122025/14/56/image_10122025_14_56_34_9639.jpg', 2), ('/home/nano/Desktop/images/10122025/14/56/image_10122025_14_56_25_9623.jpg', 2), ('/home/nano/Desktop/images/10122025/14/56/image_10122025_14_56_15_10640.jpg', 2), ('/home/nano/Desktop/images/10122025/14/55/image_10122025_14_56_04_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/14/55/image_10122025_14_55_55_10612.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 14:57:03.072943 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/14/56/image_10122025_14_56_45_10636.jpg', 2), ('/home/nano/Desktop/images/10122025/14/56/image_10122025_14_56_34_9639.jpg', 2), ('/home/nano/Desktop/images/10122025/14/56/image_10122025_14_56_25_9623.jpg', 2), ('/home/nano/Desktop/images/10122025/14/56/image_10122025_14_56_15_10640.jpg', 2), ('/home/nano/Desktop/images/10122025/14/55/image_10122025_14_56_04_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/14/55/image_10122025_14_55_55_10612.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 14:57:32.325337 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/14/57/image_10122025_14_57_45_10652.jpg', 2), ('/home/nano/Desktop/images/10122025/14/57/image_10122025_14_57_34_9699.jpg', 2), ('/home/nano/Desktop/images/10122025/14/57/image_10122025_14_57_25_9623.jpg', 2), ('/home/nano/Desktop/images/10122025/14/57/image_10122025_14_57_15_10674.jpg', 2), ('/home/nano/Desktop/images/10122025/14/56/image_10122025_14_57_04_9634.jpg', 2), ('/home/nano/Desktop/images/10122025/14/56/image_10122025_14_56_55_9610.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 14:58:02.989704 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/14/57/image_10122025_14_57_45_10652.jpg', 2), ('/home/nano/Desktop/images/10122025/14/57/image_10122025_14_57_34_9699.jpg', 2), ('/home/nano/Desktop/images/10122025/14/57/image_10122025_14_57_25_9623.jpg', 2), ('/home/nano/Desktop/images/10122025/14/57/image_10122025_14_57_15_10674.jpg', 2), ('/home/nano/Desktop/images/10122025/14/56/image_10122025_14_57_04_9634.jpg', 2), ('/home/nano/Desktop/images/10122025/14/56/image_10122025_14_56_55_9610.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 14:59:03.698746 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/14/58/image_10122025_14_58_45_10652.jpg', 2), ('/home/nano/Desktop/images/10122025/14/58/image_10122025_14_58_34_9666.jpg', 2), ('/home/nano/Desktop/images/10122025/14/58/image_10122025_14_58_24_9687.jpg', 2), ('/home/nano/Desktop/images/10122025/14/58/image_10122025_14_58_15_10655.jpg', 2), ('/home/nano/Desktop/images/10122025/14/57/image_10122025_14_58_04_9657.jpg', 2), ('/home/nano/Desktop/images/10122025/14/57/image_10122025_14_57_54_9654.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 14:59:32.576596 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/14/59/image_10122025_14_59_45_10660.jpg', 2), ('/home/nano/Desktop/images/10122025/14/59/image_10122025_14_59_34_9650.jpg', 2), ('/home/nano/Desktop/images/10122025/14/59/image_10122025_14_59_24_9655.jpg', 2), ('/home/nano/Desktop/images/10122025/14/59/image_10122025_14_59_15_10733.jpg', 2), ('/home/nano/Desktop/images/10122025/14/58/image_10122025_14_59_04_9667.jpg', 2), ('/home/nano/Desktop/images/10122025/14/58/image_10122025_14_58_54_9651.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 15:00:03.276875 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/14/59/image_10122025_14_59_45_10660.jpg', 2), ('/home/nano/Desktop/images/10122025/14/59/image_10122025_14_59_34_9650.jpg', 2), ('/home/nano/Desktop/images/10122025/14/59/image_10122025_14_59_24_9655.jpg', 2), ('/home/nano/Desktop/images/10122025/14/59/image_10122025_14_59_15_10733.jpg', 2), ('/home/nano/Desktop/images/10122025/14/58/image_10122025_14_59_04_9667.jpg', 2), ('/home/nano/Desktop/images/10122025/14/58/image_10122025_14_58_54_9651.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 15:00:32.644714 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/15/00/image_10122025_15_00_45_10652.jpg', 2), ('/home/nano/Desktop/images/10122025/15/00/image_10122025_15_00_34_9655.jpg', 2), ('/home/nano/Desktop/images/10122025/15/00/image_10122025_15_00_25_9671.jpg', 2), ('/home/nano/Desktop/images/10122025/15/00/image_10122025_15_00_15_10779.jpg', 2), ('/home/nano/Desktop/images/10122025/14/59/image_10122025_15_00_04_9757.jpg', 2), ('/home/nano/Desktop/images/10122025/14/59/image_10122025_14_59_55_9746.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 15:01:02.243673 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/15/00/image_10122025_15_00_45_10652.jpg', 2), ('/home/nano/Desktop/images/10122025/15/00/image_10122025_15_00_34_9655.jpg', 2), ('/home/nano/Desktop/images/10122025/15/00/image_10122025_15_00_25_9671.jpg', 2), ('/home/nano/Desktop/images/10122025/15/00/image_10122025_15_00_15_10779.jpg', 2), ('/home/nano/Desktop/images/10122025/14/59/image_10122025_15_00_04_9757.jpg', 2), ('/home/nano/Desktop/images/10122025/14/59/image_10122025_14_59_55_9746.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 15:01:31.779127 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/15/01/image_10122025_15_01_45_10700.jpg', 2), ('/home/nano/Desktop/images/10122025/15/01/image_10122025_15_01_34_9627.jpg', 2), ('/home/nano/Desktop/images/10122025/15/01/image_10122025_15_01_25_9673.jpg', 2), ('/home/nano/Desktop/images/10122025/15/01/image_10122025_15_01_15_10698.jpg', 2), ('/home/nano/Desktop/images/10122025/15/00/image_10122025_15_01_04_9642.jpg', 2), ('/home/nano/Desktop/images/10122025/15/00/image_10122025_15_00_55_9634.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 15:02:02.584451 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/15/01/image_10122025_15_01_45_10700.jpg', 2), ('/home/nano/Desktop/images/10122025/15/01/image_10122025_15_01_34_9627.jpg', 2), ('/home/nano/Desktop/images/10122025/15/01/image_10122025_15_01_25_9673.jpg', 2), ('/home/nano/Desktop/images/10122025/15/01/image_10122025_15_01_15_10698.jpg', 2), ('/home/nano/Desktop/images/10122025/15/00/image_10122025_15_01_04_9642.jpg', 2), ('/home/nano/Desktop/images/10122025/15/00/image_10122025_15_00_55_9634.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 15:02:31.892593 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/15/02/image_10122025_15_02_45_10621.jpg', 2), ('/home/nano/Desktop/images/10122025/15/02/image_10122025_15_02_34_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/15/02/image_10122025_15_02_25_9628.jpg', 2), ('/home/nano/Desktop/images/10122025/15/02/image_10122025_15_02_15_10627.jpg', 2), ('/home/nano/Desktop/images/10122025/15/01/image_10122025_15_02_04_9626.jpg', 2), ('/home/nano/Desktop/images/10122025/15/01/image_10122025_15_01_55_9658.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 15:03:02.604412 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/15/02/image_10122025_15_02_45_10621.jpg', 2), ('/home/nano/Desktop/images/10122025/15/02/image_10122025_15_02_34_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/15/02/image_10122025_15_02_25_9628.jpg', 2), ('/home/nano/Desktop/images/10122025/15/02/image_10122025_15_02_15_10627.jpg', 2), ('/home/nano/Desktop/images/10122025/15/01/image_10122025_15_02_04_9626.jpg', 2), ('/home/nano/Desktop/images/10122025/15/01/image_10122025_15_01_55_9658.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 15:03:31.972862 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/15/03/image_10122025_15_03_45_9600.jpg', 2), ('/home/nano/Desktop/images/10122025/15/03/image_10122025_15_03_35_10620.jpg', 2), ('/home/nano/Desktop/images/10122025/15/03/image_10122025_15_03_24_9627.jpg', 2), ('/home/nano/Desktop/images/10122025/15/03/image_10122025_15_03_15_9629.jpg', 2), ('/home/nano/Desktop/images/10122025/15/02/image_10122025_15_03_05_10631.jpg', 2), ('/home/nano/Desktop/images/10122025/15/02/image_10122025_15_02_54_9602.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 15:04:02.815330 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/15/03/image_10122025_15_03_45_9600.jpg', 2), ('/home/nano/Desktop/images/10122025/15/03/image_10122025_15_03_35_10620.jpg', 2), ('/home/nano/Desktop/images/10122025/15/03/image_10122025_15_03_24_9627.jpg', 2), ('/home/nano/Desktop/images/10122025/15/03/image_10122025_15_03_15_9629.jpg', 2), ('/home/nano/Desktop/images/10122025/15/02/image_10122025_15_03_05_10631.jpg', 2), ('/home/nano/Desktop/images/10122025/15/02/image_10122025_15_02_54_9602.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 15:04:32.109138 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/15/04/image_10122025_15_04_44_9646.jpg', 2), ('/home/nano/Desktop/images/10122025/15/04/image_10122025_15_04_35_10651.jpg', 2), ('/home/nano/Desktop/images/10122025/15/04/image_10122025_15_04_24_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/15/04/image_10122025_15_04_15_9682.jpg', 2), ('/home/nano/Desktop/images/10122025/15/03/image_10122025_15_04_05_10660.jpg', 2), ('/home/nano/Desktop/images/10122025/15/03/image_10122025_15_03_54_9650.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 15:05:02.777372 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/15/04/image_10122025_15_04_44_9646.jpg', 2), ('/home/nano/Desktop/images/10122025/15/04/image_10122025_15_04_35_10651.jpg', 2), ('/home/nano/Desktop/images/10122025/15/04/image_10122025_15_04_24_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/15/04/image_10122025_15_04_15_9682.jpg', 2), ('/home/nano/Desktop/images/10122025/15/03/image_10122025_15_04_05_10660.jpg', 2), ('/home/nano/Desktop/images/10122025/15/03/image_10122025_15_03_54_9650.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 15:05:32.255838 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/15/05/image_10122025_15_05_44_9678.jpg', 2), ('/home/nano/Desktop/images/10122025/15/05/image_10122025_15_05_35_9667.jpg', 2), ('/home/nano/Desktop/images/10122025/15/05/image_10122025_15_05_25_10631.jpg', 2), ('/home/nano/Desktop/images/10122025/15/05/image_10122025_15_05_14_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/15/04/image_10122025_15_05_05_10637.jpg', 2), ('/home/nano/Desktop/images/10122025/15/04/image_10122025_15_04_54_9654.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 15:06:02.909137 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/15/05/image_10122025_15_05_44_9678.jpg', 2), ('/home/nano/Desktop/images/10122025/15/05/image_10122025_15_05_35_9667.jpg', 2), ('/home/nano/Desktop/images/10122025/15/05/image_10122025_15_05_25_10631.jpg', 2), ('/home/nano/Desktop/images/10122025/15/05/image_10122025_15_05_14_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/15/04/image_10122025_15_05_05_10637.jpg', 2), ('/home/nano/Desktop/images/10122025/15/04/image_10122025_15_04_54_9654.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 15:06:32.350498 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/15/06/image_10122025_15_06_45_10606.jpg', 2), ('/home/nano/Desktop/images/10122025/15/06/image_10122025_15_06_34_9589.jpg', 2), ('/home/nano/Desktop/images/10122025/15/06/image_10122025_15_06_25_10606.jpg', 2), ('/home/nano/Desktop/images/10122025/15/06/image_10122025_15_06_14_9628.jpg', 2), ('/home/nano/Desktop/images/10122025/15/05/image_10122025_15_06_05_9647.jpg', 2), ('/home/nano/Desktop/images/10122025/15/05/image_10122025_15_05_55_10665.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 15:07:03.061810 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/15/06/image_10122025_15_06_45_10606.jpg', 2), ('/home/nano/Desktop/images/10122025/15/06/image_10122025_15_06_34_9589.jpg', 2), ('/home/nano/Desktop/images/10122025/15/06/image_10122025_15_06_25_10606.jpg', 2), ('/home/nano/Desktop/images/10122025/15/06/image_10122025_15_06_14_9628.jpg', 2), ('/home/nano/Desktop/images/10122025/15/05/image_10122025_15_06_05_9647.jpg', 2), ('/home/nano/Desktop/images/10122025/15/05/image_10122025_15_05_55_10665.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 15:07:32.451522 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/15/07/image_10122025_15_07_45_10604.jpg', 2), ('/home/nano/Desktop/images/10122025/15/07/image_10122025_15_07_34_9595.jpg', 2), ('/home/nano/Desktop/images/10122025/15/07/image_10122025_15_07_25_9596.jpg', 2), ('/home/nano/Desktop/images/10122025/15/07/image_10122025_15_07_15_10645.jpg', 2), ('/home/nano/Desktop/images/10122025/15/06/image_10122025_15_07_04_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/15/06/image_10122025_15_06_55_9594.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 15:08:03.100525 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/15/07/image_10122025_15_07_45_10604.jpg', 2), ('/home/nano/Desktop/images/10122025/15/07/image_10122025_15_07_34_9595.jpg', 2), ('/home/nano/Desktop/images/10122025/15/07/image_10122025_15_07_25_9596.jpg', 2), ('/home/nano/Desktop/images/10122025/15/07/image_10122025_15_07_15_10645.jpg', 2), ('/home/nano/Desktop/images/10122025/15/06/image_10122025_15_07_04_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/15/06/image_10122025_15_06_55_9594.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 15:08:32.539273 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/15/08/image_10122025_15_08_44_9600.jpg', 2), ('/home/nano/Desktop/images/10122025/15/08/image_10122025_15_08_35_10602.jpg', 2), ('/home/nano/Desktop/images/10122025/15/08/image_10122025_15_08_24_9592.jpg', 2), ('/home/nano/Desktop/images/10122025/15/08/image_10122025_15_08_15_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/15/07/image_10122025_15_08_05_10610.jpg', 2), ('/home/nano/Desktop/images/10122025/15/07/image_10122025_15_07_54_9596.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 15:09:03.649701 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/15/08/image_10122025_15_08_44_9600.jpg', 2), ('/home/nano/Desktop/images/10122025/15/08/image_10122025_15_08_35_10602.jpg', 2), ('/home/nano/Desktop/images/10122025/15/08/image_10122025_15_08_24_9592.jpg', 2), ('/home/nano/Desktop/images/10122025/15/08/image_10122025_15_08_15_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/15/07/image_10122025_15_08_05_10610.jpg', 2), ('/home/nano/Desktop/images/10122025/15/07/image_10122025_15_07_54_9596.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 15:09:32.674667 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/15/09/image_10122025_15_09_45_10602.jpg', 2), ('/home/nano/Desktop/images/10122025/15/09/image_10122025_15_09_34_9599.jpg', 2), ('/home/nano/Desktop/images/10122025/15/09/image_10122025_15_09_25_10624.jpg', 2), ('/home/nano/Desktop/images/10122025/15/09/image_10122025_15_09_14_9626.jpg', 2), ('/home/nano/Desktop/images/10122025/15/08/image_10122025_15_09_05_9624.jpg', 2), ('/home/nano/Desktop/images/10122025/15/08/image_10122025_15_08_55_10607.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 15:10:02.401005 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/15/09/image_10122025_15_09_45_10602.jpg', 2), ('/home/nano/Desktop/images/10122025/15/09/image_10122025_15_09_34_9599.jpg', 2), ('/home/nano/Desktop/images/10122025/15/09/image_10122025_15_09_25_10624.jpg', 2), ('/home/nano/Desktop/images/10122025/15/09/image_10122025_15_09_14_9626.jpg', 2), ('/home/nano/Desktop/images/10122025/15/08/image_10122025_15_09_05_9624.jpg', 2), ('/home/nano/Desktop/images/10122025/15/08/image_10122025_15_08_55_10607.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 15:10:31.757821 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/15/10/image_10122025_15_10_45_9594.jpg', 2), ('/home/nano/Desktop/images/10122025/15/10/image_10122025_15_10_35_10599.jpg', 2), ('/home/nano/Desktop/images/10122025/15/10/image_10122025_15_10_24_9596.jpg', 2), ('/home/nano/Desktop/images/10122025/15/10/image_10122025_15_10_15_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/15/09/image_10122025_15_10_04_9600.jpg', 2), ('/home/nano/Desktop/images/10122025/15/09/image_10122025_15_09_55_9591.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 15:11:02.639259 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/15/10/image_10122025_15_10_45_9594.jpg', 2), ('/home/nano/Desktop/images/10122025/15/10/image_10122025_15_10_35_10599.jpg', 2), ('/home/nano/Desktop/images/10122025/15/10/image_10122025_15_10_24_9596.jpg', 2), ('/home/nano/Desktop/images/10122025/15/10/image_10122025_15_10_15_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/15/09/image_10122025_15_10_04_9600.jpg', 2), ('/home/nano/Desktop/images/10122025/15/09/image_10122025_15_09_55_9591.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 15:11:31.860753 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/15/11/image_10122025_15_11_44_9594.jpg', 2), ('/home/nano/Desktop/images/10122025/15/11/image_10122025_15_11_35_9593.jpg', 2), ('/home/nano/Desktop/images/10122025/15/11/image_10122025_15_11_25_10601.jpg', 2), ('/home/nano/Desktop/images/10122025/15/11/image_10122025_15_11_14_9596.jpg', 2), ('/home/nano/Desktop/images/10122025/15/10/image_10122025_15_11_05_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/15/10/image_10122025_15_10_54_9591.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 15:12:02.581455 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/15/11/image_10122025_15_11_44_9594.jpg', 2), ('/home/nano/Desktop/images/10122025/15/11/image_10122025_15_11_35_9593.jpg', 2), ('/home/nano/Desktop/images/10122025/15/11/image_10122025_15_11_25_10601.jpg', 2), ('/home/nano/Desktop/images/10122025/15/11/image_10122025_15_11_14_9596.jpg', 2), ('/home/nano/Desktop/images/10122025/15/10/image_10122025_15_11_05_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/15/10/image_10122025_15_10_54_9591.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 15:12:31.979634 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/15/12/image_10122025_15_12_45_10603.jpg', 2), ('/home/nano/Desktop/images/10122025/15/12/image_10122025_15_12_34_9593.jpg', 2), ('/home/nano/Desktop/images/10122025/15/12/image_10122025_15_12_25_9595.jpg', 2), ('/home/nano/Desktop/images/10122025/15/12/image_10122025_15_12_15_10634.jpg', 2), ('/home/nano/Desktop/images/10122025/15/11/image_10122025_15_12_04_9613.jpg', 2), ('/home/nano/Desktop/images/10122025/15/11/image_10122025_15_11_55_10617.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 15:13:02.728903 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/15/12/image_10122025_15_12_45_10603.jpg', 2), ('/home/nano/Desktop/images/10122025/15/12/image_10122025_15_12_34_9593.jpg', 2), ('/home/nano/Desktop/images/10122025/15/12/image_10122025_15_12_25_9595.jpg', 2), ('/home/nano/Desktop/images/10122025/15/12/image_10122025_15_12_15_10634.jpg', 2), ('/home/nano/Desktop/images/10122025/15/11/image_10122025_15_12_04_9613.jpg', 2), ('/home/nano/Desktop/images/10122025/15/11/image_10122025_15_11_55_10617.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 15:13:32.064741 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/15/13/image_10122025_15_13_44_9590.jpg', 2), ('/home/nano/Desktop/images/10122025/15/13/image_10122025_15_13_35_10602.jpg', 2), ('/home/nano/Desktop/images/10122025/15/13/image_10122025_15_13_24_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/15/13/image_10122025_15_13_15_9593.jpg', 2), ('/home/nano/Desktop/images/10122025/15/12/image_10122025_15_13_05_10625.jpg', 2), ('/home/nano/Desktop/images/10122025/15/12/image_10122025_15_12_54_9589.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 15:14:03.066872 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/15/13/image_10122025_15_13_44_9590.jpg', 2), ('/home/nano/Desktop/images/10122025/15/13/image_10122025_15_13_35_10602.jpg', 2), ('/home/nano/Desktop/images/10122025/15/13/image_10122025_15_13_24_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/15/13/image_10122025_15_13_15_9593.jpg', 2), ('/home/nano/Desktop/images/10122025/15/12/image_10122025_15_13_05_10625.jpg', 2), ('/home/nano/Desktop/images/10122025/15/12/image_10122025_15_12_54_9589.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 15:14:32.162543 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/15/14/image_10122025_15_14_44_9597.jpg', 2), ('/home/nano/Desktop/images/10122025/15/14/image_10122025_15_14_35_9594.jpg', 2), ('/home/nano/Desktop/images/10122025/15/14/image_10122025_15_14_25_10620.jpg', 2), ('/home/nano/Desktop/images/10122025/15/14/image_10122025_15_14_14_9624.jpg', 2), ('/home/nano/Desktop/images/10122025/15/13/image_10122025_15_14_05_9596.jpg', 2), ('/home/nano/Desktop/images/10122025/15/13/image_10122025_15_13_55_10604.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 15:15:02.994095 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/15/14/image_10122025_15_14_44_9597.jpg', 2), ('/home/nano/Desktop/images/10122025/15/14/image_10122025_15_14_35_9594.jpg', 2), ('/home/nano/Desktop/images/10122025/15/14/image_10122025_15_14_25_10620.jpg', 2), ('/home/nano/Desktop/images/10122025/15/14/image_10122025_15_14_14_9624.jpg', 2), ('/home/nano/Desktop/images/10122025/15/13/image_10122025_15_14_05_9596.jpg', 2), ('/home/nano/Desktop/images/10122025/15/13/image_10122025_15_13_55_10604.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 15:15:32.393910 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/15/15/image_10122025_15_15_45_10648.jpg', 2), ('/home/nano/Desktop/images/10122025/15/15/image_10122025_15_15_34_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/15/15/image_10122025_15_15_25_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/15/15/image_10122025_15_15_15_10623.jpg', 2), ('/home/nano/Desktop/images/10122025/15/14/image_10122025_15_15_04_9615.jpg', 2), ('/home/nano/Desktop/images/10122025/15/14/image_10122025_15_14_55_10601.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 15:16:03.022759 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/15/15/image_10122025_15_15_45_10648.jpg', 2), ('/home/nano/Desktop/images/10122025/15/15/image_10122025_15_15_34_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/15/15/image_10122025_15_15_25_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/15/15/image_10122025_15_15_15_10623.jpg', 2), ('/home/nano/Desktop/images/10122025/15/14/image_10122025_15_15_04_9615.jpg', 2), ('/home/nano/Desktop/images/10122025/15/14/image_10122025_15_14_55_10601.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 15:16:32.382526 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/15/16/image_10122025_15_16_44_9787.jpg', 2), ('/home/nano/Desktop/images/10122025/15/16/image_10122025_15_16_34_9765.jpg', 2), ('/home/nano/Desktop/images/10122025/15/16/image_10122025_15_16_25_9700.jpg', 2), ('/home/nano/Desktop/images/10122025/15/16/image_10122025_15_16_15_10683.jpg', 2), ('/home/nano/Desktop/images/10122025/15/15/image_10122025_15_16_04_9727.jpg', 2), ('/home/nano/Desktop/images/10122025/15/15/image_10122025_15_15_55_9689.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 15:17:03.106396 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/15/16/image_10122025_15_16_44_9787.jpg', 2), ('/home/nano/Desktop/images/10122025/15/16/image_10122025_15_16_34_9765.jpg', 2), ('/home/nano/Desktop/images/10122025/15/16/image_10122025_15_16_25_9700.jpg', 2), ('/home/nano/Desktop/images/10122025/15/16/image_10122025_15_16_15_10683.jpg', 2), ('/home/nano/Desktop/images/10122025/15/15/image_10122025_15_16_04_9727.jpg', 2), ('/home/nano/Desktop/images/10122025/15/15/image_10122025_15_15_55_9689.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 15:17:32.608204 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/15/17/image_10122025_15_17_44_9616.jpg', 2), ('/home/nano/Desktop/images/10122025/15/17/image_10122025_15_17_35_10683.jpg', 2), ('/home/nano/Desktop/images/10122025/15/17/image_10122025_15_17_24_9764.jpg', 2), ('/home/nano/Desktop/images/10122025/15/17/image_10122025_15_17_14_9736.jpg', 2), ('/home/nano/Desktop/images/10122025/15/16/image_10122025_15_17_05_9642.jpg', 2), ('/home/nano/Desktop/images/10122025/15/16/image_10122025_15_16_55_10763.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 15:18:03.166030 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/15/17/image_10122025_15_17_44_9616.jpg', 2), ('/home/nano/Desktop/images/10122025/15/17/image_10122025_15_17_35_10683.jpg', 2), ('/home/nano/Desktop/images/10122025/15/17/image_10122025_15_17_24_9764.jpg', 2), ('/home/nano/Desktop/images/10122025/15/17/image_10122025_15_17_14_9736.jpg', 2), ('/home/nano/Desktop/images/10122025/15/16/image_10122025_15_17_05_9642.jpg', 2), ('/home/nano/Desktop/images/10122025/15/16/image_10122025_15_16_55_10763.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 15:18:32.699894 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/15/18/image_10122025_15_18_44_9663.jpg', 2), ('/home/nano/Desktop/images/10122025/15/18/image_10122025_15_18_35_9651.jpg', 2), ('/home/nano/Desktop/images/10122025/15/18/image_10122025_15_18_25_10702.jpg', 2), ('/home/nano/Desktop/images/10122025/15/18/image_10122025_15_18_14_9625.jpg', 2), ('/home/nano/Desktop/images/10122025/15/17/image_10122025_15_18_05_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/15/17/image_10122025_15_17_55_10641.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 15:19:03.742595 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/15/19/image_10122025_15_19_25_10783.jpg', 2), ('/home/nano/Desktop/images/10122025/15/18/image_10122025_15_18_44_9663.jpg', 2), ('/home/nano/Desktop/images/10122025/15/18/image_10122025_15_18_35_9651.jpg', 2), ('/home/nano/Desktop/images/10122025/15/18/image_10122025_15_18_25_10702.jpg', 2), ('/home/nano/Desktop/images/10122025/15/18/image_10122025_15_18_14_9625.jpg', 2), ('/home/nano/Desktop/images/10122025/15/17/image_10122025_15_18_05_9622.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 15:19:32.765516 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/15/19/image_10122025_15_19_44_9632.jpg', 2), ('/home/nano/Desktop/images/10122025/15/19/image_10122025_15_19_35_9750.jpg', 2), ('/home/nano/Desktop/images/10122025/15/19/image_10122025_15_19_25_10783.jpg', 2), ('/home/nano/Desktop/images/10122025/15/19/image_10122025_15_19_14_9613.jpg', 2), ('/home/nano/Desktop/images/10122025/15/18/image_10122025_15_19_05_9634.jpg', 2), ('/home/nano/Desktop/images/10122025/15/18/image_10122025_15_18_55_10706.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 15:20:02.463952 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/15/19/image_10122025_15_19_44_9632.jpg', 2), ('/home/nano/Desktop/images/10122025/15/19/image_10122025_15_19_35_9750.jpg', 2), ('/home/nano/Desktop/images/10122025/15/19/image_10122025_15_19_25_10783.jpg', 2), ('/home/nano/Desktop/images/10122025/15/19/image_10122025_15_19_14_9613.jpg', 2), ('/home/nano/Desktop/images/10122025/15/18/image_10122025_15_19_05_9634.jpg', 2), ('/home/nano/Desktop/images/10122025/15/18/image_10122025_15_18_55_10706.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 15:20:31.879899 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/15/20/image_10122025_15_20_45_9714.jpg', 2), ('/home/nano/Desktop/images/10122025/15/20/image_10122025_15_20_35_10732.jpg', 2), ('/home/nano/Desktop/images/10122025/15/20/image_10122025_15_20_24_9701.jpg', 2), ('/home/nano/Desktop/images/10122025/15/20/image_10122025_15_20_15_9659.jpg', 2), ('/home/nano/Desktop/images/10122025/15/19/image_10122025_15_20_05_10773.jpg', 2), ('/home/nano/Desktop/images/10122025/15/19/image_10122025_15_19_54_9730.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 15:21:02.735807 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/15/20/image_10122025_15_20_45_9714.jpg', 2), ('/home/nano/Desktop/images/10122025/15/20/image_10122025_15_20_35_10732.jpg', 2), ('/home/nano/Desktop/images/10122025/15/20/image_10122025_15_20_24_9701.jpg', 2), ('/home/nano/Desktop/images/10122025/15/20/image_10122025_15_20_15_9659.jpg', 2), ('/home/nano/Desktop/images/10122025/15/19/image_10122025_15_20_05_10773.jpg', 2), ('/home/nano/Desktop/images/10122025/15/19/image_10122025_15_19_54_9730.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 15:21:31.989486 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/15/21/image_10122025_15_21_45_10640.jpg', 2), ('/home/nano/Desktop/images/10122025/15/21/image_10122025_15_21_34_9687.jpg', 2), ('/home/nano/Desktop/images/10122025/15/21/image_10122025_15_21_25_9674.jpg', 2), ('/home/nano/Desktop/images/10122025/15/21/image_10122025_15_21_15_9737.jpg', 2), ('/home/nano/Desktop/images/10122025/15/20/image_10122025_15_21_05_10660.jpg', 2), ('/home/nano/Desktop/images/10122025/15/20/image_10122025_15_20_54_9673.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 15:22:02.651856 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/15/21/image_10122025_15_21_45_10640.jpg', 2), ('/home/nano/Desktop/images/10122025/15/21/image_10122025_15_21_34_9687.jpg', 2), ('/home/nano/Desktop/images/10122025/15/21/image_10122025_15_21_25_9674.jpg', 2), ('/home/nano/Desktop/images/10122025/15/21/image_10122025_15_21_15_9737.jpg', 2), ('/home/nano/Desktop/images/10122025/15/20/image_10122025_15_21_05_10660.jpg', 2), ('/home/nano/Desktop/images/10122025/15/20/image_10122025_15_20_54_9673.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 15:22:32.091873 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/15/22/image_10122025_15_22_45_9614.jpg', 2), ('/home/nano/Desktop/images/10122025/15/22/image_10122025_15_22_35_10624.jpg', 2), ('/home/nano/Desktop/images/10122025/15/22/image_10122025_15_22_24_9639.jpg', 2), ('/home/nano/Desktop/images/10122025/15/22/image_10122025_15_22_15_10668.jpg', 2), ('/home/nano/Desktop/images/10122025/15/21/image_10122025_15_22_04_9626.jpg', 2), ('/home/nano/Desktop/images/10122025/15/21/image_10122025_15_21_55_9691.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 15:23:02.936440 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/15/22/image_10122025_15_22_45_9614.jpg', 2), ('/home/nano/Desktop/images/10122025/15/22/image_10122025_15_22_35_10624.jpg', 2), ('/home/nano/Desktop/images/10122025/15/22/image_10122025_15_22_24_9639.jpg', 2), ('/home/nano/Desktop/images/10122025/15/22/image_10122025_15_22_15_10668.jpg', 2), ('/home/nano/Desktop/images/10122025/15/21/image_10122025_15_22_04_9626.jpg', 2), ('/home/nano/Desktop/images/10122025/15/21/image_10122025_15_21_55_9691.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 15:23:32.199652 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/15/23/image_10122025_15_23_35_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/15/23/image_10122025_15_23_24_9603.jpg', 2), ('/home/nano/Desktop/images/10122025/15/23/image_10122025_15_23_15_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/15/22/image_10122025_15_23_05_10651.jpg', 2), ('/home/nano/Desktop/images/10122025/15/22/image_10122025_15_22_54_9614.jpg', 2), ('/home/nano/Desktop/images/10122025/15/22/image_10122025_15_22_45_9614.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 15:24:03.308716 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/15/23/image_10122025_15_23_35_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/15/23/image_10122025_15_23_24_9603.jpg', 2), ('/home/nano/Desktop/images/10122025/15/23/image_10122025_15_23_15_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/15/22/image_10122025_15_23_05_10651.jpg', 2), ('/home/nano/Desktop/images/10122025/15/22/image_10122025_15_22_54_9614.jpg', 2), ('/home/nano/Desktop/images/10122025/15/22/image_10122025_15_22_45_9614.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 15:24:32.345664 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/15/24/image_10122025_15_24_44_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/15/24/image_10122025_15_24_35_9613.jpg', 2), ('/home/nano/Desktop/images/10122025/15/24/image_10122025_15_24_25_10612.jpg', 2), ('/home/nano/Desktop/images/10122025/15/24/image_10122025_15_24_14_9635.jpg', 2), ('/home/nano/Desktop/images/10122025/15/23/image_10122025_15_24_05_9631.jpg', 2), ('/home/nano/Desktop/images/10122025/15/23/image_10122025_15_23_44_9621.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 15:25:02.987140 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/15/24/image_10122025_15_24_44_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/15/24/image_10122025_15_24_35_9613.jpg', 2), ('/home/nano/Desktop/images/10122025/15/24/image_10122025_15_24_25_10612.jpg', 2), ('/home/nano/Desktop/images/10122025/15/24/image_10122025_15_24_14_9635.jpg', 2), ('/home/nano/Desktop/images/10122025/15/23/image_10122025_15_24_05_9631.jpg', 2), ('/home/nano/Desktop/images/10122025/15/23/image_10122025_15_23_44_9621.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 15:25:32.411687 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/15/25/image_10122025_15_25_45_10636.jpg', 2), ('/home/nano/Desktop/images/10122025/15/25/image_10122025_15_25_34_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/15/25/image_10122025_15_25_25_9603.jpg', 2), ('/home/nano/Desktop/images/10122025/15/25/image_10122025_15_25_15_10647.jpg', 2), ('/home/nano/Desktop/images/10122025/15/24/image_10122025_15_25_04_9633.jpg', 2), ('/home/nano/Desktop/images/10122025/15/24/image_10122025_15_24_55_10621.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 15:26:02.941303 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/15/25/image_10122025_15_25_45_10636.jpg', 2), ('/home/nano/Desktop/images/10122025/15/25/image_10122025_15_25_34_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/15/25/image_10122025_15_25_25_9603.jpg', 2), ('/home/nano/Desktop/images/10122025/15/25/image_10122025_15_25_15_10647.jpg', 2), ('/home/nano/Desktop/images/10122025/15/24/image_10122025_15_25_04_9633.jpg', 2), ('/home/nano/Desktop/images/10122025/15/24/image_10122025_15_24_55_10621.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 15:26:32.532845 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/15/26/image_10122025_15_26_45_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/15/26/image_10122025_15_26_35_10633.jpg', 2), ('/home/nano/Desktop/images/10122025/15/26/image_10122025_15_26_24_9615.jpg', 2), ('/home/nano/Desktop/images/10122025/15/26/image_10122025_15_26_15_10626.jpg', 2), ('/home/nano/Desktop/images/10122025/15/25/image_10122025_15_26_04_9613.jpg', 2), ('/home/nano/Desktop/images/10122025/15/25/image_10122025_15_25_54_9611.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 15:27:03.382631 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/15/26/image_10122025_15_26_45_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/15/26/image_10122025_15_26_35_10633.jpg', 2), ('/home/nano/Desktop/images/10122025/15/26/image_10122025_15_26_24_9615.jpg', 2), ('/home/nano/Desktop/images/10122025/15/26/image_10122025_15_26_15_10626.jpg', 2), ('/home/nano/Desktop/images/10122025/15/25/image_10122025_15_26_04_9613.jpg', 2), ('/home/nano/Desktop/images/10122025/15/25/image_10122025_15_25_54_9611.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 15:27:32.603934 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/15/27/image_10122025_15_27_35_10628.jpg', 2), ('/home/nano/Desktop/images/10122025/15/27/image_10122025_15_27_24_9616.jpg', 2), ('/home/nano/Desktop/images/10122025/15/27/image_10122025_15_27_14_9647.jpg', 2), ('/home/nano/Desktop/images/10122025/15/26/image_10122025_15_27_05_10637.jpg', 2), ('/home/nano/Desktop/images/10122025/15/26/image_10122025_15_26_54_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/15/26/image_10122025_15_26_45_9606.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 15:28:03.210755 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/15/27/image_10122025_15_27_35_10628.jpg', 2), ('/home/nano/Desktop/images/10122025/15/27/image_10122025_15_27_24_9616.jpg', 2), ('/home/nano/Desktop/images/10122025/15/27/image_10122025_15_27_14_9647.jpg', 2), ('/home/nano/Desktop/images/10122025/15/26/image_10122025_15_27_05_10637.jpg', 2), ('/home/nano/Desktop/images/10122025/15/26/image_10122025_15_26_54_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/15/26/image_10122025_15_26_45_9606.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 15:28:32.759043 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/15/28/image_10122025_15_28_44_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/15/28/image_10122025_15_28_34_9656.jpg', 2), ('/home/nano/Desktop/images/10122025/15/28/image_10122025_15_28_25_10624.jpg', 2), ('/home/nano/Desktop/images/10122025/15/28/image_10122025_15_28_14_9636.jpg', 2), ('/home/nano/Desktop/images/10122025/15/27/image_10122025_15_28_05_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/15/27/image_10122025_15_27_55_10622.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 15:29:02.940528 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/15/28/image_10122025_15_28_44_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/15/28/image_10122025_15_28_34_9656.jpg', 2), ('/home/nano/Desktop/images/10122025/15/28/image_10122025_15_28_25_10624.jpg', 2), ('/home/nano/Desktop/images/10122025/15/28/image_10122025_15_28_14_9636.jpg', 2), ('/home/nano/Desktop/images/10122025/15/27/image_10122025_15_28_05_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/15/27/image_10122025_15_27_55_10622.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 15:29:31.860184 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/15/29/image_10122025_15_29_45_10658.jpg', 2), ('/home/nano/Desktop/images/10122025/15/29/image_10122025_15_29_34_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/15/29/image_10122025_15_29_25_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/15/29/image_10122025_15_29_15_10637.jpg', 2), ('/home/nano/Desktop/images/10122025/15/28/image_10122025_15_29_04_9671.jpg', 2), ('/home/nano/Desktop/images/10122025/15/28/image_10122025_15_28_55_10680.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 15:30:02.482390 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/15/29/image_10122025_15_29_45_10658.jpg', 2), ('/home/nano/Desktop/images/10122025/15/29/image_10122025_15_29_34_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/15/29/image_10122025_15_29_25_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/15/29/image_10122025_15_29_15_10637.jpg', 2), ('/home/nano/Desktop/images/10122025/15/28/image_10122025_15_29_04_9671.jpg', 2), ('/home/nano/Desktop/images/10122025/15/28/image_10122025_15_28_55_10680.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 15:30:31.961319 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/15/30/image_10122025_15_30_45_10660.jpg', 2), ('/home/nano/Desktop/images/10122025/15/30/image_10122025_15_30_34_9616.jpg', 2), ('/home/nano/Desktop/images/10122025/15/30/image_10122025_15_30_25_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/15/30/image_10122025_15_30_15_10674.jpg', 2), ('/home/nano/Desktop/images/10122025/15/29/image_10122025_15_30_04_9645.jpg', 2), ('/home/nano/Desktop/images/10122025/15/29/image_10122025_15_29_55_9676.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 15:31:02.716150 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/15/30/image_10122025_15_30_45_10660.jpg', 2), ('/home/nano/Desktop/images/10122025/15/30/image_10122025_15_30_34_9616.jpg', 2), ('/home/nano/Desktop/images/10122025/15/30/image_10122025_15_30_25_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/15/30/image_10122025_15_30_15_10674.jpg', 2), ('/home/nano/Desktop/images/10122025/15/29/image_10122025_15_30_04_9645.jpg', 2), ('/home/nano/Desktop/images/10122025/15/29/image_10122025_15_29_55_9676.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 15:31:32.122847 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/15/31/image_10122025_15_31_45_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/15/31/image_10122025_15_31_35_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/15/31/image_10122025_15_31_24_9601.jpg', 2), ('/home/nano/Desktop/images/10122025/15/31/image_10122025_15_31_15_10671.jpg', 2), ('/home/nano/Desktop/images/10122025/15/30/image_10122025_15_31_04_9686.jpg', 2), ('/home/nano/Desktop/images/10122025/15/30/image_10122025_15_30_54_9647.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 15:32:02.742871 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/15/31/image_10122025_15_31_45_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/15/31/image_10122025_15_31_35_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/15/31/image_10122025_15_31_24_9601.jpg', 2), ('/home/nano/Desktop/images/10122025/15/31/image_10122025_15_31_15_10671.jpg', 2), ('/home/nano/Desktop/images/10122025/15/30/image_10122025_15_31_04_9686.jpg', 2), ('/home/nano/Desktop/images/10122025/15/30/image_10122025_15_30_54_9647.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 15:32:32.153023 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/15/32/image_10122025_15_32_45_9654.jpg', 2), ('/home/nano/Desktop/images/10122025/15/32/image_10122025_15_32_35_10667.jpg', 2), ('/home/nano/Desktop/images/10122025/15/32/image_10122025_15_32_24_9678.jpg', 2), ('/home/nano/Desktop/images/10122025/15/32/image_10122025_15_32_15_9651.jpg', 2), ('/home/nano/Desktop/images/10122025/15/31/image_10122025_15_32_05_10625.jpg', 2), ('/home/nano/Desktop/images/10122025/15/31/image_10122025_15_31_54_9613.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 15:33:02.901056 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/15/32/image_10122025_15_32_45_9654.jpg', 2), ('/home/nano/Desktop/images/10122025/15/32/image_10122025_15_32_35_10667.jpg', 2), ('/home/nano/Desktop/images/10122025/15/32/image_10122025_15_32_24_9678.jpg', 2), ('/home/nano/Desktop/images/10122025/15/32/image_10122025_15_32_15_9651.jpg', 2), ('/home/nano/Desktop/images/10122025/15/31/image_10122025_15_32_05_10625.jpg', 2), ('/home/nano/Desktop/images/10122025/15/31/image_10122025_15_31_54_9613.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 15:33:32.271587 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/15/33/image_10122025_15_33_44_9599.jpg', 2), ('/home/nano/Desktop/images/10122025/15/33/image_10122025_15_33_35_10654.jpg', 2), ('/home/nano/Desktop/images/10122025/15/33/image_10122025_15_33_24_9662.jpg', 2), ('/home/nano/Desktop/images/10122025/15/33/image_10122025_15_33_14_9668.jpg', 2), ('/home/nano/Desktop/images/10122025/15/32/image_10122025_15_33_05_10634.jpg', 2), ('/home/nano/Desktop/images/10122025/15/32/image_10122025_15_32_54_9603.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 15:34:03.153070 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/15/33/image_10122025_15_33_44_9599.jpg', 2), ('/home/nano/Desktop/images/10122025/15/33/image_10122025_15_33_35_10654.jpg', 2), ('/home/nano/Desktop/images/10122025/15/33/image_10122025_15_33_24_9662.jpg', 2), ('/home/nano/Desktop/images/10122025/15/33/image_10122025_15_33_14_9668.jpg', 2), ('/home/nano/Desktop/images/10122025/15/32/image_10122025_15_33_05_10634.jpg', 2), ('/home/nano/Desktop/images/10122025/15/32/image_10122025_15_32_54_9603.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 15:34:32.380760 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/15/34/image_10122025_15_34_44_9658.jpg', 2), ('/home/nano/Desktop/images/10122025/15/34/image_10122025_15_34_35_9660.jpg', 2), ('/home/nano/Desktop/images/10122025/15/34/image_10122025_15_34_25_10613.jpg', 2), ('/home/nano/Desktop/images/10122025/15/34/image_10122025_15_34_14_9616.jpg', 2), ('/home/nano/Desktop/images/10122025/15/33/image_10122025_15_34_05_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/15/33/image_10122025_15_33_55_10642.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 15:35:03.117237 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/15/34/image_10122025_15_34_44_9658.jpg', 2), ('/home/nano/Desktop/images/10122025/15/34/image_10122025_15_34_35_9660.jpg', 2), ('/home/nano/Desktop/images/10122025/15/34/image_10122025_15_34_25_10613.jpg', 2), ('/home/nano/Desktop/images/10122025/15/34/image_10122025_15_34_14_9616.jpg', 2), ('/home/nano/Desktop/images/10122025/15/33/image_10122025_15_34_05_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/15/33/image_10122025_15_33_55_10642.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 15:35:32.480611 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/15/35/image_10122025_15_35_45_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/15/35/image_10122025_15_35_34_9642.jpg', 2), ('/home/nano/Desktop/images/10122025/15/35/image_10122025_15_35_25_9657.jpg', 2), ('/home/nano/Desktop/images/10122025/15/35/image_10122025_15_35_15_10663.jpg', 2), ('/home/nano/Desktop/images/10122025/15/34/image_10122025_15_35_04_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/15/34/image_10122025_15_34_55_10608.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 15:36:02.977211 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/15/35/image_10122025_15_35_45_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/15/35/image_10122025_15_35_34_9642.jpg', 2), ('/home/nano/Desktop/images/10122025/15/35/image_10122025_15_35_25_9657.jpg', 2), ('/home/nano/Desktop/images/10122025/15/35/image_10122025_15_35_15_10663.jpg', 2), ('/home/nano/Desktop/images/10122025/15/34/image_10122025_15_35_04_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/15/34/image_10122025_15_34_55_10608.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 15:36:32.555524 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/15/36/image_10122025_15_36_45_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/15/36/image_10122025_15_36_35_10610.jpg', 2), ('/home/nano/Desktop/images/10122025/15/36/image_10122025_15_36_24_9598.jpg', 2), ('/home/nano/Desktop/images/10122025/15/36/image_10122025_15_36_15_10626.jpg', 2), ('/home/nano/Desktop/images/10122025/15/35/image_10122025_15_36_04_9613.jpg', 2), ('/home/nano/Desktop/images/10122025/15/35/image_10122025_15_35_55_9596.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 15:37:03.130625 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/15/36/image_10122025_15_36_45_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/15/36/image_10122025_15_36_35_10610.jpg', 2), ('/home/nano/Desktop/images/10122025/15/36/image_10122025_15_36_24_9598.jpg', 2), ('/home/nano/Desktop/images/10122025/15/36/image_10122025_15_36_15_10626.jpg', 2), ('/home/nano/Desktop/images/10122025/15/35/image_10122025_15_36_04_9613.jpg', 2), ('/home/nano/Desktop/images/10122025/15/35/image_10122025_15_35_55_9596.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 15:37:32.647289 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/15/37/image_10122025_15_37_44_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/15/37/image_10122025_15_37_35_10621.jpg', 2), ('/home/nano/Desktop/images/10122025/15/37/image_10122025_15_37_24_9602.jpg', 2), ('/home/nano/Desktop/images/10122025/15/37/image_10122025_15_37_15_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/15/36/image_10122025_15_37_05_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/15/36/image_10122025_15_36_54_9602.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 15:38:03.351037 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/15/37/image_10122025_15_37_44_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/15/37/image_10122025_15_37_35_10621.jpg', 2), ('/home/nano/Desktop/images/10122025/15/37/image_10122025_15_37_24_9602.jpg', 2), ('/home/nano/Desktop/images/10122025/15/37/image_10122025_15_37_15_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/15/36/image_10122025_15_37_05_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/15/36/image_10122025_15_36_54_9602.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 15:38:32.758999 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/15/38/image_10122025_15_38_45_10609.jpg', 2), ('/home/nano/Desktop/images/10122025/15/38/image_10122025_15_38_34_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/15/38/image_10122025_15_38_25_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/15/38/image_10122025_15_38_14_9684.jpg', 2), ('/home/nano/Desktop/images/10122025/15/37/image_10122025_15_38_05_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/15/37/image_10122025_15_37_55_10612.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 15:39:02.638221 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/15/38/image_10122025_15_38_45_10609.jpg', 2), ('/home/nano/Desktop/images/10122025/15/38/image_10122025_15_38_34_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/15/38/image_10122025_15_38_25_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/15/38/image_10122025_15_38_14_9684.jpg', 2), ('/home/nano/Desktop/images/10122025/15/37/image_10122025_15_38_05_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/15/37/image_10122025_15_37_55_10612.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 15:39:31.815138 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/15/39/image_10122025_15_39_45_10642.jpg', 2), ('/home/nano/Desktop/images/10122025/15/39/image_10122025_15_39_34_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/15/39/image_10122025_15_39_25_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/15/39/image_10122025_15_39_15_10628.jpg', 2), ('/home/nano/Desktop/images/10122025/15/38/image_10122025_15_39_04_9602.jpg', 2), ('/home/nano/Desktop/images/10122025/15/38/image_10122025_15_38_55_9611.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 15:40:02.564957 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/15/39/image_10122025_15_39_45_10642.jpg', 2), ('/home/nano/Desktop/images/10122025/15/39/image_10122025_15_39_34_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/15/39/image_10122025_15_39_25_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/15/39/image_10122025_15_39_15_10628.jpg', 2), ('/home/nano/Desktop/images/10122025/15/38/image_10122025_15_39_04_9602.jpg', 2), ('/home/nano/Desktop/images/10122025/15/38/image_10122025_15_38_55_9611.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 15:40:31.985214 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/15/40/image_10122025_15_40_44_9600.jpg', 2), ('/home/nano/Desktop/images/10122025/15/40/image_10122025_15_40_35_10592.jpg', 2), ('/home/nano/Desktop/images/10122025/15/40/image_10122025_15_40_24_9582.jpg', 2), ('/home/nano/Desktop/images/10122025/15/40/image_10122025_15_40_15_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/15/39/image_10122025_15_40_05_10623.jpg', 2), ('/home/nano/Desktop/images/10122025/15/39/image_10122025_15_39_54_9595.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 15:41:02.831583 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/15/40/image_10122025_15_40_44_9600.jpg', 2), ('/home/nano/Desktop/images/10122025/15/40/image_10122025_15_40_35_10592.jpg', 2), ('/home/nano/Desktop/images/10122025/15/40/image_10122025_15_40_24_9582.jpg', 2), ('/home/nano/Desktop/images/10122025/15/40/image_10122025_15_40_15_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/15/39/image_10122025_15_40_05_10623.jpg', 2), ('/home/nano/Desktop/images/10122025/15/39/image_10122025_15_39_54_9595.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 15:41:32.117202 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/15/41/image_10122025_15_41_45_10592.jpg', 2), ('/home/nano/Desktop/images/10122025/15/41/image_10122025_15_41_34_9585.jpg', 2), ('/home/nano/Desktop/images/10122025/15/41/image_10122025_15_41_25_10589.jpg', 2), ('/home/nano/Desktop/images/10122025/15/41/image_10122025_15_41_14_9591.jpg', 2), ('/home/nano/Desktop/images/10122025/15/40/image_10122025_15_41_05_9580.jpg', 2), ('/home/nano/Desktop/images/10122025/15/40/image_10122025_15_40_55_10592.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 15:42:02.806395 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/15/41/image_10122025_15_41_45_10592.jpg', 2), ('/home/nano/Desktop/images/10122025/15/41/image_10122025_15_41_34_9585.jpg', 2), ('/home/nano/Desktop/images/10122025/15/41/image_10122025_15_41_25_10589.jpg', 2), ('/home/nano/Desktop/images/10122025/15/41/image_10122025_15_41_14_9591.jpg', 2), ('/home/nano/Desktop/images/10122025/15/40/image_10122025_15_41_05_9580.jpg', 2), ('/home/nano/Desktop/images/10122025/15/40/image_10122025_15_40_55_10592.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 15:42:32.270156 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/15/42/image_10122025_15_42_44_9579.jpg', 2), ('/home/nano/Desktop/images/10122025/15/42/image_10122025_15_42_35_10588.jpg', 2), ('/home/nano/Desktop/images/10122025/15/42/image_10122025_15_42_24_9574.jpg', 2), ('/home/nano/Desktop/images/10122025/15/42/image_10122025_15_42_15_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/15/41/image_10122025_15_42_04_9602.jpg', 2), ('/home/nano/Desktop/images/10122025/15/41/image_10122025_15_41_55_9576.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 15:43:02.978303 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/15/42/image_10122025_15_42_44_9579.jpg', 2), ('/home/nano/Desktop/images/10122025/15/42/image_10122025_15_42_35_10588.jpg', 2), ('/home/nano/Desktop/images/10122025/15/42/image_10122025_15_42_24_9574.jpg', 2), ('/home/nano/Desktop/images/10122025/15/42/image_10122025_15_42_15_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/15/41/image_10122025_15_42_04_9602.jpg', 2), ('/home/nano/Desktop/images/10122025/15/41/image_10122025_15_41_55_9576.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 15:43:32.388776 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/15/43/image_10122025_15_43_45_10586.jpg', 2), ('/home/nano/Desktop/images/10122025/15/43/image_10122025_15_43_34_9603.jpg', 2), ('/home/nano/Desktop/images/10122025/15/43/image_10122025_15_43_25_10587.jpg', 2), ('/home/nano/Desktop/images/10122025/15/43/image_10122025_15_43_14_9590.jpg', 2), ('/home/nano/Desktop/images/10122025/15/42/image_10122025_15_43_05_9594.jpg', 2), ('/home/nano/Desktop/images/10122025/15/42/image_10122025_15_42_55_10591.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 15:44:03.247634 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/15/43/image_10122025_15_43_45_10586.jpg', 2), ('/home/nano/Desktop/images/10122025/15/43/image_10122025_15_43_34_9603.jpg', 2), ('/home/nano/Desktop/images/10122025/15/43/image_10122025_15_43_25_10587.jpg', 2), ('/home/nano/Desktop/images/10122025/15/43/image_10122025_15_43_14_9590.jpg', 2), ('/home/nano/Desktop/images/10122025/15/42/image_10122025_15_43_05_9594.jpg', 2), ('/home/nano/Desktop/images/10122025/15/42/image_10122025_15_42_55_10591.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 15:44:32.487703 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/15/44/image_10122025_15_44_45_9578.jpg', 2), ('/home/nano/Desktop/images/10122025/15/44/image_10122025_15_44_35_10590.jpg', 2), ('/home/nano/Desktop/images/10122025/15/44/image_10122025_15_44_24_9577.jpg', 2), ('/home/nano/Desktop/images/10122025/15/44/image_10122025_15_44_15_10607.jpg', 2), ('/home/nano/Desktop/images/10122025/15/43/image_10122025_15_44_04_9585.jpg', 2), ('/home/nano/Desktop/images/10122025/15/43/image_10122025_15_43_55_9577.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 15:45:03.211365 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/15/44/image_10122025_15_44_45_9578.jpg', 2), ('/home/nano/Desktop/images/10122025/15/44/image_10122025_15_44_35_10590.jpg', 2), ('/home/nano/Desktop/images/10122025/15/44/image_10122025_15_44_24_9577.jpg', 2), ('/home/nano/Desktop/images/10122025/15/44/image_10122025_15_44_15_10607.jpg', 2), ('/home/nano/Desktop/images/10122025/15/43/image_10122025_15_44_04_9585.jpg', 2), ('/home/nano/Desktop/images/10122025/15/43/image_10122025_15_43_55_9577.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 15:45:32.586126 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/15/45/image_10122025_15_45_45_10595.jpg', 2), ('/home/nano/Desktop/images/10122025/15/45/image_10122025_15_45_34_9578.jpg', 2), ('/home/nano/Desktop/images/10122025/15/45/image_10122025_15_45_25_10595.jpg', 2), ('/home/nano/Desktop/images/10122025/15/45/image_10122025_15_45_14_9600.jpg', 2), ('/home/nano/Desktop/images/10122025/15/44/image_10122025_15_45_05_10599.jpg', 2), ('/home/nano/Desktop/images/10122025/15/44/image_10122025_15_44_54_9578.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 15:46:03.312817 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/15/45/image_10122025_15_45_45_10595.jpg', 2), ('/home/nano/Desktop/images/10122025/15/45/image_10122025_15_45_34_9578.jpg', 2), ('/home/nano/Desktop/images/10122025/15/45/image_10122025_15_45_25_10595.jpg', 2), ('/home/nano/Desktop/images/10122025/15/45/image_10122025_15_45_14_9600.jpg', 2), ('/home/nano/Desktop/images/10122025/15/44/image_10122025_15_45_05_10599.jpg', 2), ('/home/nano/Desktop/images/10122025/15/44/image_10122025_15_44_54_9578.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 15:46:32.688355 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/15/46/image_10122025_15_46_54_9580.jpg', 2), ('/home/nano/Desktop/images/10122025/15/46/image_10122025_15_46_35_10591.jpg', 2), ('/home/nano/Desktop/images/10122025/15/46/image_10122025_15_46_24_9579.jpg', 2), ('/home/nano/Desktop/images/10122025/15/46/image_10122025_15_46_15_10604.jpg', 2), ('/home/nano/Desktop/images/10122025/15/45/image_10122025_15_46_04_9587.jpg', 2), ('/home/nano/Desktop/images/10122025/15/45/image_10122025_15_45_55_9583.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 15:47:02.439260 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/15/46/image_10122025_15_46_54_9580.jpg', 2), ('/home/nano/Desktop/images/10122025/15/46/image_10122025_15_46_35_10591.jpg', 2), ('/home/nano/Desktop/images/10122025/15/46/image_10122025_15_46_24_9579.jpg', 2), ('/home/nano/Desktop/images/10122025/15/46/image_10122025_15_46_15_10604.jpg', 2), ('/home/nano/Desktop/images/10122025/15/45/image_10122025_15_46_04_9587.jpg', 2), ('/home/nano/Desktop/images/10122025/15/45/image_10122025_15_45_55_9583.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 15:47:31.787798 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/15/47/image_10122025_15_47_44_9581.jpg', 2), ('/home/nano/Desktop/images/10122025/15/47/image_10122025_15_47_35_9584.jpg', 2), ('/home/nano/Desktop/images/10122025/15/47/image_10122025_15_47_25_10588.jpg', 2), ('/home/nano/Desktop/images/10122025/15/47/image_10122025_15_47_14_9592.jpg', 2), ('/home/nano/Desktop/images/10122025/15/46/image_10122025_15_47_05_10594.jpg', 2), ('/home/nano/Desktop/images/10122025/15/46/image_10122025_15_46_54_9580.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 15:48:02.487634 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/15/47/image_10122025_15_47_44_9581.jpg', 2), ('/home/nano/Desktop/images/10122025/15/47/image_10122025_15_47_35_9584.jpg', 2), ('/home/nano/Desktop/images/10122025/15/47/image_10122025_15_47_25_10588.jpg', 2), ('/home/nano/Desktop/images/10122025/15/47/image_10122025_15_47_14_9592.jpg', 2), ('/home/nano/Desktop/images/10122025/15/46/image_10122025_15_47_05_10594.jpg', 2), ('/home/nano/Desktop/images/10122025/15/46/image_10122025_15_46_54_9580.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 15:48:31.942353 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/15/48/image_10122025_15_48_45_10605.jpg', 2), ('/home/nano/Desktop/images/10122025/15/48/image_10122025_15_48_34_9595.jpg', 2), ('/home/nano/Desktop/images/10122025/15/48/image_10122025_15_48_25_9575.jpg', 2), ('/home/nano/Desktop/images/10122025/15/48/image_10122025_15_48_15_10606.jpg', 2), ('/home/nano/Desktop/images/10122025/15/47/image_10122025_15_48_04_9584.jpg', 2), ('/home/nano/Desktop/images/10122025/15/47/image_10122025_15_47_55_10610.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 15:49:03.177566 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/15/48/image_10122025_15_48_45_10605.jpg', 2), ('/home/nano/Desktop/images/10122025/15/48/image_10122025_15_48_34_9595.jpg', 2), ('/home/nano/Desktop/images/10122025/15/48/image_10122025_15_48_25_9575.jpg', 2), ('/home/nano/Desktop/images/10122025/15/48/image_10122025_15_48_15_10606.jpg', 2), ('/home/nano/Desktop/images/10122025/15/47/image_10122025_15_48_04_9584.jpg', 2), ('/home/nano/Desktop/images/10122025/15/47/image_10122025_15_47_55_10610.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 15:49:32.114220 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/15/49/image_10122025_15_49_44_9584.jpg', 2), ('/home/nano/Desktop/images/10122025/15/49/image_10122025_15_49_35_10591.jpg', 2), ('/home/nano/Desktop/images/10122025/15/49/image_10122025_15_49_24_9598.jpg', 2), ('/home/nano/Desktop/images/10122025/15/49/image_10122025_15_49_15_9580.jpg', 2), ('/home/nano/Desktop/images/10122025/15/48/image_10122025_15_49_05_10608.jpg', 2), ('/home/nano/Desktop/images/10122025/15/48/image_10122025_15_48_54_9600.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 15:50:02.793520 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/15/49/image_10122025_15_49_44_9584.jpg', 2), ('/home/nano/Desktop/images/10122025/15/49/image_10122025_15_49_35_10591.jpg', 2), ('/home/nano/Desktop/images/10122025/15/49/image_10122025_15_49_24_9598.jpg', 2), ('/home/nano/Desktop/images/10122025/15/49/image_10122025_15_49_15_9580.jpg', 2), ('/home/nano/Desktop/images/10122025/15/48/image_10122025_15_49_05_10608.jpg', 2), ('/home/nano/Desktop/images/10122025/15/48/image_10122025_15_48_54_9600.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 15:50:32.219423 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/15/50/image_10122025_15_50_45_10590.jpg', 2), ('/home/nano/Desktop/images/10122025/15/50/image_10122025_15_50_34_9584.jpg', 2), ('/home/nano/Desktop/images/10122025/15/50/image_10122025_15_50_25_9581.jpg', 2), ('/home/nano/Desktop/images/10122025/15/50/image_10122025_15_50_15_10605.jpg', 2), ('/home/nano/Desktop/images/10122025/15/49/image_10122025_15_50_04_9591.jpg', 2), ('/home/nano/Desktop/images/10122025/15/49/image_10122025_15_49_55_10594.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 15:51:02.993866 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/15/50/image_10122025_15_50_45_10590.jpg', 2), ('/home/nano/Desktop/images/10122025/15/50/image_10122025_15_50_34_9584.jpg', 2), ('/home/nano/Desktop/images/10122025/15/50/image_10122025_15_50_25_9581.jpg', 2), ('/home/nano/Desktop/images/10122025/15/50/image_10122025_15_50_15_10605.jpg', 2), ('/home/nano/Desktop/images/10122025/15/49/image_10122025_15_50_04_9591.jpg', 2), ('/home/nano/Desktop/images/10122025/15/49/image_10122025_15_49_55_10594.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 15:51:32.317488 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/15/51/image_10122025_15_51_44_9580.jpg', 2), ('/home/nano/Desktop/images/10122025/15/51/image_10122025_15_51_35_10589.jpg', 2), ('/home/nano/Desktop/images/10122025/15/51/image_10122025_15_51_24_9579.jpg', 2), ('/home/nano/Desktop/images/10122025/15/51/image_10122025_15_51_15_9589.jpg', 2), ('/home/nano/Desktop/images/10122025/15/50/image_10122025_15_51_05_10587.jpg', 2), ('/home/nano/Desktop/images/10122025/15/50/image_10122025_15_50_54_9577.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 15:52:02.964332 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/15/51/image_10122025_15_51_44_9580.jpg', 2), ('/home/nano/Desktop/images/10122025/15/51/image_10122025_15_51_35_10589.jpg', 2), ('/home/nano/Desktop/images/10122025/15/51/image_10122025_15_51_24_9579.jpg', 2), ('/home/nano/Desktop/images/10122025/15/51/image_10122025_15_51_15_9589.jpg', 2), ('/home/nano/Desktop/images/10122025/15/50/image_10122025_15_51_05_10587.jpg', 2), ('/home/nano/Desktop/images/10122025/15/50/image_10122025_15_50_54_9577.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 15:52:32.485149 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/15/52/image_10122025_15_52_45_10589.jpg', 2), ('/home/nano/Desktop/images/10122025/15/52/image_10122025_15_52_34_9580.jpg', 2), ('/home/nano/Desktop/images/10122025/15/52/image_10122025_15_52_25_10585.jpg', 2), ('/home/nano/Desktop/images/10122025/15/52/image_10122025_15_52_14_9613.jpg', 2), ('/home/nano/Desktop/images/10122025/15/51/image_10122025_15_52_05_9586.jpg', 2), ('/home/nano/Desktop/images/10122025/15/51/image_10122025_15_51_55_10589.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 15:53:03.212899 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/15/52/image_10122025_15_52_45_10589.jpg', 2), ('/home/nano/Desktop/images/10122025/15/52/image_10122025_15_52_34_9580.jpg', 2), ('/home/nano/Desktop/images/10122025/15/52/image_10122025_15_52_25_10585.jpg', 2), ('/home/nano/Desktop/images/10122025/15/52/image_10122025_15_52_14_9613.jpg', 2), ('/home/nano/Desktop/images/10122025/15/51/image_10122025_15_52_05_9586.jpg', 2), ('/home/nano/Desktop/images/10122025/15/51/image_10122025_15_51_55_10589.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 15:53:32.506234 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/15/53/image_10122025_15_53_44_9581.jpg', 2), ('/home/nano/Desktop/images/10122025/15/53/image_10122025_15_53_35_10590.jpg', 2), ('/home/nano/Desktop/images/10122025/15/53/image_10122025_15_53_24_9581.jpg', 2), ('/home/nano/Desktop/images/10122025/15/53/image_10122025_15_53_15_9603.jpg', 2), ('/home/nano/Desktop/images/10122025/15/52/image_10122025_15_53_05_10606.jpg', 2), ('/home/nano/Desktop/images/10122025/15/52/image_10122025_15_52_54_9593.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 15:54:03.526221 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/15/53/image_10122025_15_53_44_9581.jpg', 2), ('/home/nano/Desktop/images/10122025/15/53/image_10122025_15_53_35_10590.jpg', 2), ('/home/nano/Desktop/images/10122025/15/53/image_10122025_15_53_24_9581.jpg', 2), ('/home/nano/Desktop/images/10122025/15/53/image_10122025_15_53_15_9603.jpg', 2), ('/home/nano/Desktop/images/10122025/15/52/image_10122025_15_53_05_10606.jpg', 2), ('/home/nano/Desktop/images/10122025/15/52/image_10122025_15_52_54_9593.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 15:54:32.625025 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/15/54/image_10122025_15_54_45_10589.jpg', 2), ('/home/nano/Desktop/images/10122025/15/54/image_10122025_15_54_34_9577.jpg', 2), ('/home/nano/Desktop/images/10122025/15/54/image_10122025_15_54_25_10587.jpg', 2), ('/home/nano/Desktop/images/10122025/15/54/image_10122025_15_54_14_9597.jpg', 2), ('/home/nano/Desktop/images/10122025/15/53/image_10122025_15_54_05_9587.jpg', 2), ('/home/nano/Desktop/images/10122025/15/53/image_10122025_15_53_55_10587.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 15:55:03.209606 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/15/54/image_10122025_15_54_45_10589.jpg', 2), ('/home/nano/Desktop/images/10122025/15/54/image_10122025_15_54_34_9577.jpg', 2), ('/home/nano/Desktop/images/10122025/15/54/image_10122025_15_54_25_10587.jpg', 2), ('/home/nano/Desktop/images/10122025/15/54/image_10122025_15_54_14_9597.jpg', 2), ('/home/nano/Desktop/images/10122025/15/53/image_10122025_15_54_05_9587.jpg', 2), ('/home/nano/Desktop/images/10122025/15/53/image_10122025_15_53_55_10587.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 15:55:32.720825 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/15/55/image_10122025_15_55_44_9580.jpg', 2), ('/home/nano/Desktop/images/10122025/15/55/image_10122025_15_55_35_10589.jpg', 2), ('/home/nano/Desktop/images/10122025/15/55/image_10122025_15_55_24_9577.jpg', 2), ('/home/nano/Desktop/images/10122025/15/55/image_10122025_15_55_15_10612.jpg', 2), ('/home/nano/Desktop/images/10122025/15/54/image_10122025_15_55_04_9590.jpg', 2), ('/home/nano/Desktop/images/10122025/15/54/image_10122025_15_54_55_9580.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 15:56:02.356170 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/15/55/image_10122025_15_55_44_9580.jpg', 2), ('/home/nano/Desktop/images/10122025/15/55/image_10122025_15_55_35_10589.jpg', 2), ('/home/nano/Desktop/images/10122025/15/55/image_10122025_15_55_24_9577.jpg', 2), ('/home/nano/Desktop/images/10122025/15/55/image_10122025_15_55_15_10612.jpg', 2), ('/home/nano/Desktop/images/10122025/15/54/image_10122025_15_55_04_9590.jpg', 2), ('/home/nano/Desktop/images/10122025/15/54/image_10122025_15_54_55_9580.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 15:56:31.913704 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/15/56/image_10122025_15_56_45_10587.jpg', 2), ('/home/nano/Desktop/images/10122025/15/56/image_10122025_15_56_34_9601.jpg', 2), ('/home/nano/Desktop/images/10122025/15/56/image_10122025_15_56_25_10588.jpg', 2), ('/home/nano/Desktop/images/10122025/15/56/image_10122025_15_56_14_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/15/55/image_10122025_15_56_05_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/15/55/image_10122025_15_55_55_10592.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 15:57:02.452278 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/15/56/image_10122025_15_56_45_10587.jpg', 2), ('/home/nano/Desktop/images/10122025/15/56/image_10122025_15_56_34_9601.jpg', 2), ('/home/nano/Desktop/images/10122025/15/56/image_10122025_15_56_25_10588.jpg', 2), ('/home/nano/Desktop/images/10122025/15/56/image_10122025_15_56_14_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/15/55/image_10122025_15_56_05_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/15/55/image_10122025_15_55_55_10592.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 15:57:31.960322 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/15/57/image_10122025_15_57_45_9576.jpg', 2), ('/home/nano/Desktop/images/10122025/15/57/image_10122025_15_57_35_10605.jpg', 2), ('/home/nano/Desktop/images/10122025/15/57/image_10122025_15_57_24_9592.jpg', 2), ('/home/nano/Desktop/images/10122025/15/57/image_10122025_15_57_15_10603.jpg', 2), ('/home/nano/Desktop/images/10122025/15/56/image_10122025_15_57_04_9593.jpg', 2), ('/home/nano/Desktop/images/10122025/15/56/image_10122025_15_56_55_9580.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 15:58:02.390701 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/15/57/image_10122025_15_57_45_9576.jpg', 2), ('/home/nano/Desktop/images/10122025/15/57/image_10122025_15_57_35_10605.jpg', 2), ('/home/nano/Desktop/images/10122025/15/57/image_10122025_15_57_24_9592.jpg', 2), ('/home/nano/Desktop/images/10122025/15/57/image_10122025_15_57_15_10603.jpg', 2), ('/home/nano/Desktop/images/10122025/15/56/image_10122025_15_57_04_9593.jpg', 2), ('/home/nano/Desktop/images/10122025/15/56/image_10122025_15_56_55_9580.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 15:59:03.045112 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/15/57/image_10122025_15_57_45_9576.jpg', 2), ('/home/nano/Desktop/images/10122025/15/57/image_10122025_15_57_35_10605.jpg', 2), ('/home/nano/Desktop/images/10122025/15/57/image_10122025_15_57_24_9592.jpg', 2), ('/home/nano/Desktop/images/10122025/15/57/image_10122025_15_57_15_10603.jpg', 2), ('/home/nano/Desktop/images/10122025/15/56/image_10122025_15_57_04_9593.jpg', 2), ('/home/nano/Desktop/images/10122025/15/56/image_10122025_15_56_55_9580.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 15:59:32.207470 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/15/59/image_10122025_15_59_44_9732.jpg', 2), ('/home/nano/Desktop/images/10122025/15/59/image_10122025_15_59_35_10639.jpg', 2), ('/home/nano/Desktop/images/10122025/15/59/image_10122025_15_59_24_9662.jpg', 2), ('/home/nano/Desktop/images/10122025/15/59/image_10122025_15_59_14_9633.jpg', 2), ('/home/nano/Desktop/images/10122025/15/58/image_10122025_15_59_05_10696.jpg', 2), ('/home/nano/Desktop/images/10122025/15/58/image_10122025_15_58_54_9667.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 16:00:02.790124 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/15/59/image_10122025_15_59_44_9732.jpg', 2), ('/home/nano/Desktop/images/10122025/15/59/image_10122025_15_59_35_10639.jpg', 2), ('/home/nano/Desktop/images/10122025/15/59/image_10122025_15_59_24_9662.jpg', 2), ('/home/nano/Desktop/images/10122025/15/59/image_10122025_15_59_14_9633.jpg', 2), ('/home/nano/Desktop/images/10122025/15/58/image_10122025_15_59_05_10696.jpg', 2), ('/home/nano/Desktop/images/10122025/15/58/image_10122025_15_58_54_9667.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 16:00:32.318616 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/16/00/image_10122025_16_00_44_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/16/00/image_10122025_16_00_35_9629.jpg', 2), ('/home/nano/Desktop/images/10122025/16/00/image_10122025_16_00_25_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/16/00/image_10122025_16_00_14_9636.jpg', 2), ('/home/nano/Desktop/images/10122025/15/59/image_10122025_16_00_05_10675.jpg', 2), ('/home/nano/Desktop/images/10122025/15/59/image_10122025_15_59_54_9675.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 16:01:03.135884 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/16/00/image_10122025_16_00_44_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/16/00/image_10122025_16_00_35_9629.jpg', 2), ('/home/nano/Desktop/images/10122025/16/00/image_10122025_16_00_25_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/16/00/image_10122025_16_00_14_9636.jpg', 2), ('/home/nano/Desktop/images/10122025/15/59/image_10122025_16_00_05_10675.jpg', 2), ('/home/nano/Desktop/images/10122025/15/59/image_10122025_15_59_54_9675.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 16:01:32.420771 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/16/01/image_10122025_16_01_45_10612.jpg', 2), ('/home/nano/Desktop/images/10122025/16/01/image_10122025_16_01_34_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/16/01/image_10122025_16_01_25_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/16/01/image_10122025_16_01_14_9624.jpg', 2), ('/home/nano/Desktop/images/10122025/16/00/image_10122025_16_01_05_9616.jpg', 2), ('/home/nano/Desktop/images/10122025/16/00/image_10122025_16_00_55_10628.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 16:02:03.049036 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/16/01/image_10122025_16_01_45_10612.jpg', 2), ('/home/nano/Desktop/images/10122025/16/01/image_10122025_16_01_34_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/16/01/image_10122025_16_01_25_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/16/01/image_10122025_16_01_14_9624.jpg', 2), ('/home/nano/Desktop/images/10122025/16/00/image_10122025_16_01_05_9616.jpg', 2), ('/home/nano/Desktop/images/10122025/16/00/image_10122025_16_00_55_10628.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 16:02:32.529087 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/16/02/image_10122025_16_02_45_9601.jpg', 2), ('/home/nano/Desktop/images/10122025/16/02/image_10122025_16_02_35_10607.jpg', 2), ('/home/nano/Desktop/images/10122025/16/02/image_10122025_16_02_24_9602.jpg', 2), ('/home/nano/Desktop/images/10122025/16/02/image_10122025_16_02_15_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/16/01/image_10122025_16_02_04_9600.jpg', 2), ('/home/nano/Desktop/images/10122025/16/01/image_10122025_16_01_55_9603.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 16:03:03.383016 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/16/02/image_10122025_16_02_45_9601.jpg', 2), ('/home/nano/Desktop/images/10122025/16/02/image_10122025_16_02_35_10607.jpg', 2), ('/home/nano/Desktop/images/10122025/16/02/image_10122025_16_02_24_9602.jpg', 2), ('/home/nano/Desktop/images/10122025/16/02/image_10122025_16_02_15_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/16/01/image_10122025_16_02_04_9600.jpg', 2), ('/home/nano/Desktop/images/10122025/16/01/image_10122025_16_01_55_9603.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 16:03:32.744717 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/16/03/image_10122025_16_03_44_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/16/03/image_10122025_16_03_35_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/16/03/image_10122025_16_03_24_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/16/03/image_10122025_16_03_15_9642.jpg', 2), ('/home/nano/Desktop/images/10122025/16/02/image_10122025_16_03_05_10661.jpg', 2), ('/home/nano/Desktop/images/10122025/16/02/image_10122025_16_02_54_9663.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 16:04:03.550147 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/16/03/image_10122025_16_03_44_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/16/03/image_10122025_16_03_35_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/16/03/image_10122025_16_03_24_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/16/03/image_10122025_16_03_15_9642.jpg', 2), ('/home/nano/Desktop/images/10122025/16/02/image_10122025_16_03_05_10661.jpg', 2), ('/home/nano/Desktop/images/10122025/16/02/image_10122025_16_02_54_9663.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 16:04:32.804236 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/16/04/image_10122025_16_04_44_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/16/04/image_10122025_16_04_35_9600.jpg', 2), ('/home/nano/Desktop/images/10122025/16/04/image_10122025_16_04_25_10606.jpg', 2), ('/home/nano/Desktop/images/10122025/16/04/image_10122025_16_04_14_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/16/03/image_10122025_16_04_05_9632.jpg', 2), ('/home/nano/Desktop/images/10122025/16/03/image_10122025_16_03_55_10613.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 16:05:02.574507 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/16/04/image_10122025_16_04_44_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/16/04/image_10122025_16_04_35_9600.jpg', 2), ('/home/nano/Desktop/images/10122025/16/04/image_10122025_16_04_25_10606.jpg', 2), ('/home/nano/Desktop/images/10122025/16/04/image_10122025_16_04_14_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/16/03/image_10122025_16_04_05_9632.jpg', 2), ('/home/nano/Desktop/images/10122025/16/03/image_10122025_16_03_55_10613.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 16:05:31.945290 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/16/05/image_10122025_16_05_45_10621.jpg', 2), ('/home/nano/Desktop/images/10122025/16/05/image_10122025_16_05_34_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/16/05/image_10122025_16_05_25_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/16/05/image_10122025_16_05_15_10631.jpg', 2), ('/home/nano/Desktop/images/10122025/16/04/image_10122025_16_05_04_9600.jpg', 2), ('/home/nano/Desktop/images/10122025/16/04/image_10122025_16_04_55_10630.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 16:06:02.473773 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/16/05/image_10122025_16_05_45_10621.jpg', 2), ('/home/nano/Desktop/images/10122025/16/05/image_10122025_16_05_34_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/16/05/image_10122025_16_05_25_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/16/05/image_10122025_16_05_15_10631.jpg', 2), ('/home/nano/Desktop/images/10122025/16/04/image_10122025_16_05_04_9600.jpg', 2), ('/home/nano/Desktop/images/10122025/16/04/image_10122025_16_04_55_10630.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 16:06:32.011895 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/16/06/image_10122025_16_06_45_9601.jpg', 2), ('/home/nano/Desktop/images/10122025/16/06/image_10122025_16_06_35_10620.jpg', 2), ('/home/nano/Desktop/images/10122025/16/06/image_10122025_16_06_24_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/16/06/image_10122025_16_06_15_9615.jpg', 2), ('/home/nano/Desktop/images/10122025/16/05/image_10122025_16_06_05_10623.jpg', 2), ('/home/nano/Desktop/images/10122025/16/05/image_10122025_16_05_54_9605.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 16:07:02.863445 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/16/06/image_10122025_16_06_45_9601.jpg', 2), ('/home/nano/Desktop/images/10122025/16/06/image_10122025_16_06_35_10620.jpg', 2), ('/home/nano/Desktop/images/10122025/16/06/image_10122025_16_06_24_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/16/06/image_10122025_16_06_15_9615.jpg', 2), ('/home/nano/Desktop/images/10122025/16/05/image_10122025_16_06_05_10623.jpg', 2), ('/home/nano/Desktop/images/10122025/16/05/image_10122025_16_05_54_9605.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 16:07:32.090763 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/16/07/image_10122025_16_07_45_9728.jpg', 2), ('/home/nano/Desktop/images/10122025/16/07/image_10122025_16_07_35_10747.jpg', 2), ('/home/nano/Desktop/images/10122025/16/07/image_10122025_16_07_24_9684.jpg', 2), ('/home/nano/Desktop/images/10122025/16/07/image_10122025_16_07_14_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/16/06/image_10122025_16_07_05_10679.jpg', 2), ('/home/nano/Desktop/images/10122025/16/06/image_10122025_16_06_54_9639.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 16:08:02.818519 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/16/07/image_10122025_16_07_45_9728.jpg', 2), ('/home/nano/Desktop/images/10122025/16/07/image_10122025_16_07_35_10747.jpg', 2), ('/home/nano/Desktop/images/10122025/16/07/image_10122025_16_07_24_9684.jpg', 2), ('/home/nano/Desktop/images/10122025/16/07/image_10122025_16_07_14_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/16/06/image_10122025_16_07_05_10679.jpg', 2), ('/home/nano/Desktop/images/10122025/16/06/image_10122025_16_06_54_9639.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 16:08:32.231716 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/16/08/image_10122025_16_08_45_10736.jpg', 2), ('/home/nano/Desktop/images/10122025/16/08/image_10122025_16_08_34_9728.jpg', 2), ('/home/nano/Desktop/images/10122025/16/08/image_10122025_16_08_25_9729.jpg', 2), ('/home/nano/Desktop/images/10122025/16/08/image_10122025_16_08_15_9739.jpg', 2), ('/home/nano/Desktop/images/10122025/16/07/image_10122025_16_08_05_10752.jpg', 2), ('/home/nano/Desktop/images/10122025/16/07/image_10122025_16_07_54_9731.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 16:09:03.325975 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/16/08/image_10122025_16_08_45_10736.jpg', 2), ('/home/nano/Desktop/images/10122025/16/08/image_10122025_16_08_34_9728.jpg', 2), ('/home/nano/Desktop/images/10122025/16/08/image_10122025_16_08_25_9729.jpg', 2), ('/home/nano/Desktop/images/10122025/16/08/image_10122025_16_08_15_9739.jpg', 2), ('/home/nano/Desktop/images/10122025/16/07/image_10122025_16_08_05_10752.jpg', 2), ('/home/nano/Desktop/images/10122025/16/07/image_10122025_16_07_54_9731.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 16:09:32.346358 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/16/09/image_10122025_16_09_44_9728.jpg', 2), ('/home/nano/Desktop/images/10122025/16/09/image_10122025_16_09_35_9724.jpg', 2), ('/home/nano/Desktop/images/10122025/16/09/image_10122025_16_09_25_10734.jpg', 2), ('/home/nano/Desktop/images/10122025/16/09/image_10122025_16_09_14_9746.jpg', 2), ('/home/nano/Desktop/images/10122025/16/08/image_10122025_16_09_04_9732.jpg', 2), ('/home/nano/Desktop/images/10122025/16/08/image_10122025_16_08_55_9727.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 16:10:03.058370 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/16/09/image_10122025_16_09_44_9728.jpg', 2), ('/home/nano/Desktop/images/10122025/16/09/image_10122025_16_09_35_9724.jpg', 2), ('/home/nano/Desktop/images/10122025/16/09/image_10122025_16_09_25_10734.jpg', 2), ('/home/nano/Desktop/images/10122025/16/09/image_10122025_16_09_14_9746.jpg', 2), ('/home/nano/Desktop/images/10122025/16/08/image_10122025_16_09_04_9732.jpg', 2), ('/home/nano/Desktop/images/10122025/16/08/image_10122025_16_08_55_9727.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 16:10:32.432430 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/16/10/image_10122025_16_10_45_10736.jpg', 2), ('/home/nano/Desktop/images/10122025/16/10/image_10122025_16_10_34_9728.jpg', 2), ('/home/nano/Desktop/images/10122025/16/09/image_10122025_16_09_54_9724.jpg', 2), ('/home/nano/Desktop/images/10122025/16/09/image_10122025_16_09_44_9728.jpg', 2), ('/home/nano/Desktop/images/10122025/16/09/image_10122025_16_09_35_9724.jpg', 2), ('/home/nano/Desktop/images/10122025/16/09/image_10122025_16_09_25_10734.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 16:11:03.268299 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/16/10/image_10122025_16_10_45_10736.jpg', 2), ('/home/nano/Desktop/images/10122025/16/10/image_10122025_16_10_34_9728.jpg', 2), ('/home/nano/Desktop/images/10122025/16/09/image_10122025_16_09_54_9724.jpg', 2), ('/home/nano/Desktop/images/10122025/16/09/image_10122025_16_09_44_9728.jpg', 2), ('/home/nano/Desktop/images/10122025/16/09/image_10122025_16_09_35_9724.jpg', 2), ('/home/nano/Desktop/images/10122025/16/09/image_10122025_16_09_25_10734.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 16:11:32.538799 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/16/10/image_10122025_16_10_55_9725.jpg', 2), ('/home/nano/Desktop/images/10122025/16/10/image_10122025_16_10_45_10736.jpg', 2), ('/home/nano/Desktop/images/10122025/16/10/image_10122025_16_10_34_9728.jpg', 2), ('/home/nano/Desktop/images/10122025/16/09/image_10122025_16_09_54_9724.jpg', 2), ('/home/nano/Desktop/images/10122025/16/09/image_10122025_16_09_44_9728.jpg', 2), ('/home/nano/Desktop/images/10122025/16/09/image_10122025_16_09_35_9724.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 16:12:03.223055 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/16/10/image_10122025_16_10_55_9725.jpg', 2), ('/home/nano/Desktop/images/10122025/16/10/image_10122025_16_10_45_10736.jpg', 2), ('/home/nano/Desktop/images/10122025/16/10/image_10122025_16_10_34_9728.jpg', 2), ('/home/nano/Desktop/images/10122025/16/09/image_10122025_16_09_54_9724.jpg', 2), ('/home/nano/Desktop/images/10122025/16/09/image_10122025_16_09_44_9728.jpg', 2), ('/home/nano/Desktop/images/10122025/16/09/image_10122025_16_09_35_9724.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 16:12:32.790862 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/16/12/image_10122025_16_12_45_9643.jpg', 2), ('/home/nano/Desktop/images/10122025/16/12/image_10122025_16_12_35_10638.jpg', 2), ('/home/nano/Desktop/images/10122025/16/12/image_10122025_16_12_24_9720.jpg', 2), ('/home/nano/Desktop/images/10122025/16/12/image_10122025_16_12_15_9743.jpg', 2), ('/home/nano/Desktop/images/10122025/16/11/image_10122025_16_11_25_10738.jpg', 2), ('/home/nano/Desktop/images/10122025/16/10/image_10122025_16_10_55_9725.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 16:13:02.530639 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/16/12/image_10122025_16_12_45_9643.jpg', 2), ('/home/nano/Desktop/images/10122025/16/12/image_10122025_16_12_35_10638.jpg', 2), ('/home/nano/Desktop/images/10122025/16/12/image_10122025_16_12_24_9720.jpg', 2), ('/home/nano/Desktop/images/10122025/16/12/image_10122025_16_12_15_9743.jpg', 2), ('/home/nano/Desktop/images/10122025/16/11/image_10122025_16_11_25_10738.jpg', 2), ('/home/nano/Desktop/images/10122025/16/10/image_10122025_16_10_55_9725.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 16:13:31.803679 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/16/13/image_10122025_16_13_45_9673.jpg', 2), ('/home/nano/Desktop/images/10122025/16/13/image_10122025_16_13_35_10677.jpg', 2), ('/home/nano/Desktop/images/10122025/16/13/image_10122025_16_13_24_9665.jpg', 2), ('/home/nano/Desktop/images/10122025/16/13/image_10122025_16_13_15_9692.jpg', 2), ('/home/nano/Desktop/images/10122025/16/12/image_10122025_16_13_05_10711.jpg', 2), ('/home/nano/Desktop/images/10122025/16/12/image_10122025_16_12_54_9709.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 16:14:02.692315 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/16/13/image_10122025_16_13_45_9673.jpg', 2), ('/home/nano/Desktop/images/10122025/16/13/image_10122025_16_13_35_10677.jpg', 2), ('/home/nano/Desktop/images/10122025/16/13/image_10122025_16_13_24_9665.jpg', 2), ('/home/nano/Desktop/images/10122025/16/13/image_10122025_16_13_15_9692.jpg', 2), ('/home/nano/Desktop/images/10122025/16/12/image_10122025_16_13_05_10711.jpg', 2), ('/home/nano/Desktop/images/10122025/16/12/image_10122025_16_12_54_9709.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 16:14:31.902624 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/16/14/image_10122025_16_14_45_10709.jpg', 2), ('/home/nano/Desktop/images/10122025/16/14/image_10122025_16_14_34_9697.jpg', 2), ('/home/nano/Desktop/images/10122025/16/14/image_10122025_16_14_24_9716.jpg', 2), ('/home/nano/Desktop/images/10122025/16/14/image_10122025_16_14_15_9721.jpg', 2), ('/home/nano/Desktop/images/10122025/16/13/image_10122025_16_14_05_10733.jpg', 2), ('/home/nano/Desktop/images/10122025/16/13/image_10122025_16_13_54_9658.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 16:15:02.661191 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/16/14/image_10122025_16_14_45_10709.jpg', 2), ('/home/nano/Desktop/images/10122025/16/14/image_10122025_16_14_34_9697.jpg', 2), ('/home/nano/Desktop/images/10122025/16/14/image_10122025_16_14_24_9716.jpg', 2), ('/home/nano/Desktop/images/10122025/16/14/image_10122025_16_14_15_9721.jpg', 2), ('/home/nano/Desktop/images/10122025/16/13/image_10122025_16_14_05_10733.jpg', 2), ('/home/nano/Desktop/images/10122025/16/13/image_10122025_16_13_54_9658.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 16:15:31.982592 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/16/15/image_10122025_16_15_44_9703.jpg', 2), ('/home/nano/Desktop/images/10122025/16/15/image_10122025_16_15_34_9702.jpg', 2), ('/home/nano/Desktop/images/10122025/16/15/image_10122025_16_15_25_9698.jpg', 2), ('/home/nano/Desktop/images/10122025/16/15/image_10122025_16_15_15_10720.jpg', 2), ('/home/nano/Desktop/images/10122025/16/14/image_10122025_16_15_04_9729.jpg', 2), ('/home/nano/Desktop/images/10122025/16/14/image_10122025_16_14_55_9694.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 16:16:02.506191 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/16/15/image_10122025_16_15_44_9703.jpg', 2), ('/home/nano/Desktop/images/10122025/16/15/image_10122025_16_15_34_9702.jpg', 2), ('/home/nano/Desktop/images/10122025/16/15/image_10122025_16_15_25_9698.jpg', 2), ('/home/nano/Desktop/images/10122025/16/15/image_10122025_16_15_15_10720.jpg', 2), ('/home/nano/Desktop/images/10122025/16/14/image_10122025_16_15_04_9729.jpg', 2), ('/home/nano/Desktop/images/10122025/16/14/image_10122025_16_14_55_9694.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 16:16:32.089039 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/16/16/image_10122025_16_16_44_9698.jpg', 2), ('/home/nano/Desktop/images/10122025/16/16/image_10122025_16_16_35_9696.jpg', 2), ('/home/nano/Desktop/images/10122025/16/16/image_10122025_16_16_25_10707.jpg', 2), ('/home/nano/Desktop/images/10122025/16/16/image_10122025_16_16_14_9725.jpg', 2), ('/home/nano/Desktop/images/10122025/16/15/image_10122025_16_16_05_9706.jpg', 2), ('/home/nano/Desktop/images/10122025/16/15/image_10122025_16_15_55_10708.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 16:17:02.860571 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/16/16/image_10122025_16_16_44_9698.jpg', 2), ('/home/nano/Desktop/images/10122025/16/16/image_10122025_16_16_35_9696.jpg', 2), ('/home/nano/Desktop/images/10122025/16/16/image_10122025_16_16_25_10707.jpg', 2), ('/home/nano/Desktop/images/10122025/16/16/image_10122025_16_16_14_9725.jpg', 2), ('/home/nano/Desktop/images/10122025/16/15/image_10122025_16_16_05_9706.jpg', 2), ('/home/nano/Desktop/images/10122025/16/15/image_10122025_16_15_55_10708.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 16:17:32.201317 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/16/17/image_10122025_16_17_45_9701.jpg', 2), ('/home/nano/Desktop/images/10122025/16/17/image_10122025_16_17_24_9696.jpg', 2), ('/home/nano/Desktop/images/10122025/16/16/image_10122025_16_17_05_9711.jpg', 2), ('/home/nano/Desktop/images/10122025/16/16/image_10122025_16_16_55_10708.jpg', 2), ('/home/nano/Desktop/images/10122025/16/16/image_10122025_16_16_44_9698.jpg', 2), ('/home/nano/Desktop/images/10122025/16/16/image_10122025_16_16_35_9696.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 16:18:02.663435 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/16/17/image_10122025_16_17_45_9701.jpg', 2), ('/home/nano/Desktop/images/10122025/16/17/image_10122025_16_17_24_9696.jpg', 2), ('/home/nano/Desktop/images/10122025/16/16/image_10122025_16_17_05_9711.jpg', 2), ('/home/nano/Desktop/images/10122025/16/16/image_10122025_16_16_55_10708.jpg', 2), ('/home/nano/Desktop/images/10122025/16/16/image_10122025_16_16_44_9698.jpg', 2), ('/home/nano/Desktop/images/10122025/16/16/image_10122025_16_16_35_9696.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 16:18:32.318949 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/16/18/image_10122025_16_18_45_10725.jpg', 2), ('/home/nano/Desktop/images/10122025/16/18/image_10122025_16_18_34_9697.jpg', 2), ('/home/nano/Desktop/images/10122025/16/18/image_10122025_16_18_24_9699.jpg', 2), ('/home/nano/Desktop/images/10122025/16/18/image_10122025_16_18_15_9706.jpg', 2), ('/home/nano/Desktop/images/10122025/16/17/image_10122025_16_18_05_10736.jpg', 2), ('/home/nano/Desktop/images/10122025/16/17/image_10122025_16_17_54_9708.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 16:19:03.260820 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/16/18/image_10122025_16_18_45_10725.jpg', 2), ('/home/nano/Desktop/images/10122025/16/18/image_10122025_16_18_34_9697.jpg', 2), ('/home/nano/Desktop/images/10122025/16/18/image_10122025_16_18_24_9699.jpg', 2), ('/home/nano/Desktop/images/10122025/16/18/image_10122025_16_18_15_9706.jpg', 2), ('/home/nano/Desktop/images/10122025/16/17/image_10122025_16_18_05_10736.jpg', 2), ('/home/nano/Desktop/images/10122025/16/17/image_10122025_16_17_54_9708.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 16:19:32.406451 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/16/19/image_10122025_16_19_44_9720.jpg', 2), ('/home/nano/Desktop/images/10122025/16/18/image_10122025_16_19_04_9712.jpg', 2), ('/home/nano/Desktop/images/10122025/16/18/image_10122025_16_18_55_9696.jpg', 2), ('/home/nano/Desktop/images/10122025/16/18/image_10122025_16_18_45_10725.jpg', 2), ('/home/nano/Desktop/images/10122025/16/18/image_10122025_16_18_34_9697.jpg', 2), ('/home/nano/Desktop/images/10122025/16/18/image_10122025_16_18_24_9699.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 16:20:02.957964 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/16/19/image_10122025_16_19_44_9720.jpg', 2), ('/home/nano/Desktop/images/10122025/16/18/image_10122025_16_19_04_9712.jpg', 2), ('/home/nano/Desktop/images/10122025/16/18/image_10122025_16_18_55_9696.jpg', 2), ('/home/nano/Desktop/images/10122025/16/18/image_10122025_16_18_45_10725.jpg', 2), ('/home/nano/Desktop/images/10122025/16/18/image_10122025_16_18_34_9697.jpg', 2), ('/home/nano/Desktop/images/10122025/16/18/image_10122025_16_18_24_9699.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 16:20:32.490447 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/16/20/image_10122025_16_20_35_10727.jpg', 2), ('/home/nano/Desktop/images/10122025/16/20/image_10122025_16_20_24_9714.jpg', 2), ('/home/nano/Desktop/images/10122025/16/20/image_10122025_16_20_14_9741.jpg', 2), ('/home/nano/Desktop/images/10122025/16/19/image_10122025_16_20_05_9744.jpg', 2), ('/home/nano/Desktop/images/10122025/16/19/image_10122025_16_19_55_10727.jpg', 2), ('/home/nano/Desktop/images/10122025/16/19/image_10122025_16_19_44_9720.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 16:21:03.497589 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/16/20/image_10122025_16_20_35_10727.jpg', 2), ('/home/nano/Desktop/images/10122025/16/20/image_10122025_16_20_24_9714.jpg', 2), ('/home/nano/Desktop/images/10122025/16/20/image_10122025_16_20_14_9741.jpg', 2), ('/home/nano/Desktop/images/10122025/16/19/image_10122025_16_20_05_9744.jpg', 2), ('/home/nano/Desktop/images/10122025/16/19/image_10122025_16_19_55_10727.jpg', 2), ('/home/nano/Desktop/images/10122025/16/19/image_10122025_16_19_44_9720.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 16:21:32.695308 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/16/21/image_10122025_16_21_25_9715.jpg', 2), ('/home/nano/Desktop/images/10122025/16/21/image_10122025_16_21_15_9735.jpg', 2), ('/home/nano/Desktop/images/10122025/16/20/image_10122025_16_21_05_10735.jpg', 2), ('/home/nano/Desktop/images/10122025/16/20/image_10122025_16_20_45_9734.jpg', 2), ('/home/nano/Desktop/images/10122025/16/20/image_10122025_16_20_35_10727.jpg', 2), ('/home/nano/Desktop/images/10122025/16/20/image_10122025_16_20_24_9714.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 16:22:02.192964 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/16/21/image_10122025_16_21_25_9715.jpg', 2), ('/home/nano/Desktop/images/10122025/16/21/image_10122025_16_21_15_9735.jpg', 2), ('/home/nano/Desktop/images/10122025/16/20/image_10122025_16_21_05_10735.jpg', 2), ('/home/nano/Desktop/images/10122025/16/20/image_10122025_16_20_45_9734.jpg', 2), ('/home/nano/Desktop/images/10122025/16/20/image_10122025_16_20_35_10727.jpg', 2), ('/home/nano/Desktop/images/10122025/16/20/image_10122025_16_20_24_9714.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 16:22:31.778932 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/16/22/image_10122025_16_22_44_9715.jpg', 2), ('/home/nano/Desktop/images/10122025/16/22/image_10122025_16_22_35_9717.jpg', 2), ('/home/nano/Desktop/images/10122025/16/22/image_10122025_16_22_25_10726.jpg', 2), ('/home/nano/Desktop/images/10122025/16/22/image_10122025_16_22_14_9735.jpg', 2), ('/home/nano/Desktop/images/10122025/16/21/image_10122025_16_22_04_9724.jpg', 2), ('/home/nano/Desktop/images/10122025/16/21/image_10122025_16_21_55_9736.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 16:23:02.626560 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/16/22/image_10122025_16_22_44_9715.jpg', 2), ('/home/nano/Desktop/images/10122025/16/22/image_10122025_16_22_35_9717.jpg', 2), ('/home/nano/Desktop/images/10122025/16/22/image_10122025_16_22_25_10726.jpg', 2), ('/home/nano/Desktop/images/10122025/16/22/image_10122025_16_22_14_9735.jpg', 2), ('/home/nano/Desktop/images/10122025/16/21/image_10122025_16_22_04_9724.jpg', 2), ('/home/nano/Desktop/images/10122025/16/21/image_10122025_16_21_55_9736.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 16:23:31.884397 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/16/23/image_10122025_16_23_45_9718.jpg', 2), ('/home/nano/Desktop/images/10122025/16/23/image_10122025_16_23_35_10725.jpg', 2), ('/home/nano/Desktop/images/10122025/16/23/image_10122025_16_23_14_9723.jpg', 2), ('/home/nano/Desktop/images/10122025/16/22/image_10122025_16_23_05_9719.jpg', 2), ('/home/nano/Desktop/images/10122025/16/22/image_10122025_16_22_55_10726.jpg', 2), ('/home/nano/Desktop/images/10122025/16/22/image_10122025_16_22_44_9715.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 16:24:02.785971 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/16/23/image_10122025_16_23_45_9718.jpg', 2), ('/home/nano/Desktop/images/10122025/16/23/image_10122025_16_23_35_10725.jpg', 2), ('/home/nano/Desktop/images/10122025/16/23/image_10122025_16_23_14_9723.jpg', 2), ('/home/nano/Desktop/images/10122025/16/22/image_10122025_16_23_05_9719.jpg', 2), ('/home/nano/Desktop/images/10122025/16/22/image_10122025_16_22_55_10726.jpg', 2), ('/home/nano/Desktop/images/10122025/16/22/image_10122025_16_22_44_9715.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 16:24:31.988236 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/16/24/image_10122025_16_24_45_10750.jpg', 2), ('/home/nano/Desktop/images/10122025/16/24/image_10122025_16_24_34_9739.jpg', 2), ('/home/nano/Desktop/images/10122025/16/24/image_10122025_16_24_25_9715.jpg', 2), ('/home/nano/Desktop/images/10122025/16/24/image_10122025_16_24_15_10744.jpg', 2), ('/home/nano/Desktop/images/10122025/16/23/image_10122025_16_24_04_9717.jpg', 2), ('/home/nano/Desktop/images/10122025/16/23/image_10122025_16_23_54_9734.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 16:25:02.712396 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/16/24/image_10122025_16_24_45_10750.jpg', 2), ('/home/nano/Desktop/images/10122025/16/24/image_10122025_16_24_34_9739.jpg', 2), ('/home/nano/Desktop/images/10122025/16/24/image_10122025_16_24_25_9715.jpg', 2), ('/home/nano/Desktop/images/10122025/16/24/image_10122025_16_24_15_10744.jpg', 2), ('/home/nano/Desktop/images/10122025/16/23/image_10122025_16_24_04_9717.jpg', 2), ('/home/nano/Desktop/images/10122025/16/23/image_10122025_16_23_54_9734.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 16:25:32.080332 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/16/25/image_10122025_16_25_44_9720.jpg', 2), ('/home/nano/Desktop/images/10122025/16/25/image_10122025_16_25_35_9711.jpg', 2), ('/home/nano/Desktop/images/10122025/16/25/image_10122025_16_25_25_10723.jpg', 2), ('/home/nano/Desktop/images/10122025/16/24/image_10122025_16_25_05_9731.jpg', 2), ('/home/nano/Desktop/images/10122025/16/24/image_10122025_16_24_55_9731.jpg', 2), ('/home/nano/Desktop/images/10122025/16/24/image_10122025_16_24_45_10750.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 16:26:02.773688 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/16/25/image_10122025_16_25_44_9720.jpg', 2), ('/home/nano/Desktop/images/10122025/16/25/image_10122025_16_25_35_9711.jpg', 2), ('/home/nano/Desktop/images/10122025/16/25/image_10122025_16_25_25_10723.jpg', 2), ('/home/nano/Desktop/images/10122025/16/24/image_10122025_16_25_05_9731.jpg', 2), ('/home/nano/Desktop/images/10122025/16/24/image_10122025_16_24_55_9731.jpg', 2), ('/home/nano/Desktop/images/10122025/16/24/image_10122025_16_24_45_10750.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 16:26:32.172994 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/16/26/image_10122025_16_26_24_9713.jpg', 2), ('/home/nano/Desktop/images/10122025/16/25/image_10122025_16_26_05_10724.jpg', 2), ('/home/nano/Desktop/images/10122025/16/25/image_10122025_16_25_54_9716.jpg', 2), ('/home/nano/Desktop/images/10122025/16/25/image_10122025_16_25_44_9720.jpg', 2), ('/home/nano/Desktop/images/10122025/16/25/image_10122025_16_25_35_9711.jpg', 2), ('/home/nano/Desktop/images/10122025/16/25/image_10122025_16_25_25_10723.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 16:27:02.899047 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/16/26/image_10122025_16_26_24_9713.jpg', 2), ('/home/nano/Desktop/images/10122025/16/25/image_10122025_16_26_05_10724.jpg', 2), ('/home/nano/Desktop/images/10122025/16/25/image_10122025_16_25_54_9716.jpg', 2), ('/home/nano/Desktop/images/10122025/16/25/image_10122025_16_25_44_9720.jpg', 2), ('/home/nano/Desktop/images/10122025/16/25/image_10122025_16_25_35_9711.jpg', 2), ('/home/nano/Desktop/images/10122025/16/25/image_10122025_16_25_25_10723.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 16:27:32.286183 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/16/27/image_10122025_16_27_44_9718.jpg', 2), ('/home/nano/Desktop/images/10122025/16/27/image_10122025_16_27_34_9714.jpg', 2), ('/home/nano/Desktop/images/10122025/16/27/image_10122025_16_27_25_9714.jpg', 2), ('/home/nano/Desktop/images/10122025/16/27/image_10122025_16_27_15_10744.jpg', 2), ('/home/nano/Desktop/images/10122025/16/26/image_10122025_16_27_04_9723.jpg', 2), ('/home/nano/Desktop/images/10122025/16/26/image_10122025_16_26_45_9715.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 16:28:02.856981 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/16/27/image_10122025_16_27_44_9718.jpg', 2), ('/home/nano/Desktop/images/10122025/16/27/image_10122025_16_27_34_9714.jpg', 2), ('/home/nano/Desktop/images/10122025/16/27/image_10122025_16_27_25_9714.jpg', 2), ('/home/nano/Desktop/images/10122025/16/27/image_10122025_16_27_15_10744.jpg', 2), ('/home/nano/Desktop/images/10122025/16/26/image_10122025_16_27_04_9723.jpg', 2), ('/home/nano/Desktop/images/10122025/16/26/image_10122025_16_26_45_9715.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 16:28:32.397686 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/16/28/image_10122025_16_28_44_9719.jpg', 2), ('/home/nano/Desktop/images/10122025/16/28/image_10122025_16_28_35_9711.jpg', 2), ('/home/nano/Desktop/images/10122025/16/28/image_10122025_16_28_25_10724.jpg', 2), ('/home/nano/Desktop/images/10122025/16/28/image_10122025_16_28_14_9758.jpg', 2), ('/home/nano/Desktop/images/10122025/16/27/image_10122025_16_28_05_9731.jpg', 2), ('/home/nano/Desktop/images/10122025/16/27/image_10122025_16_27_55_10724.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 16:29:03.617166 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/16/28/image_10122025_16_28_44_9719.jpg', 2), ('/home/nano/Desktop/images/10122025/16/28/image_10122025_16_28_35_9711.jpg', 2), ('/home/nano/Desktop/images/10122025/16/28/image_10122025_16_28_25_10724.jpg', 2), ('/home/nano/Desktop/images/10122025/16/28/image_10122025_16_28_14_9758.jpg', 2), ('/home/nano/Desktop/images/10122025/16/27/image_10122025_16_28_05_9731.jpg', 2), ('/home/nano/Desktop/images/10122025/16/27/image_10122025_16_27_55_10724.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 16:29:32.535238 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/16/29/image_10122025_16_29_45_10722.jpg', 2), ('/home/nano/Desktop/images/10122025/16/29/image_10122025_16_29_34_9714.jpg', 2), ('/home/nano/Desktop/images/10122025/16/29/image_10122025_16_29_24_9713.jpg', 2), ('/home/nano/Desktop/images/10122025/16/28/image_10122025_16_29_05_10744.jpg', 2), ('/home/nano/Desktop/images/10122025/16/28/image_10122025_16_28_54_9730.jpg', 2), ('/home/nano/Desktop/images/10122025/16/28/image_10122025_16_28_44_9719.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 16:30:03.131825 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/16/29/image_10122025_16_29_45_10722.jpg', 2), ('/home/nano/Desktop/images/10122025/16/29/image_10122025_16_29_34_9714.jpg', 2), ('/home/nano/Desktop/images/10122025/16/29/image_10122025_16_29_24_9713.jpg', 2), ('/home/nano/Desktop/images/10122025/16/28/image_10122025_16_29_05_10744.jpg', 2), ('/home/nano/Desktop/images/10122025/16/28/image_10122025_16_28_54_9730.jpg', 2), ('/home/nano/Desktop/images/10122025/16/28/image_10122025_16_28_44_9719.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 16:30:32.635427 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/16/30/image_10122025_16_30_44_9714.jpg', 2), ('/home/nano/Desktop/images/10122025/16/30/image_10122025_16_30_34_9712.jpg', 2), ('/home/nano/Desktop/images/10122025/16/30/image_10122025_16_30_25_9713.jpg', 2), ('/home/nano/Desktop/images/10122025/16/30/image_10122025_16_30_15_10745.jpg', 2), ('/home/nano/Desktop/images/10122025/16/29/image_10122025_16_30_04_9726.jpg', 2), ('/home/nano/Desktop/images/10122025/16/29/image_10122025_16_29_55_9732.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 16:31:02.328517 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/16/30/image_10122025_16_30_44_9714.jpg', 2), ('/home/nano/Desktop/images/10122025/16/30/image_10122025_16_30_34_9712.jpg', 2), ('/home/nano/Desktop/images/10122025/16/30/image_10122025_16_30_25_9713.jpg', 2), ('/home/nano/Desktop/images/10122025/16/30/image_10122025_16_30_15_10745.jpg', 2), ('/home/nano/Desktop/images/10122025/16/29/image_10122025_16_30_04_9726.jpg', 2), ('/home/nano/Desktop/images/10122025/16/29/image_10122025_16_29_55_9732.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 16:31:31.753927 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/16/30/image_10122025_16_30_55_10743.jpg', 2), ('/home/nano/Desktop/images/10122025/16/30/image_10122025_16_30_44_9714.jpg', 2), ('/home/nano/Desktop/images/10122025/16/30/image_10122025_16_30_34_9712.jpg', 2), ('/home/nano/Desktop/images/10122025/16/30/image_10122025_16_30_25_9713.jpg', 2), ('/home/nano/Desktop/images/10122025/16/30/image_10122025_16_30_15_10745.jpg', 2), ('/home/nano/Desktop/images/10122025/16/29/image_10122025_16_30_04_9726.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 16:32:02.504031 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/16/30/image_10122025_16_30_55_10743.jpg', 2), ('/home/nano/Desktop/images/10122025/16/30/image_10122025_16_30_44_9714.jpg', 2), ('/home/nano/Desktop/images/10122025/16/30/image_10122025_16_30_34_9712.jpg', 2), ('/home/nano/Desktop/images/10122025/16/30/image_10122025_16_30_25_9713.jpg', 2), ('/home/nano/Desktop/images/10122025/16/30/image_10122025_16_30_15_10745.jpg', 2), ('/home/nano/Desktop/images/10122025/16/29/image_10122025_16_30_04_9726.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 16:32:31.835510 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/16/32/image_10122025_16_32_45_10749.jpg', 2), ('/home/nano/Desktop/images/10122025/16/32/image_10122025_16_32_34_9713.jpg', 2), ('/home/nano/Desktop/images/10122025/16/31/image_10122025_16_32_05_10741.jpg', 2), ('/home/nano/Desktop/images/10122025/16/31/image_10122025_16_31_14_9731.jpg', 2), ('/home/nano/Desktop/images/10122025/16/30/image_10122025_16_30_55_10743.jpg', 2), ('/home/nano/Desktop/images/10122025/16/30/image_10122025_16_30_44_9714.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 16:33:02.715611 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/16/32/image_10122025_16_32_45_10749.jpg', 2), ('/home/nano/Desktop/images/10122025/16/32/image_10122025_16_32_34_9713.jpg', 2), ('/home/nano/Desktop/images/10122025/16/31/image_10122025_16_32_05_10741.jpg', 2), ('/home/nano/Desktop/images/10122025/16/31/image_10122025_16_31_14_9731.jpg', 2), ('/home/nano/Desktop/images/10122025/16/30/image_10122025_16_30_55_10743.jpg', 2), ('/home/nano/Desktop/images/10122025/16/30/image_10122025_16_30_44_9714.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 16:33:32.013500 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/16/33/image_10122025_16_33_35_9737.jpg', 2), ('/home/nano/Desktop/images/10122025/16/33/image_10122025_16_33_25_10724.jpg', 2), ('/home/nano/Desktop/images/10122025/16/32/image_10122025_16_33_04_9722.jpg', 2), ('/home/nano/Desktop/images/10122025/16/32/image_10122025_16_32_55_9716.jpg', 2), ('/home/nano/Desktop/images/10122025/16/32/image_10122025_16_32_45_10749.jpg', 2), ('/home/nano/Desktop/images/10122025/16/32/image_10122025_16_32_34_9713.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 16:34:02.725745 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/16/33/image_10122025_16_33_35_9737.jpg', 2), ('/home/nano/Desktop/images/10122025/16/33/image_10122025_16_33_25_10724.jpg', 2), ('/home/nano/Desktop/images/10122025/16/32/image_10122025_16_33_04_9722.jpg', 2), ('/home/nano/Desktop/images/10122025/16/32/image_10122025_16_32_55_9716.jpg', 2), ('/home/nano/Desktop/images/10122025/16/32/image_10122025_16_32_45_10749.jpg', 2), ('/home/nano/Desktop/images/10122025/16/32/image_10122025_16_32_34_9713.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 16:34:32.059557 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/16/34/image_10122025_16_34_35_10742.jpg', 2), ('/home/nano/Desktop/images/10122025/16/34/image_10122025_16_34_14_9735.jpg', 2), ('/home/nano/Desktop/images/10122025/16/33/image_10122025_16_34_05_9729.jpg', 2), ('/home/nano/Desktop/images/10122025/16/33/image_10122025_16_33_44_9713.jpg', 2), ('/home/nano/Desktop/images/10122025/16/33/image_10122025_16_33_35_9737.jpg', 2), ('/home/nano/Desktop/images/10122025/16/33/image_10122025_16_33_25_10724.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 16:35:02.836557 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/16/34/image_10122025_16_34_35_10742.jpg', 2), ('/home/nano/Desktop/images/10122025/16/34/image_10122025_16_34_14_9735.jpg', 2), ('/home/nano/Desktop/images/10122025/16/33/image_10122025_16_34_05_9729.jpg', 2), ('/home/nano/Desktop/images/10122025/16/33/image_10122025_16_33_44_9713.jpg', 2), ('/home/nano/Desktop/images/10122025/16/33/image_10122025_16_33_35_9737.jpg', 2), ('/home/nano/Desktop/images/10122025/16/33/image_10122025_16_33_25_10724.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 16:35:32.187499 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/16/35/image_10122025_16_35_45_10725.jpg', 2), ('/home/nano/Desktop/images/10122025/16/35/image_10122025_16_35_34_9711.jpg', 2), ('/home/nano/Desktop/images/10122025/16/35/image_10122025_16_35_25_9712.jpg', 2), ('/home/nano/Desktop/images/10122025/16/35/image_10122025_16_35_15_9721.jpg', 2), ('/home/nano/Desktop/images/10122025/16/34/image_10122025_16_35_05_10728.jpg', 2), ('/home/nano/Desktop/images/10122025/16/34/image_10122025_16_34_45_9720.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 16:36:02.882385 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/16/35/image_10122025_16_35_45_10725.jpg', 2), ('/home/nano/Desktop/images/10122025/16/35/image_10122025_16_35_34_9711.jpg', 2), ('/home/nano/Desktop/images/10122025/16/35/image_10122025_16_35_25_9712.jpg', 2), ('/home/nano/Desktop/images/10122025/16/35/image_10122025_16_35_15_9721.jpg', 2), ('/home/nano/Desktop/images/10122025/16/34/image_10122025_16_35_05_10728.jpg', 2), ('/home/nano/Desktop/images/10122025/16/34/image_10122025_16_34_45_9720.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 16:36:32.351515 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/16/36/image_10122025_16_36_44_9714.jpg', 2), ('/home/nano/Desktop/images/10122025/16/36/image_10122025_16_36_35_9713.jpg', 2), ('/home/nano/Desktop/images/10122025/16/36/image_10122025_16_36_25_10726.jpg', 2), ('/home/nano/Desktop/images/10122025/16/36/image_10122025_16_36_14_9755.jpg', 2), ('/home/nano/Desktop/images/10122025/16/35/image_10122025_16_36_04_9726.jpg', 2), ('/home/nano/Desktop/images/10122025/16/35/image_10122025_16_35_55_9713.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 16:37:03.069363 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/16/36/image_10122025_16_36_44_9714.jpg', 2), ('/home/nano/Desktop/images/10122025/16/36/image_10122025_16_36_35_9713.jpg', 2), ('/home/nano/Desktop/images/10122025/16/36/image_10122025_16_36_25_10726.jpg', 2), ('/home/nano/Desktop/images/10122025/16/36/image_10122025_16_36_14_9755.jpg', 2), ('/home/nano/Desktop/images/10122025/16/35/image_10122025_16_36_04_9726.jpg', 2), ('/home/nano/Desktop/images/10122025/16/35/image_10122025_16_35_55_9713.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 16:37:32.364025 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/16/37/image_10122025_16_37_45_9736.jpg', 2), ('/home/nano/Desktop/images/10122025/16/37/image_10122025_16_37_35_10741.jpg', 2), ('/home/nano/Desktop/images/10122025/16/37/image_10122025_16_37_14_9733.jpg', 2), ('/home/nano/Desktop/images/10122025/16/36/image_10122025_16_37_05_9715.jpg', 2), ('/home/nano/Desktop/images/10122025/16/36/image_10122025_16_36_55_10724.jpg', 2), ('/home/nano/Desktop/images/10122025/16/36/image_10122025_16_36_44_9714.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 16:38:03.092800 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/16/37/image_10122025_16_37_45_9736.jpg', 2), ('/home/nano/Desktop/images/10122025/16/37/image_10122025_16_37_35_10741.jpg', 2), ('/home/nano/Desktop/images/10122025/16/37/image_10122025_16_37_14_9733.jpg', 2), ('/home/nano/Desktop/images/10122025/16/36/image_10122025_16_37_05_9715.jpg', 2), ('/home/nano/Desktop/images/10122025/16/36/image_10122025_16_36_55_10724.jpg', 2), ('/home/nano/Desktop/images/10122025/16/36/image_10122025_16_36_44_9714.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 16:38:32.485667 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/16/38/image_10122025_16_38_34_9715.jpg', 2), ('/home/nano/Desktop/images/10122025/16/38/image_10122025_16_38_15_10756.jpg', 2), ('/home/nano/Desktop/images/10122025/16/37/image_10122025_16_37_54_9715.jpg', 2), ('/home/nano/Desktop/images/10122025/16/37/image_10122025_16_37_45_9736.jpg', 2), ('/home/nano/Desktop/images/10122025/16/37/image_10122025_16_37_35_10741.jpg', 2), ('/home/nano/Desktop/images/10122025/16/37/image_10122025_16_37_14_9733.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 16:39:03.525882 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/16/38/image_10122025_16_38_34_9715.jpg', 2), ('/home/nano/Desktop/images/10122025/16/38/image_10122025_16_38_15_10756.jpg', 2), ('/home/nano/Desktop/images/10122025/16/37/image_10122025_16_37_54_9715.jpg', 2), ('/home/nano/Desktop/images/10122025/16/37/image_10122025_16_37_45_9736.jpg', 2), ('/home/nano/Desktop/images/10122025/16/37/image_10122025_16_37_35_10741.jpg', 2), ('/home/nano/Desktop/images/10122025/16/37/image_10122025_16_37_14_9733.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 16:39:32.576239 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/16/39/image_10122025_16_39_14_9739.jpg', 2), ('/home/nano/Desktop/images/10122025/16/38/image_10122025_16_38_55_9715.jpg', 2), ('/home/nano/Desktop/images/10122025/16/38/image_10122025_16_38_34_9715.jpg', 2), ('/home/nano/Desktop/images/10122025/16/38/image_10122025_16_38_15_10756.jpg', 2), ('/home/nano/Desktop/images/10122025/16/37/image_10122025_16_37_54_9715.jpg', 2), ('/home/nano/Desktop/images/10122025/16/37/image_10122025_16_37_45_9736.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 16:40:03.195240 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/16/39/image_10122025_16_39_14_9739.jpg', 2), ('/home/nano/Desktop/images/10122025/16/38/image_10122025_16_38_55_9715.jpg', 2), ('/home/nano/Desktop/images/10122025/16/38/image_10122025_16_38_34_9715.jpg', 2), ('/home/nano/Desktop/images/10122025/16/38/image_10122025_16_38_15_10756.jpg', 2), ('/home/nano/Desktop/images/10122025/16/37/image_10122025_16_37_54_9715.jpg', 2), ('/home/nano/Desktop/images/10122025/16/37/image_10122025_16_37_45_9736.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 16:40:32.788884 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/16/39/image_10122025_16_40_05_9740.jpg', 2), ('/home/nano/Desktop/images/10122025/16/39/image_10122025_16_39_35_9735.jpg', 2), ('/home/nano/Desktop/images/10122025/16/39/image_10122025_16_39_14_9739.jpg', 2), ('/home/nano/Desktop/images/10122025/16/38/image_10122025_16_38_55_9715.jpg', 2), ('/home/nano/Desktop/images/10122025/16/38/image_10122025_16_38_34_9715.jpg', 2), ('/home/nano/Desktop/images/10122025/16/38/image_10122025_16_38_15_10756.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 16:41:02.534261 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/16/40/image_10122025_16_41_04_9728.jpg', 2), ('/home/nano/Desktop/images/10122025/16/39/image_10122025_16_40_05_9740.jpg', 2), ('/home/nano/Desktop/images/10122025/16/39/image_10122025_16_39_35_9735.jpg', 2), ('/home/nano/Desktop/images/10122025/16/39/image_10122025_16_39_14_9739.jpg', 2), ('/home/nano/Desktop/images/10122025/16/38/image_10122025_16_38_55_9715.jpg', 2), ('/home/nano/Desktop/images/10122025/16/38/image_10122025_16_38_34_9715.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 16:41:31.783677 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/16/41/image_10122025_16_41_45_10723.jpg', 2), ('/home/nano/Desktop/images/10122025/16/41/image_10122025_16_41_34_9716.jpg', 2), ('/home/nano/Desktop/images/10122025/16/41/image_10122025_16_41_25_9712.jpg', 2), ('/home/nano/Desktop/images/10122025/16/41/image_10122025_16_41_15_10742.jpg', 2), ('/home/nano/Desktop/images/10122025/16/40/image_10122025_16_41_04_9728.jpg', 2), ('/home/nano/Desktop/images/10122025/16/40/image_10122025_16_40_54_9713.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 16:42:02.459689 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/16/41/image_10122025_16_41_45_10723.jpg', 2), ('/home/nano/Desktop/images/10122025/16/41/image_10122025_16_41_34_9716.jpg', 2), ('/home/nano/Desktop/images/10122025/16/41/image_10122025_16_41_25_9712.jpg', 2), ('/home/nano/Desktop/images/10122025/16/41/image_10122025_16_41_15_10742.jpg', 2), ('/home/nano/Desktop/images/10122025/16/40/image_10122025_16_41_04_9728.jpg', 2), ('/home/nano/Desktop/images/10122025/16/40/image_10122025_16_40_54_9713.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 16:42:31.930807 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/16/42/image_10122025_16_42_35_9731.jpg', 2), ('/home/nano/Desktop/images/10122025/16/42/image_10122025_16_42_25_10724.jpg', 2), ('/home/nano/Desktop/images/10122025/16/41/image_10122025_16_42_04_9722.jpg', 2), ('/home/nano/Desktop/images/10122025/16/41/image_10122025_16_41_55_9715.jpg', 2), ('/home/nano/Desktop/images/10122025/16/41/image_10122025_16_41_45_10723.jpg', 2), ('/home/nano/Desktop/images/10122025/16/41/image_10122025_16_41_34_9716.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 16:43:02.784659 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/16/42/image_10122025_16_42_35_9731.jpg', 2), ('/home/nano/Desktop/images/10122025/16/42/image_10122025_16_42_25_10724.jpg', 2), ('/home/nano/Desktop/images/10122025/16/41/image_10122025_16_42_04_9722.jpg', 2), ('/home/nano/Desktop/images/10122025/16/41/image_10122025_16_41_55_9715.jpg', 2), ('/home/nano/Desktop/images/10122025/16/41/image_10122025_16_41_45_10723.jpg', 2), ('/home/nano/Desktop/images/10122025/16/41/image_10122025_16_41_34_9716.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 16:43:32.027347 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/16/43/image_10122025_16_43_45_9733.jpg', 2), ('/home/nano/Desktop/images/10122025/16/43/image_10122025_16_43_35_10745.jpg', 2), ('/home/nano/Desktop/images/10122025/16/43/image_10122025_16_43_24_9715.jpg', 2), ('/home/nano/Desktop/images/10122025/16/43/image_10122025_16_43_15_9719.jpg', 2), ('/home/nano/Desktop/images/10122025/16/42/image_10122025_16_43_05_10741.jpg', 2), ('/home/nano/Desktop/images/10122025/16/42/image_10122025_16_42_54_9712.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 16:44:02.825387 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/16/43/image_10122025_16_43_45_9733.jpg', 2), ('/home/nano/Desktop/images/10122025/16/43/image_10122025_16_43_35_10745.jpg', 2), ('/home/nano/Desktop/images/10122025/16/43/image_10122025_16_43_24_9715.jpg', 2), ('/home/nano/Desktop/images/10122025/16/43/image_10122025_16_43_15_9719.jpg', 2), ('/home/nano/Desktop/images/10122025/16/42/image_10122025_16_43_05_10741.jpg', 2), ('/home/nano/Desktop/images/10122025/16/42/image_10122025_16_42_54_9712.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 16:44:32.132006 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/16/44/image_10122025_16_44_45_10727.jpg', 2), ('/home/nano/Desktop/images/10122025/16/44/image_10122025_16_44_25_9735.jpg', 2), ('/home/nano/Desktop/images/10122025/16/43/image_10122025_16_44_04_9714.jpg', 2), ('/home/nano/Desktop/images/10122025/16/43/image_10122025_16_43_54_9712.jpg', 2), ('/home/nano/Desktop/images/10122025/16/43/image_10122025_16_43_45_9733.jpg', 2), ('/home/nano/Desktop/images/10122025/16/43/image_10122025_16_43_35_10745.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 16:45:02.743770 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/16/44/image_10122025_16_44_45_10727.jpg', 2), ('/home/nano/Desktop/images/10122025/16/44/image_10122025_16_44_25_9735.jpg', 2), ('/home/nano/Desktop/images/10122025/16/43/image_10122025_16_44_04_9714.jpg', 2), ('/home/nano/Desktop/images/10122025/16/43/image_10122025_16_43_54_9712.jpg', 2), ('/home/nano/Desktop/images/10122025/16/43/image_10122025_16_43_45_9733.jpg', 2), ('/home/nano/Desktop/images/10122025/16/43/image_10122025_16_43_35_10745.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 16:45:32.205769 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/16/45/image_10122025_16_45_44_9718.jpg', 2), ('/home/nano/Desktop/images/10122025/16/45/image_10122025_16_45_25_10723.jpg', 2), ('/home/nano/Desktop/images/10122025/16/45/image_10122025_16_45_14_9740.jpg', 2), ('/home/nano/Desktop/images/10122025/16/44/image_10122025_16_45_05_9721.jpg', 2), ('/home/nano/Desktop/images/10122025/16/44/image_10122025_16_44_55_9714.jpg', 2), ('/home/nano/Desktop/images/10122025/16/44/image_10122025_16_44_45_10727.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 16:46:02.747771 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/16/45/image_10122025_16_45_44_9718.jpg', 2), ('/home/nano/Desktop/images/10122025/16/45/image_10122025_16_45_25_10723.jpg', 2), ('/home/nano/Desktop/images/10122025/16/45/image_10122025_16_45_14_9740.jpg', 2), ('/home/nano/Desktop/images/10122025/16/44/image_10122025_16_45_05_9721.jpg', 2), ('/home/nano/Desktop/images/10122025/16/44/image_10122025_16_44_55_9714.jpg', 2), ('/home/nano/Desktop/images/10122025/16/44/image_10122025_16_44_45_10727.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 16:46:32.349652 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/16/45/image_10122025_16_45_44_9718.jpg', 2), ('/home/nano/Desktop/images/10122025/16/45/image_10122025_16_45_25_10723.jpg', 2), ('/home/nano/Desktop/images/10122025/16/45/image_10122025_16_45_14_9740.jpg', 2), ('/home/nano/Desktop/images/10122025/16/44/image_10122025_16_45_05_9721.jpg', 2), ('/home/nano/Desktop/images/10122025/16/44/image_10122025_16_44_55_9714.jpg', 2), ('/home/nano/Desktop/images/10122025/16/44/image_10122025_16_44_45_10727.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 16:47:03.235500 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/16/45/image_10122025_16_45_44_9718.jpg', 2), ('/home/nano/Desktop/images/10122025/16/45/image_10122025_16_45_25_10723.jpg', 2), ('/home/nano/Desktop/images/10122025/16/45/image_10122025_16_45_14_9740.jpg', 2), ('/home/nano/Desktop/images/10122025/16/44/image_10122025_16_45_05_9721.jpg', 2), ('/home/nano/Desktop/images/10122025/16/44/image_10122025_16_44_55_9714.jpg', 2), ('/home/nano/Desktop/images/10122025/16/44/image_10122025_16_44_45_10727.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 16:47:32.437612 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/16/45/image_10122025_16_45_54_9712.jpg', 2), ('/home/nano/Desktop/images/10122025/16/45/image_10122025_16_45_44_9718.jpg', 2), ('/home/nano/Desktop/images/10122025/16/45/image_10122025_16_45_25_10723.jpg', 2), ('/home/nano/Desktop/images/10122025/16/45/image_10122025_16_45_14_9740.jpg', 2), ('/home/nano/Desktop/images/10122025/16/44/image_10122025_16_45_05_9721.jpg', 2), ('/home/nano/Desktop/images/10122025/16/44/image_10122025_16_44_55_9714.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 16:48:03.176764 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/16/45/image_10122025_16_45_54_9712.jpg', 2), ('/home/nano/Desktop/images/10122025/16/45/image_10122025_16_45_44_9718.jpg', 2), ('/home/nano/Desktop/images/10122025/16/45/image_10122025_16_45_25_10723.jpg', 2), ('/home/nano/Desktop/images/10122025/16/45/image_10122025_16_45_14_9740.jpg', 2), ('/home/nano/Desktop/images/10122025/16/44/image_10122025_16_45_05_9721.jpg', 2), ('/home/nano/Desktop/images/10122025/16/44/image_10122025_16_44_55_9714.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 16:48:32.592139 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/16/48/image_10122025_16_48_44_9706.jpg', 2), ('/home/nano/Desktop/images/10122025/16/48/image_10122025_16_48_35_9708.jpg', 2), ('/home/nano/Desktop/images/10122025/16/48/image_10122025_16_48_25_10719.jpg', 2), ('/home/nano/Desktop/images/10122025/16/48/image_10122025_16_48_14_9728.jpg', 2), ('/home/nano/Desktop/images/10122025/16/47/image_10122025_16_48_05_9714.jpg', 2), ('/home/nano/Desktop/images/10122025/16/47/image_10122025_16_47_55_10723.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 16:49:03.715965 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/16/48/image_10122025_16_48_44_9706.jpg', 2), ('/home/nano/Desktop/images/10122025/16/48/image_10122025_16_48_35_9708.jpg', 2), ('/home/nano/Desktop/images/10122025/16/48/image_10122025_16_48_25_10719.jpg', 2), ('/home/nano/Desktop/images/10122025/16/48/image_10122025_16_48_14_9728.jpg', 2), ('/home/nano/Desktop/images/10122025/16/47/image_10122025_16_48_05_9714.jpg', 2), ('/home/nano/Desktop/images/10122025/16/47/image_10122025_16_47_55_10723.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 16:49:32.676263 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/16/49/image_10122025_16_49_45_9711.jpg', 2), ('/home/nano/Desktop/images/10122025/16/49/image_10122025_16_49_35_10716.jpg', 2), ('/home/nano/Desktop/images/10122025/16/49/image_10122025_16_49_24_9706.jpg', 2), ('/home/nano/Desktop/images/10122025/16/49/image_10122025_16_49_15_9728.jpg', 2), ('/home/nano/Desktop/images/10122025/16/48/image_10122025_16_49_05_10733.jpg', 2), ('/home/nano/Desktop/images/10122025/16/48/image_10122025_16_48_54_9705.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 16:50:02.355419 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/16/50/image_10122025_16_50_15_10736.jpg', 2), ('/home/nano/Desktop/images/10122025/16/49/image_10122025_16_49_45_9711.jpg', 2), ('/home/nano/Desktop/images/10122025/16/49/image_10122025_16_49_35_10716.jpg', 2), ('/home/nano/Desktop/images/10122025/16/49/image_10122025_16_49_24_9706.jpg', 2), ('/home/nano/Desktop/images/10122025/16/49/image_10122025_16_49_15_9728.jpg', 2), ('/home/nano/Desktop/images/10122025/16/48/image_10122025_16_49_05_10733.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 16:50:31.824079 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/16/50/image_10122025_16_50_45_10717.jpg', 2), ('/home/nano/Desktop/images/10122025/16/50/image_10122025_16_50_34_9708.jpg', 2), ('/home/nano/Desktop/images/10122025/16/50/image_10122025_16_50_25_9718.jpg', 2), ('/home/nano/Desktop/images/10122025/16/50/image_10122025_16_50_15_10736.jpg', 2), ('/home/nano/Desktop/images/10122025/16/49/image_10122025_16_50_04_9718.jpg', 2), ('/home/nano/Desktop/images/10122025/16/49/image_10122025_16_49_54_9708.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 16:51:02.425318 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/16/50/image_10122025_16_50_45_10717.jpg', 2), ('/home/nano/Desktop/images/10122025/16/50/image_10122025_16_50_34_9708.jpg', 2), ('/home/nano/Desktop/images/10122025/16/50/image_10122025_16_50_25_9718.jpg', 2), ('/home/nano/Desktop/images/10122025/16/50/image_10122025_16_50_15_10736.jpg', 2), ('/home/nano/Desktop/images/10122025/16/49/image_10122025_16_50_04_9718.jpg', 2), ('/home/nano/Desktop/images/10122025/16/49/image_10122025_16_49_54_9708.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 16:51:31.857458 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/16/51/image_10122025_16_51_44_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/16/51/image_10122025_16_51_35_9707.jpg', 2), ('/home/nano/Desktop/images/10122025/16/51/image_10122025_16_51_25_10712.jpg', 2), ('/home/nano/Desktop/images/10122025/16/51/image_10122025_16_51_14_9711.jpg', 2), ('/home/nano/Desktop/images/10122025/16/50/image_10122025_16_51_04_9709.jpg', 2), ('/home/nano/Desktop/images/10122025/16/50/image_10122025_16_50_55_9711.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 16:52:02.517262 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/16/51/image_10122025_16_51_44_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/16/51/image_10122025_16_51_35_9707.jpg', 2), ('/home/nano/Desktop/images/10122025/16/51/image_10122025_16_51_25_10712.jpg', 2), ('/home/nano/Desktop/images/10122025/16/51/image_10122025_16_51_14_9711.jpg', 2), ('/home/nano/Desktop/images/10122025/16/50/image_10122025_16_51_04_9709.jpg', 2), ('/home/nano/Desktop/images/10122025/16/50/image_10122025_16_50_55_9711.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 16:52:32.037822 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/16/52/image_10122025_16_52_45_10622.jpg', 2), ('/home/nano/Desktop/images/10122025/16/52/image_10122025_16_52_34_9632.jpg', 2), ('/home/nano/Desktop/images/10122025/16/52/image_10122025_16_52_25_9613.jpg', 2), ('/home/nano/Desktop/images/10122025/16/52/image_10122025_16_52_15_10660.jpg', 2), ('/home/nano/Desktop/images/10122025/16/51/image_10122025_16_52_04_9624.jpg', 2), ('/home/nano/Desktop/images/10122025/16/51/image_10122025_16_51_55_10620.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 16:53:02.750898 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/16/52/image_10122025_16_52_45_10622.jpg', 2), ('/home/nano/Desktop/images/10122025/16/52/image_10122025_16_52_34_9632.jpg', 2), ('/home/nano/Desktop/images/10122025/16/52/image_10122025_16_52_25_9613.jpg', 2), ('/home/nano/Desktop/images/10122025/16/52/image_10122025_16_52_15_10660.jpg', 2), ('/home/nano/Desktop/images/10122025/16/51/image_10122025_16_52_04_9624.jpg', 2), ('/home/nano/Desktop/images/10122025/16/51/image_10122025_16_51_55_10620.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 16:53:32.127085 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/16/53/image_10122025_16_53_45_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/16/53/image_10122025_16_53_35_10612.jpg', 2), ('/home/nano/Desktop/images/10122025/16/53/image_10122025_16_53_24_9613.jpg', 2), ('/home/nano/Desktop/images/10122025/16/53/image_10122025_16_53_15_10638.jpg', 2), ('/home/nano/Desktop/images/10122025/16/52/image_10122025_16_53_04_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/16/52/image_10122025_16_52_55_9610.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 16:54:03.091293 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/16/53/image_10122025_16_53_45_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/16/53/image_10122025_16_53_35_10612.jpg', 2), ('/home/nano/Desktop/images/10122025/16/53/image_10122025_16_53_24_9613.jpg', 2), ('/home/nano/Desktop/images/10122025/16/53/image_10122025_16_53_15_10638.jpg', 2), ('/home/nano/Desktop/images/10122025/16/52/image_10122025_16_53_04_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/16/52/image_10122025_16_52_55_9610.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 16:54:32.247671 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/16/54/image_10122025_16_54_44_9629.jpg', 2), ('/home/nano/Desktop/images/10122025/16/54/image_10122025_16_54_35_10622.jpg', 2), ('/home/nano/Desktop/images/10122025/16/54/image_10122025_16_54_24_9624.jpg', 2), ('/home/nano/Desktop/images/10122025/16/54/image_10122025_16_54_15_9613.jpg', 2), ('/home/nano/Desktop/images/10122025/16/53/image_10122025_16_54_05_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/16/53/image_10122025_16_53_54_9612.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 16:55:03.033770 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/16/54/image_10122025_16_54_44_9629.jpg', 2), ('/home/nano/Desktop/images/10122025/16/54/image_10122025_16_54_35_10622.jpg', 2), ('/home/nano/Desktop/images/10122025/16/54/image_10122025_16_54_24_9624.jpg', 2), ('/home/nano/Desktop/images/10122025/16/54/image_10122025_16_54_15_9613.jpg', 2), ('/home/nano/Desktop/images/10122025/16/53/image_10122025_16_54_05_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/16/53/image_10122025_16_53_54_9612.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 16:55:32.358566 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/16/55/image_10122025_16_55_44_9625.jpg', 2), ('/home/nano/Desktop/images/10122025/16/55/image_10122025_16_55_35_9626.jpg', 2), ('/home/nano/Desktop/images/10122025/16/55/image_10122025_16_55_25_10636.jpg', 2), ('/home/nano/Desktop/images/10122025/16/55/image_10122025_16_55_14_9625.jpg', 2), ('/home/nano/Desktop/images/10122025/16/54/image_10122025_16_55_05_9637.jpg', 2), ('/home/nano/Desktop/images/10122025/16/54/image_10122025_16_54_55_10635.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 16:56:03.044089 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/16/55/image_10122025_16_55_44_9625.jpg', 2), ('/home/nano/Desktop/images/10122025/16/55/image_10122025_16_55_35_9626.jpg', 2), ('/home/nano/Desktop/images/10122025/16/55/image_10122025_16_55_25_10636.jpg', 2), ('/home/nano/Desktop/images/10122025/16/55/image_10122025_16_55_14_9625.jpg', 2), ('/home/nano/Desktop/images/10122025/16/54/image_10122025_16_55_05_9637.jpg', 2), ('/home/nano/Desktop/images/10122025/16/54/image_10122025_16_54_55_10635.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 16:56:32.436106 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/16/56/image_10122025_16_56_45_10632.jpg', 2), ('/home/nano/Desktop/images/10122025/16/56/image_10122025_16_56_34_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/16/56/image_10122025_16_56_25_10622.jpg', 2), ('/home/nano/Desktop/images/10122025/16/56/image_10122025_16_56_14_9641.jpg', 2), ('/home/nano/Desktop/images/10122025/16/55/image_10122025_16_56_04_9639.jpg', 2), ('/home/nano/Desktop/images/10122025/16/55/image_10122025_16_55_55_10639.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 16:57:03.033500 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/16/56/image_10122025_16_56_45_10632.jpg', 2), ('/home/nano/Desktop/images/10122025/16/56/image_10122025_16_56_34_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/16/56/image_10122025_16_56_25_10622.jpg', 2), ('/home/nano/Desktop/images/10122025/16/56/image_10122025_16_56_14_9641.jpg', 2), ('/home/nano/Desktop/images/10122025/16/55/image_10122025_16_56_04_9639.jpg', 2), ('/home/nano/Desktop/images/10122025/16/55/image_10122025_16_55_55_10639.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 16:57:32.532075 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/16/57/image_10122025_16_57_45_9623.jpg', 2), ('/home/nano/Desktop/images/10122025/16/57/image_10122025_16_57_35_10626.jpg', 2), ('/home/nano/Desktop/images/10122025/16/57/image_10122025_16_57_24_9599.jpg', 2), ('/home/nano/Desktop/images/10122025/16/57/image_10122025_16_57_15_10635.jpg', 2), ('/home/nano/Desktop/images/10122025/16/56/image_10122025_16_57_04_9628.jpg', 2), ('/home/nano/Desktop/images/10122025/16/56/image_10122025_16_56_55_9611.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 16:59:03.520941 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/16/59/image_10122025_16_59_25_10661.jpg', 2), ('/home/nano/Desktop/images/10122025/16/57/image_10122025_16_57_45_9623.jpg', 2), ('/home/nano/Desktop/images/10122025/16/57/image_10122025_16_57_35_10626.jpg', 2), ('/home/nano/Desktop/images/10122025/16/57/image_10122025_16_57_24_9599.jpg', 2), ('/home/nano/Desktop/images/10122025/16/57/image_10122025_16_57_15_10635.jpg', 2), ('/home/nano/Desktop/images/10122025/16/56/image_10122025_16_57_04_9628.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 16:59:32.495336 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/16/59/image_10122025_16_59_44_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/16/59/image_10122025_16_59_35_9628.jpg', 2), ('/home/nano/Desktop/images/10122025/16/59/image_10122025_16_59_25_10661.jpg', 2), ('/home/nano/Desktop/images/10122025/16/59/image_10122025_16_59_14_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/16/58/image_10122025_16_59_05_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/16/58/image_10122025_16_58_54_9604.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 17:00:03.086479 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/16/59/image_10122025_16_59_44_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/16/59/image_10122025_16_59_35_9628.jpg', 2), ('/home/nano/Desktop/images/10122025/16/59/image_10122025_16_59_25_10661.jpg', 2), ('/home/nano/Desktop/images/10122025/16/59/image_10122025_16_59_14_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/16/58/image_10122025_16_59_05_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/16/58/image_10122025_16_58_54_9604.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 17:00:32.641599 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/17/00/image_10122025_17_00_45_10607.jpg', 2), ('/home/nano/Desktop/images/10122025/17/00/image_10122025_17_00_34_9601.jpg', 2), ('/home/nano/Desktop/images/10122025/17/00/image_10122025_17_00_25_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/17/00/image_10122025_17_00_14_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/16/59/image_10122025_17_00_05_9624.jpg', 2), ('/home/nano/Desktop/images/10122025/16/59/image_10122025_16_59_55_10606.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 17:01:03.484339 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/17/00/image_10122025_17_00_45_10607.jpg', 2), ('/home/nano/Desktop/images/10122025/17/00/image_10122025_17_00_34_9601.jpg', 2), ('/home/nano/Desktop/images/10122025/17/00/image_10122025_17_00_25_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/17/00/image_10122025_17_00_14_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/16/59/image_10122025_17_00_05_9624.jpg', 2), ('/home/nano/Desktop/images/10122025/16/59/image_10122025_16_59_55_10606.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 17:01:32.713573 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/17/01/image_10122025_17_01_45_10623.jpg', 2), ('/home/nano/Desktop/images/10122025/17/01/image_10122025_17_01_34_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/17/01/image_10122025_17_01_25_9630.jpg', 2), ('/home/nano/Desktop/images/10122025/17/01/image_10122025_17_01_15_10710.jpg', 2), ('/home/nano/Desktop/images/10122025/17/00/image_10122025_17_01_04_9660.jpg', 2), ('/home/nano/Desktop/images/10122025/17/00/image_10122025_17_00_55_9604.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 17:02:02.376473 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/17/01/image_10122025_17_01_45_10623.jpg', 2), ('/home/nano/Desktop/images/10122025/17/01/image_10122025_17_01_34_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/17/01/image_10122025_17_01_25_9630.jpg', 2), ('/home/nano/Desktop/images/10122025/17/01/image_10122025_17_01_15_10710.jpg', 2), ('/home/nano/Desktop/images/10122025/17/00/image_10122025_17_01_04_9660.jpg', 2), ('/home/nano/Desktop/images/10122025/17/00/image_10122025_17_00_55_9604.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 17:02:31.831698 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/17/02/image_10122025_17_02_45_9636.jpg', 2), ('/home/nano/Desktop/images/10122025/17/02/image_10122025_17_02_35_10628.jpg', 2), ('/home/nano/Desktop/images/10122025/17/02/image_10122025_17_02_24_9614.jpg', 2), ('/home/nano/Desktop/images/10122025/17/02/image_10122025_17_02_15_9664.jpg', 2), ('/home/nano/Desktop/images/10122025/17/01/image_10122025_17_02_05_10650.jpg', 2), ('/home/nano/Desktop/images/10122025/17/01/image_10122025_17_01_54_9607.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 17:03:02.495465 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/17/02/image_10122025_17_02_45_9636.jpg', 2), ('/home/nano/Desktop/images/10122025/17/02/image_10122025_17_02_35_10628.jpg', 2), ('/home/nano/Desktop/images/10122025/17/02/image_10122025_17_02_24_9614.jpg', 2), ('/home/nano/Desktop/images/10122025/17/02/image_10122025_17_02_15_9664.jpg', 2), ('/home/nano/Desktop/images/10122025/17/01/image_10122025_17_02_05_10650.jpg', 2), ('/home/nano/Desktop/images/10122025/17/01/image_10122025_17_01_54_9607.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 17:03:31.905111 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/17/03/image_10122025_17_03_44_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/17/03/image_10122025_17_03_35_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/17/03/image_10122025_17_03_24_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/17/03/image_10122025_17_03_14_9612.jpg', 2), ('/home/nano/Desktop/images/10122025/17/02/image_10122025_17_03_05_10677.jpg', 2), ('/home/nano/Desktop/images/10122025/17/02/image_10122025_17_02_54_9614.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 17:04:02.842638 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/17/03/image_10122025_17_03_44_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/17/03/image_10122025_17_03_35_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/17/03/image_10122025_17_03_24_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/17/03/image_10122025_17_03_14_9612.jpg', 2), ('/home/nano/Desktop/images/10122025/17/02/image_10122025_17_03_05_10677.jpg', 2), ('/home/nano/Desktop/images/10122025/17/02/image_10122025_17_02_54_9614.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 17:04:32.021429 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/17/04/image_10122025_17_04_44_9625.jpg', 2), ('/home/nano/Desktop/images/10122025/17/04/image_10122025_17_04_35_9656.jpg', 2), ('/home/nano/Desktop/images/10122025/17/04/image_10122025_17_04_25_10631.jpg', 2), ('/home/nano/Desktop/images/10122025/17/04/image_10122025_17_04_14_9648.jpg', 2), ('/home/nano/Desktop/images/10122025/17/03/image_10122025_17_04_05_9613.jpg', 2), ('/home/nano/Desktop/images/10122025/17/03/image_10122025_17_03_55_10641.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 17:05:02.780702 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/17/04/image_10122025_17_04_44_9625.jpg', 2), ('/home/nano/Desktop/images/10122025/17/04/image_10122025_17_04_35_9656.jpg', 2), ('/home/nano/Desktop/images/10122025/17/04/image_10122025_17_04_25_10631.jpg', 2), ('/home/nano/Desktop/images/10122025/17/04/image_10122025_17_04_14_9648.jpg', 2), ('/home/nano/Desktop/images/10122025/17/03/image_10122025_17_04_05_9613.jpg', 2), ('/home/nano/Desktop/images/10122025/17/03/image_10122025_17_03_55_10641.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 17:05:32.116199 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/17/05/image_10122025_17_05_45_10625.jpg', 2), ('/home/nano/Desktop/images/10122025/17/05/image_10122025_17_05_34_9633.jpg', 2), ('/home/nano/Desktop/images/10122025/17/05/image_10122025_17_05_25_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/17/05/image_10122025_17_05_15_10634.jpg', 2), ('/home/nano/Desktop/images/10122025/17/04/image_10122025_17_05_04_9614.jpg', 2), ('/home/nano/Desktop/images/10122025/17/04/image_10122025_17_04_55_10621.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 17:06:02.720323 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/17/05/image_10122025_17_05_45_10625.jpg', 2), ('/home/nano/Desktop/images/10122025/17/05/image_10122025_17_05_34_9633.jpg', 2), ('/home/nano/Desktop/images/10122025/17/05/image_10122025_17_05_25_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/17/05/image_10122025_17_05_15_10634.jpg', 2), ('/home/nano/Desktop/images/10122025/17/04/image_10122025_17_05_04_9614.jpg', 2), ('/home/nano/Desktop/images/10122025/17/04/image_10122025_17_04_55_10621.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 17:06:32.235439 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/17/06/image_10122025_17_06_45_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/17/06/image_10122025_17_06_35_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/17/06/image_10122025_17_06_24_9613.jpg', 2), ('/home/nano/Desktop/images/10122025/17/06/image_10122025_17_06_15_10661.jpg', 2), ('/home/nano/Desktop/images/10122025/17/05/image_10122025_17_06_04_9614.jpg', 2), ('/home/nano/Desktop/images/10122025/17/05/image_10122025_17_05_54_9611.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 17:07:03.032900 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/17/06/image_10122025_17_06_45_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/17/06/image_10122025_17_06_35_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/17/06/image_10122025_17_06_24_9613.jpg', 2), ('/home/nano/Desktop/images/10122025/17/06/image_10122025_17_06_15_10661.jpg', 2), ('/home/nano/Desktop/images/10122025/17/05/image_10122025_17_06_04_9614.jpg', 2), ('/home/nano/Desktop/images/10122025/17/05/image_10122025_17_05_54_9611.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 17:07:32.335462 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/17/07/image_10122025_17_07_45_9657.jpg', 2), ('/home/nano/Desktop/images/10122025/17/07/image_10122025_17_07_35_10734.jpg', 2), ('/home/nano/Desktop/images/10122025/17/07/image_10122025_17_07_24_9706.jpg', 2), ('/home/nano/Desktop/images/10122025/17/07/image_10122025_17_07_15_9711.jpg', 2), ('/home/nano/Desktop/images/10122025/17/06/image_10122025_17_07_05_10638.jpg', 2), ('/home/nano/Desktop/images/10122025/17/06/image_10122025_17_06_54_9606.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 17:08:02.969774 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/17/08/image_10122025_17_08_34_9748.jpg', 2), ('/home/nano/Desktop/images/10122025/17/07/image_10122025_17_07_45_9657.jpg', 2), ('/home/nano/Desktop/images/10122025/17/07/image_10122025_17_07_35_10734.jpg', 2), ('/home/nano/Desktop/images/10122025/17/07/image_10122025_17_07_24_9706.jpg', 2), ('/home/nano/Desktop/images/10122025/17/07/image_10122025_17_07_15_9711.jpg', 2), ('/home/nano/Desktop/images/10122025/17/06/image_10122025_17_07_05_10638.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 17:08:32.441875 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/17/08/image_10122025_17_08_45_10759.jpg', 2), ('/home/nano/Desktop/images/10122025/17/08/image_10122025_17_08_34_9748.jpg', 2), ('/home/nano/Desktop/images/10122025/17/08/image_10122025_17_08_25_9747.jpg', 2), ('/home/nano/Desktop/images/10122025/17/08/image_10122025_17_08_15_9784.jpg', 2), ('/home/nano/Desktop/images/10122025/17/07/image_10122025_17_08_05_10676.jpg', 2), ('/home/nano/Desktop/images/10122025/17/07/image_10122025_17_07_54_9620.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 17:09:03.488422 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/17/08/image_10122025_17_08_45_10759.jpg', 2), ('/home/nano/Desktop/images/10122025/17/08/image_10122025_17_08_34_9748.jpg', 2), ('/home/nano/Desktop/images/10122025/17/08/image_10122025_17_08_25_9747.jpg', 2), ('/home/nano/Desktop/images/10122025/17/08/image_10122025_17_08_15_9784.jpg', 2), ('/home/nano/Desktop/images/10122025/17/07/image_10122025_17_08_05_10676.jpg', 2), ('/home/nano/Desktop/images/10122025/17/07/image_10122025_17_07_54_9620.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 17:09:32.509499 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/17/09/image_10122025_17_09_45_10638.jpg', 2), ('/home/nano/Desktop/images/10122025/17/09/image_10122025_17_09_34_9653.jpg', 2), ('/home/nano/Desktop/images/10122025/17/09/image_10122025_17_09_25_9644.jpg', 2), ('/home/nano/Desktop/images/10122025/17/09/image_10122025_17_09_15_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/17/08/image_10122025_17_09_04_9667.jpg', 2), ('/home/nano/Desktop/images/10122025/17/08/image_10122025_17_08_55_9666.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 17:10:03.221667 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/17/09/image_10122025_17_09_45_10638.jpg', 2), ('/home/nano/Desktop/images/10122025/17/09/image_10122025_17_09_34_9653.jpg', 2), ('/home/nano/Desktop/images/10122025/17/09/image_10122025_17_09_25_9644.jpg', 2), ('/home/nano/Desktop/images/10122025/17/09/image_10122025_17_09_15_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/17/08/image_10122025_17_09_04_9667.jpg', 2), ('/home/nano/Desktop/images/10122025/17/08/image_10122025_17_08_55_9666.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 17:10:32.675938 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/17/10/image_10122025_17_10_45_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/17/10/image_10122025_17_10_35_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/17/10/image_10122025_17_10_24_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/17/10/image_10122025_17_10_15_10623.jpg', 2), ('/home/nano/Desktop/images/10122025/17/09/image_10122025_17_10_04_9601.jpg', 2), ('/home/nano/Desktop/images/10122025/17/09/image_10122025_17_09_55_9600.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 17:11:03.522925 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/17/10/image_10122025_17_10_45_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/17/10/image_10122025_17_10_35_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/17/10/image_10122025_17_10_24_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/17/10/image_10122025_17_10_15_10623.jpg', 2), ('/home/nano/Desktop/images/10122025/17/09/image_10122025_17_10_04_9601.jpg', 2), ('/home/nano/Desktop/images/10122025/17/09/image_10122025_17_09_55_9600.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 17:11:32.716649 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/17/11/image_10122025_17_11_44_9600.jpg', 2), ('/home/nano/Desktop/images/10122025/17/11/image_10122025_17_11_35_9616.jpg', 2), ('/home/nano/Desktop/images/10122025/17/11/image_10122025_17_11_25_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/17/11/image_10122025_17_11_14_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/17/10/image_10122025_17_11_05_10632.jpg', 2), ('/home/nano/Desktop/images/10122025/17/10/image_10122025_17_10_54_9600.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 17:12:02.344382 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/17/11/image_10122025_17_11_44_9600.jpg', 2), ('/home/nano/Desktop/images/10122025/17/11/image_10122025_17_11_35_9616.jpg', 2), ('/home/nano/Desktop/images/10122025/17/11/image_10122025_17_11_25_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/17/11/image_10122025_17_11_14_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/17/10/image_10122025_17_11_05_10632.jpg', 2), ('/home/nano/Desktop/images/10122025/17/10/image_10122025_17_10_54_9600.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 17:12:31.849357 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/17/12/image_10122025_17_12_45_10606.jpg', 2), ('/home/nano/Desktop/images/10122025/17/12/image_10122025_17_12_34_9595.jpg', 2), ('/home/nano/Desktop/images/10122025/17/12/image_10122025_17_12_25_10603.jpg', 2), ('/home/nano/Desktop/images/10122025/17/12/image_10122025_17_12_14_9623.jpg', 2), ('/home/nano/Desktop/images/10122025/17/11/image_10122025_17_12_04_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/17/11/image_10122025_17_11_55_10607.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 17:13:02.571482 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/17/12/image_10122025_17_12_45_10606.jpg', 2), ('/home/nano/Desktop/images/10122025/17/12/image_10122025_17_12_34_9595.jpg', 2), ('/home/nano/Desktop/images/10122025/17/12/image_10122025_17_12_25_10603.jpg', 2), ('/home/nano/Desktop/images/10122025/17/12/image_10122025_17_12_14_9623.jpg', 2), ('/home/nano/Desktop/images/10122025/17/11/image_10122025_17_12_04_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/17/11/image_10122025_17_11_55_10607.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 17:13:31.944817 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/17/13/image_10122025_17_13_45_9640.jpg', 2), ('/home/nano/Desktop/images/10122025/17/13/image_10122025_17_13_35_10624.jpg', 2), ('/home/nano/Desktop/images/10122025/17/13/image_10122025_17_13_24_9600.jpg', 2), ('/home/nano/Desktop/images/10122025/17/13/image_10122025_17_13_15_10624.jpg', 2), ('/home/nano/Desktop/images/10122025/17/12/image_10122025_17_13_04_9602.jpg', 2), ('/home/nano/Desktop/images/10122025/17/12/image_10122025_17_12_55_9603.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 17:14:02.964668 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/17/13/image_10122025_17_13_45_9640.jpg', 2), ('/home/nano/Desktop/images/10122025/17/13/image_10122025_17_13_35_10624.jpg', 2), ('/home/nano/Desktop/images/10122025/17/13/image_10122025_17_13_24_9600.jpg', 2), ('/home/nano/Desktop/images/10122025/17/13/image_10122025_17_13_15_10624.jpg', 2), ('/home/nano/Desktop/images/10122025/17/12/image_10122025_17_13_04_9602.jpg', 2), ('/home/nano/Desktop/images/10122025/17/12/image_10122025_17_12_55_9603.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 17:14:32.069772 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/17/14/image_10122025_17_14_45_9627.jpg', 2), ('/home/nano/Desktop/images/10122025/17/14/image_10122025_17_14_35_10656.jpg', 2), ('/home/nano/Desktop/images/10122025/17/14/image_10122025_17_14_24_9660.jpg', 2), ('/home/nano/Desktop/images/10122025/17/14/image_10122025_17_14_15_9666.jpg', 2), ('/home/nano/Desktop/images/10122025/17/13/image_10122025_17_14_05_10673.jpg', 2), ('/home/nano/Desktop/images/10122025/17/13/image_10122025_17_13_54_9632.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 17:15:02.840359 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/17/14/image_10122025_17_14_45_9627.jpg', 2), ('/home/nano/Desktop/images/10122025/17/14/image_10122025_17_14_35_10656.jpg', 2), ('/home/nano/Desktop/images/10122025/17/14/image_10122025_17_14_24_9660.jpg', 2), ('/home/nano/Desktop/images/10122025/17/14/image_10122025_17_14_15_9666.jpg', 2), ('/home/nano/Desktop/images/10122025/17/13/image_10122025_17_14_05_10673.jpg', 2), ('/home/nano/Desktop/images/10122025/17/13/image_10122025_17_13_54_9632.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 17:15:32.149614 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/17/15/image_10122025_17_15_45_9750.jpg', 2), ('/home/nano/Desktop/images/10122025/17/15/image_10122025_17_15_35_10639.jpg', 2), ('/home/nano/Desktop/images/10122025/17/15/image_10122025_17_15_24_9638.jpg', 2), ('/home/nano/Desktop/images/10122025/17/15/image_10122025_17_15_15_9661.jpg', 2), ('/home/nano/Desktop/images/10122025/17/14/image_10122025_17_15_05_10685.jpg', 2), ('/home/nano/Desktop/images/10122025/17/14/image_10122025_17_14_54_9635.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 17:16:02.879886 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/17/15/image_10122025_17_15_45_9750.jpg', 2), ('/home/nano/Desktop/images/10122025/17/15/image_10122025_17_15_35_10639.jpg', 2), ('/home/nano/Desktop/images/10122025/17/15/image_10122025_17_15_24_9638.jpg', 2), ('/home/nano/Desktop/images/10122025/17/15/image_10122025_17_15_15_9661.jpg', 2), ('/home/nano/Desktop/images/10122025/17/14/image_10122025_17_15_05_10685.jpg', 2), ('/home/nano/Desktop/images/10122025/17/14/image_10122025_17_14_54_9635.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 17:16:32.316965 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/17/16/image_10122025_17_16_45_9714.jpg', 2), ('/home/nano/Desktop/images/10122025/17/16/image_10122025_17_16_24_9639.jpg', 2), ('/home/nano/Desktop/images/10122025/17/16/image_10122025_17_16_15_9665.jpg', 2), ('/home/nano/Desktop/images/10122025/17/15/image_10122025_17_16_05_10668.jpg', 2), ('/home/nano/Desktop/images/10122025/17/15/image_10122025_17_15_54_9644.jpg', 2), ('/home/nano/Desktop/images/10122025/17/15/image_10122025_17_15_45_9750.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 17:17:03.190236 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/17/17/image_10122025_17_17_45_9660.jpg', 2), ('/home/nano/Desktop/images/10122025/17/16/image_10122025_17_16_45_9714.jpg', 2), ('/home/nano/Desktop/images/10122025/17/16/image_10122025_17_16_24_9639.jpg', 2), ('/home/nano/Desktop/images/10122025/17/16/image_10122025_17_16_15_9665.jpg', 2), ('/home/nano/Desktop/images/10122025/17/15/image_10122025_17_16_05_10668.jpg', 2), ('/home/nano/Desktop/images/10122025/17/15/image_10122025_17_15_54_9644.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 17:17:32.401961 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/17/17/image_10122025_17_17_45_9660.jpg', 2), ('/home/nano/Desktop/images/10122025/17/17/image_10122025_17_17_35_10713.jpg', 2), ('/home/nano/Desktop/images/10122025/17/17/image_10122025_17_17_24_9651.jpg', 2), ('/home/nano/Desktop/images/10122025/17/17/image_10122025_17_17_15_9674.jpg', 2), ('/home/nano/Desktop/images/10122025/17/16/image_10122025_17_17_05_10675.jpg', 2), ('/home/nano/Desktop/images/10122025/17/16/image_10122025_17_16_54_9718.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 17:18:02.868500 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/17/17/image_10122025_17_17_45_9660.jpg', 2), ('/home/nano/Desktop/images/10122025/17/17/image_10122025_17_17_35_10713.jpg', 2), ('/home/nano/Desktop/images/10122025/17/17/image_10122025_17_17_24_9651.jpg', 2), ('/home/nano/Desktop/images/10122025/17/17/image_10122025_17_17_15_9674.jpg', 2), ('/home/nano/Desktop/images/10122025/17/16/image_10122025_17_17_05_10675.jpg', 2), ('/home/nano/Desktop/images/10122025/17/16/image_10122025_17_16_54_9718.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 17:18:32.557459 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/17/18/image_10122025_17_18_45_9712.jpg', 2), ('/home/nano/Desktop/images/10122025/17/18/image_10122025_17_18_35_10653.jpg', 2), ('/home/nano/Desktop/images/10122025/17/18/image_10122025_17_18_24_9657.jpg', 2), ('/home/nano/Desktop/images/10122025/17/18/image_10122025_17_18_15_9687.jpg', 2), ('/home/nano/Desktop/images/10122025/17/17/image_10122025_17_18_05_10611.jpg', 2), ('/home/nano/Desktop/images/10122025/17/17/image_10122025_17_17_54_9651.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 17:19:03.823440 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/17/18/image_10122025_17_18_45_9712.jpg', 2), ('/home/nano/Desktop/images/10122025/17/18/image_10122025_17_18_35_10653.jpg', 2), ('/home/nano/Desktop/images/10122025/17/18/image_10122025_17_18_24_9657.jpg', 2), ('/home/nano/Desktop/images/10122025/17/18/image_10122025_17_18_15_9687.jpg', 2), ('/home/nano/Desktop/images/10122025/17/17/image_10122025_17_18_05_10611.jpg', 2), ('/home/nano/Desktop/images/10122025/17/17/image_10122025_17_17_54_9651.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 17:19:32.657694 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/17/19/image_10122025_17_19_45_9669.jpg', 2), ('/home/nano/Desktop/images/10122025/17/19/image_10122025_17_19_35_10658.jpg', 2), ('/home/nano/Desktop/images/10122025/17/19/image_10122025_17_19_24_9725.jpg', 2), ('/home/nano/Desktop/images/10122025/17/19/image_10122025_17_19_15_9727.jpg', 2), ('/home/nano/Desktop/images/10122025/17/18/image_10122025_17_19_05_10652.jpg', 2), ('/home/nano/Desktop/images/10122025/17/18/image_10122025_17_18_54_9657.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 17:20:02.298224 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/17/19/image_10122025_17_19_45_9669.jpg', 2), ('/home/nano/Desktop/images/10122025/17/19/image_10122025_17_19_35_10658.jpg', 2), ('/home/nano/Desktop/images/10122025/17/19/image_10122025_17_19_24_9725.jpg', 2), ('/home/nano/Desktop/images/10122025/17/19/image_10122025_17_19_15_9727.jpg', 2), ('/home/nano/Desktop/images/10122025/17/18/image_10122025_17_19_05_10652.jpg', 2), ('/home/nano/Desktop/images/10122025/17/18/image_10122025_17_18_54_9657.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 17:20:31.777683 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/17/19/image_10122025_17_20_04_9666.jpg', 2), ('/home/nano/Desktop/images/10122025/17/19/image_10122025_17_19_54_9658.jpg', 2), ('/home/nano/Desktop/images/10122025/17/19/image_10122025_17_19_45_9669.jpg', 2), ('/home/nano/Desktop/images/10122025/17/19/image_10122025_17_19_35_10658.jpg', 2), ('/home/nano/Desktop/images/10122025/17/19/image_10122025_17_19_24_9725.jpg', 2), ('/home/nano/Desktop/images/10122025/17/19/image_10122025_17_19_15_9727.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 17:21:02.590878 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/17/19/image_10122025_17_20_04_9666.jpg', 2), ('/home/nano/Desktop/images/10122025/17/19/image_10122025_17_19_54_9658.jpg', 2), ('/home/nano/Desktop/images/10122025/17/19/image_10122025_17_19_45_9669.jpg', 2), ('/home/nano/Desktop/images/10122025/17/19/image_10122025_17_19_35_10658.jpg', 2), ('/home/nano/Desktop/images/10122025/17/19/image_10122025_17_19_24_9725.jpg', 2), ('/home/nano/Desktop/images/10122025/17/19/image_10122025_17_19_15_9727.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 17:21:31.935485 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/17/21/image_10122025_17_21_45_10663.jpg', 2), ('/home/nano/Desktop/images/10122025/17/21/image_10122025_17_21_34_9674.jpg', 2), ('/home/nano/Desktop/images/10122025/17/20/image_10122025_17_21_04_9668.jpg', 2), ('/home/nano/Desktop/images/10122025/17/20/image_10122025_17_20_15_10769.jpg', 2), ('/home/nano/Desktop/images/10122025/17/19/image_10122025_17_20_04_9666.jpg', 2), ('/home/nano/Desktop/images/10122025/17/19/image_10122025_17_19_54_9658.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 17:22:02.453548 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/17/21/image_10122025_17_21_45_10663.jpg', 2), ('/home/nano/Desktop/images/10122025/17/21/image_10122025_17_21_34_9674.jpg', 2), ('/home/nano/Desktop/images/10122025/17/20/image_10122025_17_21_04_9668.jpg', 2), ('/home/nano/Desktop/images/10122025/17/20/image_10122025_17_20_15_10769.jpg', 2), ('/home/nano/Desktop/images/10122025/17/19/image_10122025_17_20_04_9666.jpg', 2), ('/home/nano/Desktop/images/10122025/17/19/image_10122025_17_19_54_9658.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 17:22:31.976027 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/17/22/image_10122025_17_22_44_9765.jpg', 2), ('/home/nano/Desktop/images/10122025/17/21/image_10122025_17_22_04_9672.jpg', 2), ('/home/nano/Desktop/images/10122025/17/21/image_10122025_17_21_54_9655.jpg', 2), ('/home/nano/Desktop/images/10122025/17/21/image_10122025_17_21_45_10663.jpg', 2), ('/home/nano/Desktop/images/10122025/17/21/image_10122025_17_21_34_9674.jpg', 2), ('/home/nano/Desktop/images/10122025/17/20/image_10122025_17_21_04_9668.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 17:23:02.726336 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/17/22/image_10122025_17_22_44_9765.jpg', 2), ('/home/nano/Desktop/images/10122025/17/21/image_10122025_17_22_04_9672.jpg', 2), ('/home/nano/Desktop/images/10122025/17/21/image_10122025_17_21_54_9655.jpg', 2), ('/home/nano/Desktop/images/10122025/17/21/image_10122025_17_21_45_10663.jpg', 2), ('/home/nano/Desktop/images/10122025/17/21/image_10122025_17_21_34_9674.jpg', 2), ('/home/nano/Desktop/images/10122025/17/20/image_10122025_17_21_04_9668.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 17:23:32.075150 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/17/23/image_10122025_17_23_44_9731.jpg', 2), ('/home/nano/Desktop/images/10122025/17/23/image_10122025_17_23_34_9648.jpg', 2), ('/home/nano/Desktop/images/10122025/17/23/image_10122025_17_23_25_10654.jpg', 2), ('/home/nano/Desktop/images/10122025/17/23/image_10122025_17_23_14_9659.jpg', 2), ('/home/nano/Desktop/images/10122025/17/22/image_10122025_17_23_04_9638.jpg', 2), ('/home/nano/Desktop/images/10122025/17/22/image_10122025_17_22_55_10656.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 17:24:03.057659 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/17/23/image_10122025_17_23_44_9731.jpg', 2), ('/home/nano/Desktop/images/10122025/17/23/image_10122025_17_23_34_9648.jpg', 2), ('/home/nano/Desktop/images/10122025/17/23/image_10122025_17_23_25_10654.jpg', 2), ('/home/nano/Desktop/images/10122025/17/23/image_10122025_17_23_14_9659.jpg', 2), ('/home/nano/Desktop/images/10122025/17/22/image_10122025_17_23_04_9638.jpg', 2), ('/home/nano/Desktop/images/10122025/17/22/image_10122025_17_22_55_10656.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 17:24:32.171981 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/17/24/image_10122025_17_24_45_10609.jpg', 2), ('/home/nano/Desktop/images/10122025/17/24/image_10122025_17_24_34_9598.jpg', 2), ('/home/nano/Desktop/images/10122025/17/24/image_10122025_17_24_25_10611.jpg', 2), ('/home/nano/Desktop/images/10122025/17/24/image_10122025_17_24_14_9655.jpg', 2), ('/home/nano/Desktop/images/10122025/17/23/image_10122025_17_24_04_9638.jpg', 2), ('/home/nano/Desktop/images/10122025/17/23/image_10122025_17_23_55_10658.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 17:25:02.909206 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/17/24/image_10122025_17_24_45_10609.jpg', 2), ('/home/nano/Desktop/images/10122025/17/24/image_10122025_17_24_34_9598.jpg', 2), ('/home/nano/Desktop/images/10122025/17/24/image_10122025_17_24_25_10611.jpg', 2), ('/home/nano/Desktop/images/10122025/17/24/image_10122025_17_24_14_9655.jpg', 2), ('/home/nano/Desktop/images/10122025/17/23/image_10122025_17_24_04_9638.jpg', 2), ('/home/nano/Desktop/images/10122025/17/23/image_10122025_17_23_55_10658.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 17:25:32.294897 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/17/25/image_10122025_17_25_45_9602.jpg', 2), ('/home/nano/Desktop/images/10122025/17/25/image_10122025_17_25_35_10625.jpg', 2), ('/home/nano/Desktop/images/10122025/17/25/image_10122025_17_25_24_9598.jpg', 2), ('/home/nano/Desktop/images/10122025/17/25/image_10122025_17_25_15_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/17/24/image_10122025_17_25_04_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/17/24/image_10122025_17_24_55_9589.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 17:26:02.872806 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/17/25/image_10122025_17_25_45_9602.jpg', 2), ('/home/nano/Desktop/images/10122025/17/25/image_10122025_17_25_35_10625.jpg', 2), ('/home/nano/Desktop/images/10122025/17/25/image_10122025_17_25_24_9598.jpg', 2), ('/home/nano/Desktop/images/10122025/17/25/image_10122025_17_25_15_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/17/24/image_10122025_17_25_04_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/17/24/image_10122025_17_24_55_9589.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 17:26:32.468895 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/17/26/image_10122025_17_26_55_10606.jpg', 2), ('/home/nano/Desktop/images/10122025/17/26/image_10122025_17_26_35_9625.jpg', 2), ('/home/nano/Desktop/images/10122025/17/26/image_10122025_17_26_25_10624.jpg', 2), ('/home/nano/Desktop/images/10122025/17/26/image_10122025_17_26_14_9627.jpg', 2), ('/home/nano/Desktop/images/10122025/17/25/image_10122025_17_26_05_10619.jpg', 2), ('/home/nano/Desktop/images/10122025/17/25/image_10122025_17_25_54_9592.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 17:27:03.393550 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/17/26/image_10122025_17_26_55_10606.jpg', 2), ('/home/nano/Desktop/images/10122025/17/26/image_10122025_17_26_35_9625.jpg', 2), ('/home/nano/Desktop/images/10122025/17/26/image_10122025_17_26_25_10624.jpg', 2), ('/home/nano/Desktop/images/10122025/17/26/image_10122025_17_26_14_9627.jpg', 2), ('/home/nano/Desktop/images/10122025/17/25/image_10122025_17_26_05_10619.jpg', 2), ('/home/nano/Desktop/images/10122025/17/25/image_10122025_17_25_54_9592.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 17:27:32.569013 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/17/27/image_10122025_17_27_45_10607.jpg', 2), ('/home/nano/Desktop/images/10122025/17/27/image_10122025_17_27_34_9595.jpg', 2), ('/home/nano/Desktop/images/10122025/17/27/image_10122025_17_27_25_10607.jpg', 2), ('/home/nano/Desktop/images/10122025/17/27/image_10122025_17_27_14_9614.jpg', 2), ('/home/nano/Desktop/images/10122025/17/26/image_10122025_17_27_05_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/17/26/image_10122025_17_26_55_10606.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 17:28:03.225310 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/17/27/image_10122025_17_27_45_10607.jpg', 2), ('/home/nano/Desktop/images/10122025/17/27/image_10122025_17_27_34_9595.jpg', 2), ('/home/nano/Desktop/images/10122025/17/27/image_10122025_17_27_25_10607.jpg', 2), ('/home/nano/Desktop/images/10122025/17/27/image_10122025_17_27_14_9614.jpg', 2), ('/home/nano/Desktop/images/10122025/17/26/image_10122025_17_27_05_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/17/26/image_10122025_17_26_55_10606.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 17:28:32.684281 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/17/28/image_10122025_17_28_44_9725.jpg', 2), ('/home/nano/Desktop/images/10122025/17/28/image_10122025_17_28_34_9714.jpg', 2), ('/home/nano/Desktop/images/10122025/17/28/image_10122025_17_28_25_9707.jpg', 2), ('/home/nano/Desktop/images/10122025/17/28/image_10122025_17_28_15_10718.jpg', 2), ('/home/nano/Desktop/images/10122025/17/27/image_10122025_17_28_04_9709.jpg', 2), ('/home/nano/Desktop/images/10122025/17/27/image_10122025_17_27_55_9623.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 17:29:02.692050 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/17/28/image_10122025_17_28_44_9725.jpg', 2), ('/home/nano/Desktop/images/10122025/17/28/image_10122025_17_28_34_9714.jpg', 2), ('/home/nano/Desktop/images/10122025/17/28/image_10122025_17_28_25_9707.jpg', 2), ('/home/nano/Desktop/images/10122025/17/28/image_10122025_17_28_15_10718.jpg', 2), ('/home/nano/Desktop/images/10122025/17/27/image_10122025_17_28_04_9709.jpg', 2), ('/home/nano/Desktop/images/10122025/17/27/image_10122025_17_27_55_9623.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 17:29:31.813785 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/17/29/image_10122025_17_29_44_9679.jpg', 2), ('/home/nano/Desktop/images/10122025/17/29/image_10122025_17_29_35_9697.jpg', 2), ('/home/nano/Desktop/images/10122025/17/29/image_10122025_17_29_25_10707.jpg', 2), ('/home/nano/Desktop/images/10122025/17/29/image_10122025_17_29_14_9726.jpg', 2), ('/home/nano/Desktop/images/10122025/17/28/image_10122025_17_29_05_9691.jpg', 2), ('/home/nano/Desktop/images/10122025/17/28/image_10122025_17_28_55_10695.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 17:30:02.514633 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/17/29/image_10122025_17_29_44_9679.jpg', 2), ('/home/nano/Desktop/images/10122025/17/29/image_10122025_17_29_35_9697.jpg', 2), ('/home/nano/Desktop/images/10122025/17/29/image_10122025_17_29_25_10707.jpg', 2), ('/home/nano/Desktop/images/10122025/17/29/image_10122025_17_29_14_9726.jpg', 2), ('/home/nano/Desktop/images/10122025/17/28/image_10122025_17_29_05_9691.jpg', 2), ('/home/nano/Desktop/images/10122025/17/28/image_10122025_17_28_55_10695.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 17:30:31.903244 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/17/30/image_10122025_17_30_45_9670.jpg', 2), ('/home/nano/Desktop/images/10122025/17/30/image_10122025_17_30_35_10711.jpg', 2), ('/home/nano/Desktop/images/10122025/17/30/image_10122025_17_30_24_9670.jpg', 2), ('/home/nano/Desktop/images/10122025/17/30/image_10122025_17_30_14_9718.jpg', 2), ('/home/nano/Desktop/images/10122025/17/29/image_10122025_17_30_05_9723.jpg', 2), ('/home/nano/Desktop/images/10122025/17/29/image_10122025_17_29_55_10705.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 17:31:02.687700 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/17/30/image_10122025_17_30_45_9670.jpg', 2), ('/home/nano/Desktop/images/10122025/17/30/image_10122025_17_30_35_10711.jpg', 2), ('/home/nano/Desktop/images/10122025/17/30/image_10122025_17_30_24_9670.jpg', 2), ('/home/nano/Desktop/images/10122025/17/30/image_10122025_17_30_14_9718.jpg', 2), ('/home/nano/Desktop/images/10122025/17/29/image_10122025_17_30_05_9723.jpg', 2), ('/home/nano/Desktop/images/10122025/17/29/image_10122025_17_29_55_10705.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 17:31:32.004515 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/17/31/image_10122025_17_31_45_9724.jpg', 2), ('/home/nano/Desktop/images/10122025/17/31/image_10122025_17_31_35_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/17/31/image_10122025_17_31_24_9690.jpg', 2), ('/home/nano/Desktop/images/10122025/17/31/image_10122025_17_31_15_9710.jpg', 2), ('/home/nano/Desktop/images/10122025/17/30/image_10122025_17_31_05_10718.jpg', 2), ('/home/nano/Desktop/images/10122025/17/30/image_10122025_17_30_54_9703.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 17:32:02.614036 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/17/31/image_10122025_17_31_45_9724.jpg', 2), ('/home/nano/Desktop/images/10122025/17/31/image_10122025_17_31_35_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/17/31/image_10122025_17_31_24_9690.jpg', 2), ('/home/nano/Desktop/images/10122025/17/31/image_10122025_17_31_15_9710.jpg', 2), ('/home/nano/Desktop/images/10122025/17/30/image_10122025_17_31_05_10718.jpg', 2), ('/home/nano/Desktop/images/10122025/17/30/image_10122025_17_30_54_9703.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 17:32:32.104697 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/17/32/image_10122025_17_32_45_10701.jpg', 2), ('/home/nano/Desktop/images/10122025/17/32/image_10122025_17_32_34_9730.jpg', 2), ('/home/nano/Desktop/images/10122025/17/32/image_10122025_17_32_25_9708.jpg', 2), ('/home/nano/Desktop/images/10122025/17/32/image_10122025_17_32_15_10735.jpg', 2), ('/home/nano/Desktop/images/10122025/17/31/image_10122025_17_32_04_9714.jpg', 2), ('/home/nano/Desktop/images/10122025/17/31/image_10122025_17_31_54_9772.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 17:33:02.915748 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/17/32/image_10122025_17_32_45_10701.jpg', 2), ('/home/nano/Desktop/images/10122025/17/32/image_10122025_17_32_34_9730.jpg', 2), ('/home/nano/Desktop/images/10122025/17/32/image_10122025_17_32_25_9708.jpg', 2), ('/home/nano/Desktop/images/10122025/17/32/image_10122025_17_32_15_10735.jpg', 2), ('/home/nano/Desktop/images/10122025/17/31/image_10122025_17_32_04_9714.jpg', 2), ('/home/nano/Desktop/images/10122025/17/31/image_10122025_17_31_54_9772.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 17:33:32.221419 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/17/33/image_10122025_17_33_44_9788.jpg', 2), ('/home/nano/Desktop/images/10122025/17/33/image_10122025_17_33_35_9690.jpg', 2), ('/home/nano/Desktop/images/10122025/17/33/image_10122025_17_33_25_10692.jpg', 2), ('/home/nano/Desktop/images/10122025/17/33/image_10122025_17_33_14_9747.jpg', 2), ('/home/nano/Desktop/images/10122025/17/32/image_10122025_17_33_04_9683.jpg', 2), ('/home/nano/Desktop/images/10122025/17/32/image_10122025_17_32_55_9703.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 17:34:03.279246 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/17/33/image_10122025_17_33_44_9788.jpg', 2), ('/home/nano/Desktop/images/10122025/17/33/image_10122025_17_33_35_9690.jpg', 2), ('/home/nano/Desktop/images/10122025/17/33/image_10122025_17_33_25_10692.jpg', 2), ('/home/nano/Desktop/images/10122025/17/33/image_10122025_17_33_14_9747.jpg', 2), ('/home/nano/Desktop/images/10122025/17/32/image_10122025_17_33_04_9683.jpg', 2), ('/home/nano/Desktop/images/10122025/17/32/image_10122025_17_32_55_9703.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 17:34:32.342607 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/17/34/image_10122025_17_34_45_9668.jpg', 2), ('/home/nano/Desktop/images/10122025/17/34/image_10122025_17_34_35_10731.jpg', 2), ('/home/nano/Desktop/images/10122025/17/34/image_10122025_17_34_24_9689.jpg', 2), ('/home/nano/Desktop/images/10122025/17/34/image_10122025_17_34_15_9692.jpg', 2), ('/home/nano/Desktop/images/10122025/17/33/image_10122025_17_34_05_10758.jpg', 2), ('/home/nano/Desktop/images/10122025/17/33/image_10122025_17_33_54_9799.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 17:35:03.038093 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/17/34/image_10122025_17_34_45_9668.jpg', 2), ('/home/nano/Desktop/images/10122025/17/34/image_10122025_17_34_35_10731.jpg', 2), ('/home/nano/Desktop/images/10122025/17/34/image_10122025_17_34_24_9689.jpg', 2), ('/home/nano/Desktop/images/10122025/17/34/image_10122025_17_34_15_9692.jpg', 2), ('/home/nano/Desktop/images/10122025/17/33/image_10122025_17_34_05_10758.jpg', 2), ('/home/nano/Desktop/images/10122025/17/33/image_10122025_17_33_54_9799.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 17:35:32.433994 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/17/35/image_10122025_17_35_45_10696.jpg', 2), ('/home/nano/Desktop/images/10122025/17/35/image_10122025_17_35_34_9709.jpg', 2), ('/home/nano/Desktop/images/10122025/17/35/image_10122025_17_35_25_9668.jpg', 2), ('/home/nano/Desktop/images/10122025/17/35/image_10122025_17_35_15_10733.jpg', 2), ('/home/nano/Desktop/images/10122025/17/34/image_10122025_17_35_04_9692.jpg', 2), ('/home/nano/Desktop/images/10122025/17/34/image_10122025_17_34_54_9702.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 17:36:03.047631 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/17/35/image_10122025_17_35_45_10696.jpg', 2), ('/home/nano/Desktop/images/10122025/17/35/image_10122025_17_35_34_9709.jpg', 2), ('/home/nano/Desktop/images/10122025/17/35/image_10122025_17_35_25_9668.jpg', 2), ('/home/nano/Desktop/images/10122025/17/35/image_10122025_17_35_15_10733.jpg', 2), ('/home/nano/Desktop/images/10122025/17/34/image_10122025_17_35_04_9692.jpg', 2), ('/home/nano/Desktop/images/10122025/17/34/image_10122025_17_34_54_9702.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 17:36:32.551236 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/17/36/image_10122025_17_36_44_9603.jpg', 2), ('/home/nano/Desktop/images/10122025/17/36/image_10122025_17_36_35_10589.jpg', 2), ('/home/nano/Desktop/images/10122025/17/36/image_10122025_17_36_24_9586.jpg', 2), ('/home/nano/Desktop/images/10122025/17/36/image_10122025_17_36_15_10597.jpg', 2), ('/home/nano/Desktop/images/10122025/17/35/image_10122025_17_36_04_9576.jpg', 2), ('/home/nano/Desktop/images/10122025/17/35/image_10122025_17_35_55_9611.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 17:37:03.440794 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/17/36/image_10122025_17_36_44_9603.jpg', 2), ('/home/nano/Desktop/images/10122025/17/36/image_10122025_17_36_35_10589.jpg', 2), ('/home/nano/Desktop/images/10122025/17/36/image_10122025_17_36_24_9586.jpg', 2), ('/home/nano/Desktop/images/10122025/17/36/image_10122025_17_36_15_10597.jpg', 2), ('/home/nano/Desktop/images/10122025/17/35/image_10122025_17_36_04_9576.jpg', 2), ('/home/nano/Desktop/images/10122025/17/35/image_10122025_17_35_55_9611.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 17:37:32.721789 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/17/37/image_10122025_17_37_45_10578.jpg', 2), ('/home/nano/Desktop/images/10122025/17/37/image_10122025_17_37_34_9566.jpg', 2), ('/home/nano/Desktop/images/10122025/17/37/image_10122025_17_37_25_10580.jpg', 2), ('/home/nano/Desktop/images/10122025/17/37/image_10122025_17_37_14_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/17/36/image_10122025_17_37_05_9598.jpg', 2), ('/home/nano/Desktop/images/10122025/17/36/image_10122025_17_36_55_10595.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 17:38:02.334160 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/17/37/image_10122025_17_37_45_10578.jpg', 2), ('/home/nano/Desktop/images/10122025/17/37/image_10122025_17_37_34_9566.jpg', 2), ('/home/nano/Desktop/images/10122025/17/37/image_10122025_17_37_25_10580.jpg', 2), ('/home/nano/Desktop/images/10122025/17/37/image_10122025_17_37_14_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/17/36/image_10122025_17_37_05_9598.jpg', 2), ('/home/nano/Desktop/images/10122025/17/36/image_10122025_17_36_55_10595.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 17:38:31.853458 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/17/38/image_10122025_17_38_44_9561.jpg', 2), ('/home/nano/Desktop/images/10122025/17/38/image_10122025_17_38_35_10564.jpg', 2), ('/home/nano/Desktop/images/10122025/17/38/image_10122025_17_38_24_9556.jpg', 2), ('/home/nano/Desktop/images/10122025/17/38/image_10122025_17_38_15_10583.jpg', 2), ('/home/nano/Desktop/images/10122025/17/37/image_10122025_17_38_04_9575.jpg', 2), ('/home/nano/Desktop/images/10122025/17/37/image_10122025_17_37_55_9557.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 17:39:02.985049 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/17/38/image_10122025_17_38_44_9561.jpg', 2), ('/home/nano/Desktop/images/10122025/17/38/image_10122025_17_38_35_10564.jpg', 2), ('/home/nano/Desktop/images/10122025/17/38/image_10122025_17_38_24_9556.jpg', 2), ('/home/nano/Desktop/images/10122025/17/38/image_10122025_17_38_15_10583.jpg', 2), ('/home/nano/Desktop/images/10122025/17/37/image_10122025_17_38_04_9575.jpg', 2), ('/home/nano/Desktop/images/10122025/17/37/image_10122025_17_37_55_9557.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 17:39:31.931345 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/17/39/image_10122025_17_39_45_10577.jpg', 2), ('/home/nano/Desktop/images/10122025/17/39/image_10122025_17_39_34_9573.jpg', 2), ('/home/nano/Desktop/images/10122025/17/39/image_10122025_17_39_25_10567.jpg', 2), ('/home/nano/Desktop/images/10122025/17/39/image_10122025_17_39_14_9578.jpg', 2), ('/home/nano/Desktop/images/10122025/17/38/image_10122025_17_39_05_9557.jpg', 2), ('/home/nano/Desktop/images/10122025/17/38/image_10122025_17_38_55_10583.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 17:40:02.552757 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/17/39/image_10122025_17_39_45_10577.jpg', 2), ('/home/nano/Desktop/images/10122025/17/39/image_10122025_17_39_34_9573.jpg', 2), ('/home/nano/Desktop/images/10122025/17/39/image_10122025_17_39_25_10567.jpg', 2), ('/home/nano/Desktop/images/10122025/17/39/image_10122025_17_39_14_9578.jpg', 2), ('/home/nano/Desktop/images/10122025/17/38/image_10122025_17_39_05_9557.jpg', 2), ('/home/nano/Desktop/images/10122025/17/38/image_10122025_17_38_55_10583.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 17:40:32.089633 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/17/40/image_10122025_17_40_44_9562.jpg', 2), ('/home/nano/Desktop/images/10122025/17/40/image_10122025_17_40_35_10569.jpg', 2), ('/home/nano/Desktop/images/10122025/17/40/image_10122025_17_40_24_9559.jpg', 2), ('/home/nano/Desktop/images/10122025/17/40/image_10122025_17_40_15_9591.jpg', 2), ('/home/nano/Desktop/images/10122025/17/39/image_10122025_17_40_05_10593.jpg', 2), ('/home/nano/Desktop/images/10122025/17/39/image_10122025_17_39_54_9553.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 17:41:02.812748 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/17/40/image_10122025_17_40_44_9562.jpg', 2), ('/home/nano/Desktop/images/10122025/17/40/image_10122025_17_40_35_10569.jpg', 2), ('/home/nano/Desktop/images/10122025/17/40/image_10122025_17_40_24_9559.jpg', 2), ('/home/nano/Desktop/images/10122025/17/40/image_10122025_17_40_15_9591.jpg', 2), ('/home/nano/Desktop/images/10122025/17/39/image_10122025_17_40_05_10593.jpg', 2), ('/home/nano/Desktop/images/10122025/17/39/image_10122025_17_39_54_9553.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 17:41:32.134998 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/17/41/image_10122025_17_41_45_10603.jpg', 2), ('/home/nano/Desktop/images/10122025/17/41/image_10122025_17_41_34_9561.jpg', 2), ('/home/nano/Desktop/images/10122025/17/41/image_10122025_17_41_25_9561.jpg', 2), ('/home/nano/Desktop/images/10122025/17/41/image_10122025_17_41_15_10588.jpg', 2), ('/home/nano/Desktop/images/10122025/17/40/image_10122025_17_41_04_9572.jpg', 2), ('/home/nano/Desktop/images/10122025/17/40/image_10122025_17_40_55_10586.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 17:42:02.834738 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/17/41/image_10122025_17_41_45_10603.jpg', 2), ('/home/nano/Desktop/images/10122025/17/41/image_10122025_17_41_34_9561.jpg', 2), ('/home/nano/Desktop/images/10122025/17/41/image_10122025_17_41_25_9561.jpg', 2), ('/home/nano/Desktop/images/10122025/17/41/image_10122025_17_41_15_10588.jpg', 2), ('/home/nano/Desktop/images/10122025/17/40/image_10122025_17_41_04_9572.jpg', 2), ('/home/nano/Desktop/images/10122025/17/40/image_10122025_17_40_55_10586.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 17:42:32.245701 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/17/42/image_10122025_17_42_44_9613.jpg', 2), ('/home/nano/Desktop/images/10122025/17/42/image_10122025_17_42_35_9569.jpg', 2), ('/home/nano/Desktop/images/10122025/17/42/image_10122025_17_42_25_10579.jpg', 2), ('/home/nano/Desktop/images/10122025/17/42/image_10122025_17_42_14_9589.jpg', 2), ('/home/nano/Desktop/images/10122025/17/41/image_10122025_17_42_05_10586.jpg', 2), ('/home/nano/Desktop/images/10122025/17/41/image_10122025_17_41_54_9567.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 17:43:03.039890 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/17/42/image_10122025_17_42_44_9613.jpg', 2), ('/home/nano/Desktop/images/10122025/17/42/image_10122025_17_42_35_9569.jpg', 2), ('/home/nano/Desktop/images/10122025/17/42/image_10122025_17_42_25_10579.jpg', 2), ('/home/nano/Desktop/images/10122025/17/42/image_10122025_17_42_14_9589.jpg', 2), ('/home/nano/Desktop/images/10122025/17/41/image_10122025_17_42_05_10586.jpg', 2), ('/home/nano/Desktop/images/10122025/17/41/image_10122025_17_41_54_9567.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 17:43:32.367936 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/17/43/image_10122025_17_43_45_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/17/43/image_10122025_17_43_34_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/17/43/image_10122025_17_43_25_10608.jpg', 2), ('/home/nano/Desktop/images/10122025/17/43/image_10122025_17_43_14_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/17/42/image_10122025_17_43_04_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/17/42/image_10122025_17_42_55_10618.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 17:44:03.210851 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/17/43/image_10122025_17_43_45_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/17/43/image_10122025_17_43_34_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/17/43/image_10122025_17_43_25_10608.jpg', 2), ('/home/nano/Desktop/images/10122025/17/43/image_10122025_17_43_14_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/17/42/image_10122025_17_43_04_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/17/42/image_10122025_17_42_55_10618.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 17:44:32.482169 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/17/44/image_10122025_17_44_45_9612.jpg', 2), ('/home/nano/Desktop/images/10122025/17/44/image_10122025_17_44_35_10610.jpg', 2), ('/home/nano/Desktop/images/10122025/17/44/image_10122025_17_44_24_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/17/44/image_10122025_17_44_15_10631.jpg', 2), ('/home/nano/Desktop/images/10122025/17/43/image_10122025_17_44_04_9601.jpg', 2), ('/home/nano/Desktop/images/10122025/17/43/image_10122025_17_43_55_9598.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 17:45:03.107310 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/17/44/image_10122025_17_44_45_9612.jpg', 2), ('/home/nano/Desktop/images/10122025/17/44/image_10122025_17_44_35_10610.jpg', 2), ('/home/nano/Desktop/images/10122025/17/44/image_10122025_17_44_24_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/17/44/image_10122025_17_44_15_10631.jpg', 2), ('/home/nano/Desktop/images/10122025/17/43/image_10122025_17_44_04_9601.jpg', 2), ('/home/nano/Desktop/images/10122025/17/43/image_10122025_17_43_55_9598.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 17:45:32.600963 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/17/45/image_10122025_17_45_44_9600.jpg', 2), ('/home/nano/Desktop/images/10122025/17/45/image_10122025_17_45_35_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/17/45/image_10122025_17_45_25_10619.jpg', 2), ('/home/nano/Desktop/images/10122025/17/45/image_10122025_17_45_14_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/17/44/image_10122025_17_45_05_10635.jpg', 2), ('/home/nano/Desktop/images/10122025/17/44/image_10122025_17_44_54_9599.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 17:46:03.336332 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/17/45/image_10122025_17_45_44_9600.jpg', 2), ('/home/nano/Desktop/images/10122025/17/45/image_10122025_17_45_35_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/17/45/image_10122025_17_45_25_10619.jpg', 2), ('/home/nano/Desktop/images/10122025/17/45/image_10122025_17_45_14_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/17/44/image_10122025_17_45_05_10635.jpg', 2), ('/home/nano/Desktop/images/10122025/17/44/image_10122025_17_44_54_9599.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 17:46:32.682223 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/17/46/image_10122025_17_46_45_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/17/46/image_10122025_17_46_34_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/17/46/image_10122025_17_46_25_10613.jpg', 2), ('/home/nano/Desktop/images/10122025/17/46/image_10122025_17_46_14_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/17/45/image_10122025_17_46_05_9624.jpg', 2), ('/home/nano/Desktop/images/10122025/17/45/image_10122025_17_45_55_10613.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 17:47:02.486536 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/17/46/image_10122025_17_46_45_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/17/46/image_10122025_17_46_34_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/17/46/image_10122025_17_46_25_10613.jpg', 2), ('/home/nano/Desktop/images/10122025/17/46/image_10122025_17_46_14_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/17/45/image_10122025_17_46_05_9624.jpg', 2), ('/home/nano/Desktop/images/10122025/17/45/image_10122025_17_45_55_10613.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 17:47:31.751427 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/17/47/image_10122025_17_47_45_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/17/47/image_10122025_17_47_35_10605.jpg', 2), ('/home/nano/Desktop/images/10122025/17/47/image_10122025_17_47_24_9614.jpg', 2), ('/home/nano/Desktop/images/10122025/17/47/image_10122025_17_47_15_10652.jpg', 2), ('/home/nano/Desktop/images/10122025/17/46/image_10122025_17_47_04_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/17/46/image_10122025_17_46_55_9625.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 17:48:02.281587 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/17/47/image_10122025_17_47_45_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/17/47/image_10122025_17_47_35_10605.jpg', 2), ('/home/nano/Desktop/images/10122025/17/47/image_10122025_17_47_24_9614.jpg', 2), ('/home/nano/Desktop/images/10122025/17/47/image_10122025_17_47_15_10652.jpg', 2), ('/home/nano/Desktop/images/10122025/17/46/image_10122025_17_47_04_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/17/46/image_10122025_17_46_55_9625.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 17:48:31.847953 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/17/48/image_10122025_17_48_44_9655.jpg', 2), ('/home/nano/Desktop/images/10122025/17/48/image_10122025_17_48_35_10663.jpg', 2), ('/home/nano/Desktop/images/10122025/17/48/image_10122025_17_48_24_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/17/48/image_10122025_17_48_15_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/17/47/image_10122025_17_48_05_10638.jpg', 2), ('/home/nano/Desktop/images/10122025/17/47/image_10122025_17_47_54_9603.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 17:49:03.082208 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/17/48/image_10122025_17_48_44_9655.jpg', 2), ('/home/nano/Desktop/images/10122025/17/48/image_10122025_17_48_35_10663.jpg', 2), ('/home/nano/Desktop/images/10122025/17/48/image_10122025_17_48_24_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/17/48/image_10122025_17_48_15_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/17/47/image_10122025_17_48_05_10638.jpg', 2), ('/home/nano/Desktop/images/10122025/17/47/image_10122025_17_47_54_9603.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 17:49:32.015367 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/17/49/image_10122025_17_49_44_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/17/49/image_10122025_17_49_35_9594.jpg', 2), ('/home/nano/Desktop/images/10122025/17/49/image_10122025_17_49_25_10628.jpg', 2), ('/home/nano/Desktop/images/10122025/17/49/image_10122025_17_49_14_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/17/48/image_10122025_17_49_05_10648.jpg', 2), ('/home/nano/Desktop/images/10122025/17/48/image_10122025_17_48_54_9644.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 17:50:02.582570 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/17/49/image_10122025_17_49_44_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/17/49/image_10122025_17_49_35_9594.jpg', 2), ('/home/nano/Desktop/images/10122025/17/49/image_10122025_17_49_25_10628.jpg', 2), ('/home/nano/Desktop/images/10122025/17/49/image_10122025_17_49_14_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/17/48/image_10122025_17_49_05_10648.jpg', 2), ('/home/nano/Desktop/images/10122025/17/48/image_10122025_17_48_54_9644.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 17:50:32.049888 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/17/50/image_10122025_17_50_45_10608.jpg', 2), ('/home/nano/Desktop/images/10122025/17/50/image_10122025_17_50_34_9615.jpg', 2), ('/home/nano/Desktop/images/10122025/17/50/image_10122025_17_50_25_9600.jpg', 2), ('/home/nano/Desktop/images/10122025/17/50/image_10122025_17_50_15_10623.jpg', 2), ('/home/nano/Desktop/images/10122025/17/49/image_10122025_17_50_04_9597.jpg', 2), ('/home/nano/Desktop/images/10122025/17/49/image_10122025_17_49_55_10606.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 17:51:02.912095 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/17/50/image_10122025_17_50_45_10608.jpg', 2), ('/home/nano/Desktop/images/10122025/17/50/image_10122025_17_50_34_9615.jpg', 2), ('/home/nano/Desktop/images/10122025/17/50/image_10122025_17_50_25_9600.jpg', 2), ('/home/nano/Desktop/images/10122025/17/50/image_10122025_17_50_15_10623.jpg', 2), ('/home/nano/Desktop/images/10122025/17/49/image_10122025_17_50_04_9597.jpg', 2), ('/home/nano/Desktop/images/10122025/17/49/image_10122025_17_49_55_10606.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 17:51:32.161820 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/17/51/image_10122025_17_51_45_9673.jpg', 2), ('/home/nano/Desktop/images/10122025/17/51/image_10122025_17_51_35_10676.jpg', 2), ('/home/nano/Desktop/images/10122025/17/51/image_10122025_17_51_24_9614.jpg', 2), ('/home/nano/Desktop/images/10122025/17/51/image_10122025_17_51_15_10624.jpg', 2), ('/home/nano/Desktop/images/10122025/17/50/image_10122025_17_51_04_9625.jpg', 2), ('/home/nano/Desktop/images/10122025/17/50/image_10122025_17_50_54_9617.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 17:52:02.878455 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/17/51/image_10122025_17_51_45_9673.jpg', 2), ('/home/nano/Desktop/images/10122025/17/51/image_10122025_17_51_35_10676.jpg', 2), ('/home/nano/Desktop/images/10122025/17/51/image_10122025_17_51_24_9614.jpg', 2), ('/home/nano/Desktop/images/10122025/17/51/image_10122025_17_51_15_10624.jpg', 2), ('/home/nano/Desktop/images/10122025/17/50/image_10122025_17_51_04_9625.jpg', 2), ('/home/nano/Desktop/images/10122025/17/50/image_10122025_17_50_54_9617.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 17:52:32.303550 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/17/52/image_10122025_17_52_44_9600.jpg', 2), ('/home/nano/Desktop/images/10122025/17/52/image_10122025_17_52_35_10605.jpg', 2), ('/home/nano/Desktop/images/10122025/17/52/image_10122025_17_52_24_9597.jpg', 2), ('/home/nano/Desktop/images/10122025/17/52/image_10122025_17_52_15_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/17/51/image_10122025_17_52_05_10686.jpg', 2), ('/home/nano/Desktop/images/10122025/17/51/image_10122025_17_51_54_9636.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 17:53:03.256756 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/17/52/image_10122025_17_52_44_9600.jpg', 2), ('/home/nano/Desktop/images/10122025/17/52/image_10122025_17_52_35_10605.jpg', 2), ('/home/nano/Desktop/images/10122025/17/52/image_10122025_17_52_24_9597.jpg', 2), ('/home/nano/Desktop/images/10122025/17/52/image_10122025_17_52_15_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/17/51/image_10122025_17_52_05_10686.jpg', 2), ('/home/nano/Desktop/images/10122025/17/51/image_10122025_17_51_54_9636.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 17:53:32.395357 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/17/53/image_10122025_17_53_44_9615.jpg', 2), ('/home/nano/Desktop/images/10122025/17/53/image_10122025_17_53_34_9601.jpg', 2), ('/home/nano/Desktop/images/10122025/17/53/image_10122025_17_53_25_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/17/53/image_10122025_17_53_14_9615.jpg', 2), ('/home/nano/Desktop/images/10122025/17/52/image_10122025_17_53_05_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/17/52/image_10122025_17_52_55_10606.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 17:54:03.460072 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/17/53/image_10122025_17_53_44_9615.jpg', 2), ('/home/nano/Desktop/images/10122025/17/53/image_10122025_17_53_34_9601.jpg', 2), ('/home/nano/Desktop/images/10122025/17/53/image_10122025_17_53_25_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/17/53/image_10122025_17_53_14_9615.jpg', 2), ('/home/nano/Desktop/images/10122025/17/52/image_10122025_17_53_05_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/17/52/image_10122025_17_52_55_10606.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 17:54:32.676226 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/17/54/image_10122025_17_54_45_10620.jpg', 2), ('/home/nano/Desktop/images/10122025/17/54/image_10122025_17_54_34_9644.jpg', 2), ('/home/nano/Desktop/images/10122025/17/54/image_10122025_17_54_25_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/17/54/image_10122025_17_54_15_10653.jpg', 2), ('/home/nano/Desktop/images/10122025/17/53/image_10122025_17_54_04_9615.jpg', 2), ('/home/nano/Desktop/images/10122025/17/53/image_10122025_17_53_55_10609.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 17:55:03.345468 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/17/54/image_10122025_17_54_45_10620.jpg', 2), ('/home/nano/Desktop/images/10122025/17/54/image_10122025_17_54_34_9644.jpg', 2), ('/home/nano/Desktop/images/10122025/17/54/image_10122025_17_54_25_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/17/54/image_10122025_17_54_15_10653.jpg', 2), ('/home/nano/Desktop/images/10122025/17/53/image_10122025_17_54_04_9615.jpg', 2), ('/home/nano/Desktop/images/10122025/17/53/image_10122025_17_53_55_10609.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 17:55:32.629632 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/17/55/image_10122025_17_55_45_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/17/55/image_10122025_17_55_35_10612.jpg', 2), ('/home/nano/Desktop/images/10122025/17/55/image_10122025_17_55_24_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/17/55/image_10122025_17_55_15_10643.jpg', 2), ('/home/nano/Desktop/images/10122025/17/54/image_10122025_17_55_04_9650.jpg', 2), ('/home/nano/Desktop/images/10122025/17/54/image_10122025_17_54_54_9621.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 17:56:03.184399 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/17/55/image_10122025_17_55_45_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/17/55/image_10122025_17_55_35_10612.jpg', 2), ('/home/nano/Desktop/images/10122025/17/55/image_10122025_17_55_24_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/17/55/image_10122025_17_55_15_10643.jpg', 2), ('/home/nano/Desktop/images/10122025/17/54/image_10122025_17_55_04_9650.jpg', 2), ('/home/nano/Desktop/images/10122025/17/54/image_10122025_17_54_54_9621.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 17:56:32.739130 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/17/56/image_10122025_17_56_44_9601.jpg', 2), ('/home/nano/Desktop/images/10122025/17/56/image_10122025_17_56_35_9603.jpg', 2), ('/home/nano/Desktop/images/10122025/17/56/image_10122025_17_56_25_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/17/56/image_10122025_17_56_14_9616.jpg', 2), ('/home/nano/Desktop/images/10122025/17/55/image_10122025_17_56_05_10631.jpg', 2), ('/home/nano/Desktop/images/10122025/17/55/image_10122025_17_55_54_9601.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 17:57:02.588977 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/17/56/image_10122025_17_56_44_9601.jpg', 2), ('/home/nano/Desktop/images/10122025/17/56/image_10122025_17_56_35_9603.jpg', 2), ('/home/nano/Desktop/images/10122025/17/56/image_10122025_17_56_25_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/17/56/image_10122025_17_56_14_9616.jpg', 2), ('/home/nano/Desktop/images/10122025/17/55/image_10122025_17_56_05_10631.jpg', 2), ('/home/nano/Desktop/images/10122025/17/55/image_10122025_17_55_54_9601.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 17:57:31.823589 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/17/57/image_10122025_17_57_45_10623.jpg', 2), ('/home/nano/Desktop/images/10122025/17/57/image_10122025_17_57_34_9670.jpg', 2), ('/home/nano/Desktop/images/10122025/17/57/image_10122025_17_57_25_10608.jpg', 2), ('/home/nano/Desktop/images/10122025/17/57/image_10122025_17_57_14_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/17/56/image_10122025_17_57_04_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/17/56/image_10122025_17_56_55_10616.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 17:58:02.407263 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/17/57/image_10122025_17_57_45_10623.jpg', 2), ('/home/nano/Desktop/images/10122025/17/57/image_10122025_17_57_34_9670.jpg', 2), ('/home/nano/Desktop/images/10122025/17/57/image_10122025_17_57_25_10608.jpg', 2), ('/home/nano/Desktop/images/10122025/17/57/image_10122025_17_57_14_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/17/56/image_10122025_17_57_04_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/17/56/image_10122025_17_56_55_10616.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 17:59:03.128354 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/17/58/image_10122025_17_58_45_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/17/58/image_10122025_17_58_35_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/17/58/image_10122025_17_58_24_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/17/58/image_10122025_17_58_15_10625.jpg', 2), ('/home/nano/Desktop/images/10122025/17/57/image_10122025_17_58_04_9634.jpg', 2), ('/home/nano/Desktop/images/10122025/17/57/image_10122025_17_57_55_9603.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 17:59:31.963069 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/17/59/image_10122025_17_59_44_9597.jpg', 2), ('/home/nano/Desktop/images/10122025/17/59/image_10122025_17_59_35_10609.jpg', 2), ('/home/nano/Desktop/images/10122025/17/59/image_10122025_17_59_24_9623.jpg', 2), ('/home/nano/Desktop/images/10122025/17/59/image_10122025_17_59_15_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/17/58/image_10122025_17_59_05_10625.jpg', 2), ('/home/nano/Desktop/images/10122025/17/58/image_10122025_17_58_54_9617.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 18:00:02.560236 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/17/59/image_10122025_17_59_44_9597.jpg', 2), ('/home/nano/Desktop/images/10122025/17/59/image_10122025_17_59_35_10609.jpg', 2), ('/home/nano/Desktop/images/10122025/17/59/image_10122025_17_59_24_9623.jpg', 2), ('/home/nano/Desktop/images/10122025/17/59/image_10122025_17_59_15_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/17/58/image_10122025_17_59_05_10625.jpg', 2), ('/home/nano/Desktop/images/10122025/17/58/image_10122025_17_58_54_9617.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 18:00:32.164276 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/18/00/image_10122025_18_00_45_10609.jpg', 2), ('/home/nano/Desktop/images/10122025/18/00/image_10122025_18_00_34_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/18/00/image_10122025_18_00_25_10611.jpg', 2), ('/home/nano/Desktop/images/10122025/18/00/image_10122025_18_00_14_9614.jpg', 2), ('/home/nano/Desktop/images/10122025/17/59/image_10122025_18_00_05_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/17/59/image_10122025_17_59_55_10622.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 18:01:02.819911 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/18/00/image_10122025_18_00_45_10609.jpg', 2), ('/home/nano/Desktop/images/10122025/18/00/image_10122025_18_00_34_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/18/00/image_10122025_18_00_25_10611.jpg', 2), ('/home/nano/Desktop/images/10122025/18/00/image_10122025_18_00_14_9614.jpg', 2), ('/home/nano/Desktop/images/10122025/17/59/image_10122025_18_00_05_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/17/59/image_10122025_17_59_55_10622.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 18:01:32.180922 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/18/01/image_10122025_18_01_45_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/18/01/image_10122025_18_01_34_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/18/01/image_10122025_18_01_25_9593.jpg', 2), ('/home/nano/Desktop/images/10122025/18/01/image_10122025_18_01_15_10620.jpg', 2), ('/home/nano/Desktop/images/10122025/18/00/image_10122025_18_01_04_9632.jpg', 2), ('/home/nano/Desktop/images/10122025/18/00/image_10122025_18_00_55_9610.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 18:02:02.840377 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/18/01/image_10122025_18_01_45_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/18/01/image_10122025_18_01_34_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/18/01/image_10122025_18_01_25_9593.jpg', 2), ('/home/nano/Desktop/images/10122025/18/01/image_10122025_18_01_15_10620.jpg', 2), ('/home/nano/Desktop/images/10122025/18/00/image_10122025_18_01_04_9632.jpg', 2), ('/home/nano/Desktop/images/10122025/18/00/image_10122025_18_00_55_9610.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 18:02:32.351982 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/18/02/image_10122025_18_02_44_9600.jpg', 2), ('/home/nano/Desktop/images/10122025/18/02/image_10122025_18_02_35_10608.jpg', 2), ('/home/nano/Desktop/images/10122025/18/02/image_10122025_18_02_24_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/18/02/image_10122025_18_02_15_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/18/01/image_10122025_18_02_05_10622.jpg', 2), ('/home/nano/Desktop/images/10122025/18/01/image_10122025_18_01_54_9601.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 18:03:03.137943 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/18/02/image_10122025_18_02_44_9600.jpg', 2), ('/home/nano/Desktop/images/10122025/18/02/image_10122025_18_02_35_10608.jpg', 2), ('/home/nano/Desktop/images/10122025/18/02/image_10122025_18_02_24_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/18/02/image_10122025_18_02_15_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/18/01/image_10122025_18_02_05_10622.jpg', 2), ('/home/nano/Desktop/images/10122025/18/01/image_10122025_18_01_54_9601.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 18:03:32.386444 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/18/03/image_10122025_18_03_44_9627.jpg', 2), ('/home/nano/Desktop/images/10122025/18/03/image_10122025_18_03_34_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/18/03/image_10122025_18_03_25_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/18/03/image_10122025_18_03_14_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/18/02/image_10122025_18_03_05_9614.jpg', 2), ('/home/nano/Desktop/images/10122025/18/02/image_10122025_18_02_55_10611.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 18:04:03.381284 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/18/03/image_10122025_18_03_44_9627.jpg', 2), ('/home/nano/Desktop/images/10122025/18/03/image_10122025_18_03_34_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/18/03/image_10122025_18_03_25_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/18/03/image_10122025_18_03_14_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/18/02/image_10122025_18_03_05_9614.jpg', 2), ('/home/nano/Desktop/images/10122025/18/02/image_10122025_18_02_55_10611.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 18:04:32.541284 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/18/04/image_10122025_18_04_45_10607.jpg', 2), ('/home/nano/Desktop/images/10122025/18/04/image_10122025_18_04_34_9597.jpg', 2), ('/home/nano/Desktop/images/10122025/18/04/image_10122025_18_04_25_9594.jpg', 2), ('/home/nano/Desktop/images/10122025/18/04/image_10122025_18_04_15_10626.jpg', 2), ('/home/nano/Desktop/images/10122025/18/03/image_10122025_18_04_04_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/18/03/image_10122025_18_03_55_10638.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 18:05:03.170274 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/18/04/image_10122025_18_04_45_10607.jpg', 2), ('/home/nano/Desktop/images/10122025/18/04/image_10122025_18_04_34_9597.jpg', 2), ('/home/nano/Desktop/images/10122025/18/04/image_10122025_18_04_25_9594.jpg', 2), ('/home/nano/Desktop/images/10122025/18/04/image_10122025_18_04_15_10626.jpg', 2), ('/home/nano/Desktop/images/10122025/18/03/image_10122025_18_04_04_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/18/03/image_10122025_18_03_55_10638.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 18:05:32.614856 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/18/05/image_10122025_18_05_44_9615.jpg', 2), ('/home/nano/Desktop/images/10122025/18/05/image_10122025_18_05_35_10628.jpg', 2), ('/home/nano/Desktop/images/10122025/18/05/image_10122025_18_05_24_9602.jpg', 2), ('/home/nano/Desktop/images/10122025/18/05/image_10122025_18_05_15_9615.jpg', 2), ('/home/nano/Desktop/images/10122025/18/04/image_10122025_18_05_05_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/18/04/image_10122025_18_04_54_9592.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 18:06:03.214211 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/18/05/image_10122025_18_05_44_9615.jpg', 2), ('/home/nano/Desktop/images/10122025/18/05/image_10122025_18_05_35_10628.jpg', 2), ('/home/nano/Desktop/images/10122025/18/05/image_10122025_18_05_24_9602.jpg', 2), ('/home/nano/Desktop/images/10122025/18/05/image_10122025_18_05_15_9615.jpg', 2), ('/home/nano/Desktop/images/10122025/18/04/image_10122025_18_05_05_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/18/04/image_10122025_18_04_54_9592.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 18:06:32.710015 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/18/06/image_10122025_18_06_44_9594.jpg', 2), ('/home/nano/Desktop/images/10122025/18/06/image_10122025_18_06_35_9597.jpg', 2), ('/home/nano/Desktop/images/10122025/18/06/image_10122025_18_06_25_10703.jpg', 2), ('/home/nano/Desktop/images/10122025/18/06/image_10122025_18_06_14_9668.jpg', 2), ('/home/nano/Desktop/images/10122025/18/05/image_10122025_18_06_05_9603.jpg', 2), ('/home/nano/Desktop/images/10122025/18/05/image_10122025_18_05_55_10610.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 18:07:02.576653 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/18/06/image_10122025_18_06_44_9594.jpg', 2), ('/home/nano/Desktop/images/10122025/18/06/image_10122025_18_06_35_9597.jpg', 2), ('/home/nano/Desktop/images/10122025/18/06/image_10122025_18_06_25_10703.jpg', 2), ('/home/nano/Desktop/images/10122025/18/06/image_10122025_18_06_14_9668.jpg', 2), ('/home/nano/Desktop/images/10122025/18/05/image_10122025_18_06_05_9603.jpg', 2), ('/home/nano/Desktop/images/10122025/18/05/image_10122025_18_05_55_10610.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 18:07:31.830886 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/18/07/image_10122025_18_07_45_10610.jpg', 2), ('/home/nano/Desktop/images/10122025/18/07/image_10122025_18_07_34_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/18/07/image_10122025_18_07_25_9598.jpg', 2), ('/home/nano/Desktop/images/10122025/18/07/image_10122025_18_07_15_10635.jpg', 2), ('/home/nano/Desktop/images/10122025/18/06/image_10122025_18_07_04_9598.jpg', 2), ('/home/nano/Desktop/images/10122025/18/06/image_10122025_18_06_55_10606.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 18:08:02.352188 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/18/07/image_10122025_18_07_45_10610.jpg', 2), ('/home/nano/Desktop/images/10122025/18/07/image_10122025_18_07_34_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/18/07/image_10122025_18_07_25_9598.jpg', 2), ('/home/nano/Desktop/images/10122025/18/07/image_10122025_18_07_15_10635.jpg', 2), ('/home/nano/Desktop/images/10122025/18/06/image_10122025_18_07_04_9598.jpg', 2), ('/home/nano/Desktop/images/10122025/18/06/image_10122025_18_06_55_10606.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 18:08:31.909900 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/18/08/image_10122025_18_08_45_9600.jpg', 2), ('/home/nano/Desktop/images/10122025/18/08/image_10122025_18_08_35_10619.jpg', 2), ('/home/nano/Desktop/images/10122025/18/08/image_10122025_18_08_24_9602.jpg', 2), ('/home/nano/Desktop/images/10122025/18/08/image_10122025_18_08_15_10626.jpg', 2), ('/home/nano/Desktop/images/10122025/18/07/image_10122025_18_08_04_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/18/07/image_10122025_18_07_54_9599.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 18:09:03.061273 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/18/08/image_10122025_18_08_45_9600.jpg', 2), ('/home/nano/Desktop/images/10122025/18/08/image_10122025_18_08_35_10619.jpg', 2), ('/home/nano/Desktop/images/10122025/18/08/image_10122025_18_08_24_9602.jpg', 2), ('/home/nano/Desktop/images/10122025/18/08/image_10122025_18_08_15_10626.jpg', 2), ('/home/nano/Desktop/images/10122025/18/07/image_10122025_18_08_04_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/18/07/image_10122025_18_07_54_9599.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 18:09:32.094408 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/18/09/image_10122025_18_09_44_9600.jpg', 2), ('/home/nano/Desktop/images/10122025/18/09/image_10122025_18_09_35_9601.jpg', 2), ('/home/nano/Desktop/images/10122025/18/09/image_10122025_18_09_25_10613.jpg', 2), ('/home/nano/Desktop/images/10122025/18/09/image_10122025_18_09_14_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/18/08/image_10122025_18_09_05_10628.jpg', 2), ('/home/nano/Desktop/images/10122025/18/08/image_10122025_18_08_54_9595.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 18:10:02.678727 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/18/09/image_10122025_18_09_44_9600.jpg', 2), ('/home/nano/Desktop/images/10122025/18/09/image_10122025_18_09_35_9601.jpg', 2), ('/home/nano/Desktop/images/10122025/18/09/image_10122025_18_09_25_10613.jpg', 2), ('/home/nano/Desktop/images/10122025/18/09/image_10122025_18_09_14_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/18/08/image_10122025_18_09_05_10628.jpg', 2), ('/home/nano/Desktop/images/10122025/18/08/image_10122025_18_08_54_9595.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 18:10:32.201647 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/18/10/image_10122025_18_10_45_10610.jpg', 2), ('/home/nano/Desktop/images/10122025/18/10/image_10122025_18_10_34_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/18/10/image_10122025_18_10_25_9599.jpg', 2), ('/home/nano/Desktop/images/10122025/18/10/image_10122025_18_10_15_10628.jpg', 2), ('/home/nano/Desktop/images/10122025/18/09/image_10122025_18_10_04_9637.jpg', 2), ('/home/nano/Desktop/images/10122025/18/09/image_10122025_18_09_55_10611.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 18:11:03.091862 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/18/10/image_10122025_18_10_45_10610.jpg', 2), ('/home/nano/Desktop/images/10122025/18/10/image_10122025_18_10_34_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/18/10/image_10122025_18_10_25_9599.jpg', 2), ('/home/nano/Desktop/images/10122025/18/10/image_10122025_18_10_15_10628.jpg', 2), ('/home/nano/Desktop/images/10122025/18/09/image_10122025_18_10_04_9637.jpg', 2), ('/home/nano/Desktop/images/10122025/18/09/image_10122025_18_09_55_10611.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 18:11:32.288567 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/18/11/image_10122025_18_11_45_9603.jpg', 2), ('/home/nano/Desktop/images/10122025/18/11/image_10122025_18_11_35_10604.jpg', 2), ('/home/nano/Desktop/images/10122025/18/11/image_10122025_18_11_24_9600.jpg', 2), ('/home/nano/Desktop/images/10122025/18/11/image_10122025_18_11_15_10631.jpg', 2), ('/home/nano/Desktop/images/10122025/18/10/image_10122025_18_11_04_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/18/10/image_10122025_18_10_54_9599.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 18:12:02.873798 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/18/11/image_10122025_18_11_45_9603.jpg', 2), ('/home/nano/Desktop/images/10122025/18/11/image_10122025_18_11_35_10604.jpg', 2), ('/home/nano/Desktop/images/10122025/18/11/image_10122025_18_11_24_9600.jpg', 2), ('/home/nano/Desktop/images/10122025/18/11/image_10122025_18_11_15_10631.jpg', 2), ('/home/nano/Desktop/images/10122025/18/10/image_10122025_18_11_04_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/18/10/image_10122025_18_10_54_9599.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 18:12:32.393168 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/18/12/image_10122025_18_12_44_9596.jpg', 2), ('/home/nano/Desktop/images/10122025/18/12/image_10122025_18_12_35_9594.jpg', 2), ('/home/nano/Desktop/images/10122025/18/12/image_10122025_18_12_25_10609.jpg', 2), ('/home/nano/Desktop/images/10122025/18/12/image_10122025_18_12_14_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/18/11/image_10122025_18_12_05_10624.jpg', 2), ('/home/nano/Desktop/images/10122025/18/11/image_10122025_18_11_54_9596.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 18:13:03.015126 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/18/12/image_10122025_18_12_44_9596.jpg', 2), ('/home/nano/Desktop/images/10122025/18/12/image_10122025_18_12_35_9594.jpg', 2), ('/home/nano/Desktop/images/10122025/18/12/image_10122025_18_12_25_10609.jpg', 2), ('/home/nano/Desktop/images/10122025/18/12/image_10122025_18_12_14_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/18/11/image_10122025_18_12_05_10624.jpg', 2), ('/home/nano/Desktop/images/10122025/18/11/image_10122025_18_11_54_9596.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 18:13:32.524508 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/18/13/image_10122025_18_13_45_10607.jpg', 2), ('/home/nano/Desktop/images/10122025/18/13/image_10122025_18_13_34_9599.jpg', 2), ('/home/nano/Desktop/images/10122025/18/13/image_10122025_18_13_25_9598.jpg', 2), ('/home/nano/Desktop/images/10122025/18/13/image_10122025_18_13_15_10624.jpg', 2), ('/home/nano/Desktop/images/10122025/18/12/image_10122025_18_13_04_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/18/12/image_10122025_18_12_55_10609.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 18:14:03.399240 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/18/13/image_10122025_18_13_45_10607.jpg', 2), ('/home/nano/Desktop/images/10122025/18/13/image_10122025_18_13_34_9599.jpg', 2), ('/home/nano/Desktop/images/10122025/18/13/image_10122025_18_13_25_9598.jpg', 2), ('/home/nano/Desktop/images/10122025/18/13/image_10122025_18_13_15_10624.jpg', 2), ('/home/nano/Desktop/images/10122025/18/12/image_10122025_18_13_04_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/18/12/image_10122025_18_12_55_10609.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 18:14:32.632756 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/18/14/image_10122025_18_14_44_9602.jpg', 2), ('/home/nano/Desktop/images/10122025/18/14/image_10122025_18_14_35_10607.jpg', 2), ('/home/nano/Desktop/images/10122025/18/14/image_10122025_18_14_24_9599.jpg', 2), ('/home/nano/Desktop/images/10122025/18/14/image_10122025_18_14_15_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/18/13/image_10122025_18_14_05_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/18/13/image_10122025_18_13_54_9597.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 18:15:03.432047 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/18/14/image_10122025_18_14_44_9602.jpg', 2), ('/home/nano/Desktop/images/10122025/18/14/image_10122025_18_14_35_10607.jpg', 2), ('/home/nano/Desktop/images/10122025/18/14/image_10122025_18_14_24_9599.jpg', 2), ('/home/nano/Desktop/images/10122025/18/14/image_10122025_18_14_15_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/18/13/image_10122025_18_14_05_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/18/13/image_10122025_18_13_54_9597.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 18:15:32.709027 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/18/15/image_10122025_18_15_44_9700.jpg', 2), ('/home/nano/Desktop/images/10122025/18/15/image_10122025_18_15_35_9714.jpg', 2), ('/home/nano/Desktop/images/10122025/18/15/image_10122025_18_15_25_10656.jpg', 2), ('/home/nano/Desktop/images/10122025/18/15/image_10122025_18_15_14_9686.jpg', 2), ('/home/nano/Desktop/images/10122025/18/14/image_10122025_18_15_05_9644.jpg', 2), ('/home/nano/Desktop/images/10122025/18/14/image_10122025_18_14_55_10616.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 18:16:02.321982 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/18/15/image_10122025_18_15_44_9700.jpg', 2), ('/home/nano/Desktop/images/10122025/18/15/image_10122025_18_15_35_9714.jpg', 2), ('/home/nano/Desktop/images/10122025/18/15/image_10122025_18_15_25_10656.jpg', 2), ('/home/nano/Desktop/images/10122025/18/15/image_10122025_18_15_14_9686.jpg', 2), ('/home/nano/Desktop/images/10122025/18/14/image_10122025_18_15_05_9644.jpg', 2), ('/home/nano/Desktop/images/10122025/18/14/image_10122025_18_14_55_10616.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 18:16:31.797510 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/18/16/image_10122025_18_16_45_9705.jpg', 2), ('/home/nano/Desktop/images/10122025/18/16/image_10122025_18_16_35_10715.jpg', 2), ('/home/nano/Desktop/images/10122025/18/16/image_10122025_18_16_24_9637.jpg', 2), ('/home/nano/Desktop/images/10122025/18/16/image_10122025_18_16_15_9713.jpg', 2), ('/home/nano/Desktop/images/10122025/18/15/image_10122025_18_16_05_10739.jpg', 2), ('/home/nano/Desktop/images/10122025/18/15/image_10122025_18_15_54_9703.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 18:17:02.754365 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/18/16/image_10122025_18_16_45_9705.jpg', 2), ('/home/nano/Desktop/images/10122025/18/16/image_10122025_18_16_35_10715.jpg', 2), ('/home/nano/Desktop/images/10122025/18/16/image_10122025_18_16_24_9637.jpg', 2), ('/home/nano/Desktop/images/10122025/18/16/image_10122025_18_16_15_9713.jpg', 2), ('/home/nano/Desktop/images/10122025/18/15/image_10122025_18_16_05_10739.jpg', 2), ('/home/nano/Desktop/images/10122025/18/15/image_10122025_18_15_54_9703.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 18:17:32.008622 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/18/17/image_10122025_18_17_45_10723.jpg', 2), ('/home/nano/Desktop/images/10122025/18/17/image_10122025_18_17_34_9649.jpg', 2), ('/home/nano/Desktop/images/10122025/18/17/image_10122025_18_17_25_9749.jpg', 2), ('/home/nano/Desktop/images/10122025/18/17/image_10122025_18_17_15_9723.jpg', 2), ('/home/nano/Desktop/images/10122025/18/16/image_10122025_18_17_05_10661.jpg', 2), ('/home/nano/Desktop/images/10122025/18/16/image_10122025_18_16_54_9702.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 18:18:02.596734 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/18/17/image_10122025_18_17_45_10723.jpg', 2), ('/home/nano/Desktop/images/10122025/18/17/image_10122025_18_17_34_9649.jpg', 2), ('/home/nano/Desktop/images/10122025/18/17/image_10122025_18_17_25_9749.jpg', 2), ('/home/nano/Desktop/images/10122025/18/17/image_10122025_18_17_15_9723.jpg', 2), ('/home/nano/Desktop/images/10122025/18/16/image_10122025_18_17_05_10661.jpg', 2), ('/home/nano/Desktop/images/10122025/18/16/image_10122025_18_16_54_9702.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 18:18:32.062237 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/18/18/image_10122025_18_18_44_9721.jpg', 2), ('/home/nano/Desktop/images/10122025/18/18/image_10122025_18_18_34_9722.jpg', 2), ('/home/nano/Desktop/images/10122025/18/18/image_10122025_18_18_25_9715.jpg', 2), ('/home/nano/Desktop/images/10122025/18/18/image_10122025_18_18_15_10635.jpg', 2), ('/home/nano/Desktop/images/10122025/18/17/image_10122025_18_18_04_9704.jpg', 2), ('/home/nano/Desktop/images/10122025/18/17/image_10122025_18_17_55_9706.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 18:19:03.248411 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/18/18/image_10122025_18_18_44_9721.jpg', 2), ('/home/nano/Desktop/images/10122025/18/18/image_10122025_18_18_34_9722.jpg', 2), ('/home/nano/Desktop/images/10122025/18/18/image_10122025_18_18_25_9715.jpg', 2), ('/home/nano/Desktop/images/10122025/18/18/image_10122025_18_18_15_10635.jpg', 2), ('/home/nano/Desktop/images/10122025/18/17/image_10122025_18_18_04_9704.jpg', 2), ('/home/nano/Desktop/images/10122025/18/17/image_10122025_18_17_55_9706.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 18:19:32.164942 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/18/19/image_10122025_18_19_45_10609.jpg', 2), ('/home/nano/Desktop/images/10122025/18/19/image_10122025_18_19_34_9588.jpg', 2), ('/home/nano/Desktop/images/10122025/18/19/image_10122025_18_19_25_10598.jpg', 2), ('/home/nano/Desktop/images/10122025/18/19/image_10122025_18_19_14_9638.jpg', 2), ('/home/nano/Desktop/images/10122025/18/18/image_10122025_18_19_04_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/18/18/image_10122025_18_18_55_10736.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 18:20:02.632156 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/18/19/image_10122025_18_19_45_10609.jpg', 2), ('/home/nano/Desktop/images/10122025/18/19/image_10122025_18_19_34_9588.jpg', 2), ('/home/nano/Desktop/images/10122025/18/19/image_10122025_18_19_25_10598.jpg', 2), ('/home/nano/Desktop/images/10122025/18/19/image_10122025_18_19_14_9638.jpg', 2), ('/home/nano/Desktop/images/10122025/18/18/image_10122025_18_19_04_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/18/18/image_10122025_18_18_55_10736.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 18:20:32.279416 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/18/20/image_10122025_18_20_44_9587.jpg', 2), ('/home/nano/Desktop/images/10122025/18/20/image_10122025_18_20_35_10601.jpg', 2), ('/home/nano/Desktop/images/10122025/18/20/image_10122025_18_20_24_9591.jpg', 2), ('/home/nano/Desktop/images/10122025/18/20/image_10122025_18_20_15_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/18/19/image_10122025_18_20_05_10608.jpg', 2), ('/home/nano/Desktop/images/10122025/18/19/image_10122025_18_19_54_9588.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 18:21:03.195052 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/18/20/image_10122025_18_21_05_9602.jpg', 2), ('/home/nano/Desktop/images/10122025/18/20/image_10122025_18_20_44_9587.jpg', 2), ('/home/nano/Desktop/images/10122025/18/20/image_10122025_18_20_35_10601.jpg', 2), ('/home/nano/Desktop/images/10122025/18/20/image_10122025_18_20_24_9591.jpg', 2), ('/home/nano/Desktop/images/10122025/18/20/image_10122025_18_20_15_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/18/19/image_10122025_18_20_05_10608.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 18:21:32.385884 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/18/21/image_10122025_18_21_44_9591.jpg', 2), ('/home/nano/Desktop/images/10122025/18/21/image_10122025_18_21_35_9590.jpg', 2), ('/home/nano/Desktop/images/10122025/18/21/image_10122025_18_21_25_10608.jpg', 2), ('/home/nano/Desktop/images/10122025/18/21/image_10122025_18_21_14_9624.jpg', 2), ('/home/nano/Desktop/images/10122025/18/20/image_10122025_18_21_05_9602.jpg', 2), ('/home/nano/Desktop/images/10122025/18/20/image_10122025_18_20_55_10597.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 18:22:02.843750 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/18/21/image_10122025_18_21_44_9591.jpg', 2), ('/home/nano/Desktop/images/10122025/18/21/image_10122025_18_21_35_9590.jpg', 2), ('/home/nano/Desktop/images/10122025/18/21/image_10122025_18_21_25_10608.jpg', 2), ('/home/nano/Desktop/images/10122025/18/21/image_10122025_18_21_14_9624.jpg', 2), ('/home/nano/Desktop/images/10122025/18/20/image_10122025_18_21_05_9602.jpg', 2), ('/home/nano/Desktop/images/10122025/18/20/image_10122025_18_20_55_10597.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 18:22:32.478834 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/18/22/image_10122025_18_22_45_10692.jpg', 2), ('/home/nano/Desktop/images/10122025/18/22/image_10122025_18_22_34_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/18/22/image_10122025_18_22_25_9629.jpg', 2), ('/home/nano/Desktop/images/10122025/18/22/image_10122025_18_22_15_10640.jpg', 2), ('/home/nano/Desktop/images/10122025/18/21/image_10122025_18_22_04_9682.jpg', 2), ('/home/nano/Desktop/images/10122025/18/21/image_10122025_18_21_55_10614.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 18:23:03.261500 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/18/22/image_10122025_18_22_45_10692.jpg', 2), ('/home/nano/Desktop/images/10122025/18/22/image_10122025_18_22_34_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/18/22/image_10122025_18_22_25_9629.jpg', 2), ('/home/nano/Desktop/images/10122025/18/22/image_10122025_18_22_15_10640.jpg', 2), ('/home/nano/Desktop/images/10122025/18/21/image_10122025_18_22_04_9682.jpg', 2), ('/home/nano/Desktop/images/10122025/18/21/image_10122025_18_21_55_10614.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 18:23:32.574232 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/18/23/image_10122025_18_23_45_9601.jpg', 2), ('/home/nano/Desktop/images/10122025/18/23/image_10122025_18_23_35_10629.jpg', 2), ('/home/nano/Desktop/images/10122025/18/23/image_10122025_18_23_24_9614.jpg', 2), ('/home/nano/Desktop/images/10122025/18/22/image_10122025_18_23_04_9615.jpg', 2), ('/home/nano/Desktop/images/10122025/18/22/image_10122025_18_22_55_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/18/22/image_10122025_18_22_45_10692.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 18:24:03.383427 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/18/23/image_10122025_18_23_45_9601.jpg', 2), ('/home/nano/Desktop/images/10122025/18/23/image_10122025_18_23_35_10629.jpg', 2), ('/home/nano/Desktop/images/10122025/18/23/image_10122025_18_23_24_9614.jpg', 2), ('/home/nano/Desktop/images/10122025/18/22/image_10122025_18_23_04_9615.jpg', 2), ('/home/nano/Desktop/images/10122025/18/22/image_10122025_18_22_55_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/18/22/image_10122025_18_22_45_10692.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 18:24:32.651042 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/18/24/image_10122025_18_24_44_9602.jpg', 2), ('/home/nano/Desktop/images/10122025/18/24/image_10122025_18_24_35_10625.jpg', 2), ('/home/nano/Desktop/images/10122025/18/24/image_10122025_18_24_24_9612.jpg', 2), ('/home/nano/Desktop/images/10122025/18/24/image_10122025_18_24_15_9613.jpg', 2), ('/home/nano/Desktop/images/10122025/18/23/image_10122025_18_24_05_10623.jpg', 2), ('/home/nano/Desktop/images/10122025/18/23/image_10122025_18_23_54_9601.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 18:25:02.435930 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/18/24/image_10122025_18_24_44_9602.jpg', 2), ('/home/nano/Desktop/images/10122025/18/24/image_10122025_18_24_35_10625.jpg', 2), ('/home/nano/Desktop/images/10122025/18/24/image_10122025_18_24_24_9612.jpg', 2), ('/home/nano/Desktop/images/10122025/18/24/image_10122025_18_24_15_9613.jpg', 2), ('/home/nano/Desktop/images/10122025/18/23/image_10122025_18_24_05_10623.jpg', 2), ('/home/nano/Desktop/images/10122025/18/23/image_10122025_18_23_54_9601.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 18:25:31.785214 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/18/25/image_10122025_18_25_44_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/18/25/image_10122025_18_25_35_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/18/25/image_10122025_18_25_25_10656.jpg', 2), ('/home/nano/Desktop/images/10122025/18/25/image_10122025_18_25_14_9638.jpg', 2), ('/home/nano/Desktop/images/10122025/18/24/image_10122025_18_25_05_9630.jpg', 2), ('/home/nano/Desktop/images/10122025/18/24/image_10122025_18_24_55_10619.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 18:26:02.366093 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/18/25/image_10122025_18_25_44_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/18/25/image_10122025_18_25_35_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/18/25/image_10122025_18_25_25_10656.jpg', 2), ('/home/nano/Desktop/images/10122025/18/25/image_10122025_18_25_14_9638.jpg', 2), ('/home/nano/Desktop/images/10122025/18/24/image_10122025_18_25_05_9630.jpg', 2), ('/home/nano/Desktop/images/10122025/18/24/image_10122025_18_24_55_10619.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 18:26:31.903869 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/18/26/image_10122025_18_26_45_10634.jpg', 2), ('/home/nano/Desktop/images/10122025/18/26/image_10122025_18_26_34_9629.jpg', 2), ('/home/nano/Desktop/images/10122025/18/26/image_10122025_18_26_25_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/18/26/image_10122025_18_26_15_10658.jpg', 2), ('/home/nano/Desktop/images/10122025/18/25/image_10122025_18_26_04_9630.jpg', 2), ('/home/nano/Desktop/images/10122025/18/25/image_10122025_18_25_55_10647.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 18:27:02.695577 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/18/26/image_10122025_18_26_45_10634.jpg', 2), ('/home/nano/Desktop/images/10122025/18/26/image_10122025_18_26_34_9629.jpg', 2), ('/home/nano/Desktop/images/10122025/18/26/image_10122025_18_26_25_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/18/26/image_10122025_18_26_15_10658.jpg', 2), ('/home/nano/Desktop/images/10122025/18/25/image_10122025_18_26_04_9630.jpg', 2), ('/home/nano/Desktop/images/10122025/18/25/image_10122025_18_25_55_10647.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 18:27:31.992525 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/18/27/image_10122025_18_27_45_10664.jpg', 2), ('/home/nano/Desktop/images/10122025/18/27/image_10122025_18_27_34_9656.jpg', 2), ('/home/nano/Desktop/images/10122025/18/27/image_10122025_18_27_25_9637.jpg', 2), ('/home/nano/Desktop/images/10122025/18/27/image_10122025_18_27_15_10664.jpg', 2), ('/home/nano/Desktop/images/10122025/18/26/image_10122025_18_27_04_9642.jpg', 2), ('/home/nano/Desktop/images/10122025/18/26/image_10122025_18_26_55_9663.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 18:28:02.654399 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/18/27/image_10122025_18_27_45_10664.jpg', 2), ('/home/nano/Desktop/images/10122025/18/27/image_10122025_18_27_34_9656.jpg', 2), ('/home/nano/Desktop/images/10122025/18/27/image_10122025_18_27_25_9637.jpg', 2), ('/home/nano/Desktop/images/10122025/18/27/image_10122025_18_27_15_10664.jpg', 2), ('/home/nano/Desktop/images/10122025/18/26/image_10122025_18_27_04_9642.jpg', 2), ('/home/nano/Desktop/images/10122025/18/26/image_10122025_18_26_55_9663.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 18:28:32.123356 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/18/28/image_10122025_18_28_45_10724.jpg', 2), ('/home/nano/Desktop/images/10122025/18/28/image_10122025_18_28_34_9713.jpg', 2), ('/home/nano/Desktop/images/10122025/18/28/image_10122025_18_28_25_9722.jpg', 2), ('/home/nano/Desktop/images/10122025/18/28/image_10122025_18_28_15_10667.jpg', 2), ('/home/nano/Desktop/images/10122025/18/27/image_10122025_18_28_04_9647.jpg', 2), ('/home/nano/Desktop/images/10122025/18/27/image_10122025_18_27_55_9631.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 18:29:03.016412 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/18/28/image_10122025_18_28_45_10724.jpg', 2), ('/home/nano/Desktop/images/10122025/18/28/image_10122025_18_28_34_9713.jpg', 2), ('/home/nano/Desktop/images/10122025/18/28/image_10122025_18_28_25_9722.jpg', 2), ('/home/nano/Desktop/images/10122025/18/28/image_10122025_18_28_15_10667.jpg', 2), ('/home/nano/Desktop/images/10122025/18/27/image_10122025_18_28_04_9647.jpg', 2), ('/home/nano/Desktop/images/10122025/18/27/image_10122025_18_27_55_9631.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 18:29:32.231380 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/18/29/image_10122025_18_29_45_10658.jpg', 2), ('/home/nano/Desktop/images/10122025/18/29/image_10122025_18_29_34_9742.jpg', 2), ('/home/nano/Desktop/images/10122025/18/29/image_10122025_18_29_25_9635.jpg', 2), ('/home/nano/Desktop/images/10122025/18/29/image_10122025_18_29_15_10706.jpg', 2), ('/home/nano/Desktop/images/10122025/18/28/image_10122025_18_29_04_9683.jpg', 2), ('/home/nano/Desktop/images/10122025/18/28/image_10122025_18_28_55_9639.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 18:30:02.901347 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/18/29/image_10122025_18_29_45_10658.jpg', 2), ('/home/nano/Desktop/images/10122025/18/29/image_10122025_18_29_34_9742.jpg', 2), ('/home/nano/Desktop/images/10122025/18/29/image_10122025_18_29_25_9635.jpg', 2), ('/home/nano/Desktop/images/10122025/18/29/image_10122025_18_29_15_10706.jpg', 2), ('/home/nano/Desktop/images/10122025/18/28/image_10122025_18_29_04_9683.jpg', 2), ('/home/nano/Desktop/images/10122025/18/28/image_10122025_18_28_55_9639.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 18:30:32.347000 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/18/30/image_10122025_18_30_45_10629.jpg', 2), ('/home/nano/Desktop/images/10122025/18/30/image_10122025_18_30_34_9650.jpg', 2), ('/home/nano/Desktop/images/10122025/18/30/image_10122025_18_30_25_9649.jpg', 2), ('/home/nano/Desktop/images/10122025/18/30/image_10122025_18_30_15_10672.jpg', 2), ('/home/nano/Desktop/images/10122025/18/29/image_10122025_18_30_04_9646.jpg', 2), ('/home/nano/Desktop/images/10122025/18/29/image_10122025_18_29_55_9640.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 18:31:03.250998 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/18/30/image_10122025_18_30_45_10629.jpg', 2), ('/home/nano/Desktop/images/10122025/18/30/image_10122025_18_30_34_9650.jpg', 2), ('/home/nano/Desktop/images/10122025/18/30/image_10122025_18_30_25_9649.jpg', 2), ('/home/nano/Desktop/images/10122025/18/30/image_10122025_18_30_15_10672.jpg', 2), ('/home/nano/Desktop/images/10122025/18/29/image_10122025_18_30_04_9646.jpg', 2), ('/home/nano/Desktop/images/10122025/18/29/image_10122025_18_29_55_9640.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 18:31:32.434129 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/18/31/image_10122025_18_31_45_10638.jpg', 2), ('/home/nano/Desktop/images/10122025/18/31/image_10122025_18_31_34_9623.jpg', 2), ('/home/nano/Desktop/images/10122025/18/31/image_10122025_18_31_25_9612.jpg', 2), ('/home/nano/Desktop/images/10122025/18/31/image_10122025_18_31_15_10663.jpg', 2), ('/home/nano/Desktop/images/10122025/18/30/image_10122025_18_31_04_9669.jpg', 2), ('/home/nano/Desktop/images/10122025/18/30/image_10122025_18_30_55_9629.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 18:32:03.077773 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/18/31/image_10122025_18_31_45_10638.jpg', 2), ('/home/nano/Desktop/images/10122025/18/31/image_10122025_18_31_34_9623.jpg', 2), ('/home/nano/Desktop/images/10122025/18/31/image_10122025_18_31_25_9612.jpg', 2), ('/home/nano/Desktop/images/10122025/18/31/image_10122025_18_31_15_10663.jpg', 2), ('/home/nano/Desktop/images/10122025/18/30/image_10122025_18_31_04_9669.jpg', 2), ('/home/nano/Desktop/images/10122025/18/30/image_10122025_18_30_55_9629.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 18:32:32.591058 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/18/32/image_10122025_18_32_45_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/18/32/image_10122025_18_32_35_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/18/32/image_10122025_18_32_24_9614.jpg', 2), ('/home/nano/Desktop/images/10122025/18/32/image_10122025_18_32_15_9623.jpg', 2), ('/home/nano/Desktop/images/10122025/18/31/image_10122025_18_32_05_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/18/31/image_10122025_18_31_54_9619.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 18:33:03.336065 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/18/32/image_10122025_18_32_45_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/18/32/image_10122025_18_32_35_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/18/32/image_10122025_18_32_24_9614.jpg', 2), ('/home/nano/Desktop/images/10122025/18/32/image_10122025_18_32_15_9623.jpg', 2), ('/home/nano/Desktop/images/10122025/18/31/image_10122025_18_32_05_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/18/31/image_10122025_18_31_54_9619.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 18:33:32.663329 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/18/33/image_10122025_18_33_44_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/18/33/image_10122025_18_33_35_9613.jpg', 2), ('/home/nano/Desktop/images/10122025/18/33/image_10122025_18_33_25_10625.jpg', 2), ('/home/nano/Desktop/images/10122025/18/33/image_10122025_18_33_14_9633.jpg', 2), ('/home/nano/Desktop/images/10122025/18/32/image_10122025_18_33_05_10648.jpg', 2), ('/home/nano/Desktop/images/10122025/18/32/image_10122025_18_32_54_9621.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 18:34:03.655741 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/18/33/image_10122025_18_33_44_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/18/33/image_10122025_18_33_35_9613.jpg', 2), ('/home/nano/Desktop/images/10122025/18/33/image_10122025_18_33_25_10625.jpg', 2), ('/home/nano/Desktop/images/10122025/18/33/image_10122025_18_33_14_9633.jpg', 2), ('/home/nano/Desktop/images/10122025/18/32/image_10122025_18_33_05_10648.jpg', 2), ('/home/nano/Desktop/images/10122025/18/32/image_10122025_18_32_54_9621.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 18:34:32.751606 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/18/34/image_10122025_18_34_45_10608.jpg', 2), ('/home/nano/Desktop/images/10122025/18/34/image_10122025_18_34_34_9615.jpg', 2), ('/home/nano/Desktop/images/10122025/18/34/image_10122025_18_34_25_10607.jpg', 2), ('/home/nano/Desktop/images/10122025/18/34/image_10122025_18_34_14_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/18/33/image_10122025_18_34_04_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/18/33/image_10122025_18_33_55_10610.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 18:35:02.572418 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/18/34/image_10122025_18_34_45_10608.jpg', 2), ('/home/nano/Desktop/images/10122025/18/34/image_10122025_18_34_34_9615.jpg', 2), ('/home/nano/Desktop/images/10122025/18/34/image_10122025_18_34_25_10607.jpg', 2), ('/home/nano/Desktop/images/10122025/18/34/image_10122025_18_34_14_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/18/33/image_10122025_18_34_04_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/18/33/image_10122025_18_33_55_10610.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 18:35:31.884134 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/18/35/image_10122025_18_35_45_9596.jpg', 2), ('/home/nano/Desktop/images/10122025/18/35/image_10122025_18_35_35_10612.jpg', 2), ('/home/nano/Desktop/images/10122025/18/35/image_10122025_18_35_24_9598.jpg', 2), ('/home/nano/Desktop/images/10122025/18/35/image_10122025_18_35_15_10627.jpg', 2), ('/home/nano/Desktop/images/10122025/18/34/image_10122025_18_35_04_9632.jpg', 2), ('/home/nano/Desktop/images/10122025/18/34/image_10122025_18_34_55_9601.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 18:36:02.495922 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/18/35/image_10122025_18_35_45_9596.jpg', 2), ('/home/nano/Desktop/images/10122025/18/35/image_10122025_18_35_35_10612.jpg', 2), ('/home/nano/Desktop/images/10122025/18/35/image_10122025_18_35_24_9598.jpg', 2), ('/home/nano/Desktop/images/10122025/18/35/image_10122025_18_35_15_10627.jpg', 2), ('/home/nano/Desktop/images/10122025/18/34/image_10122025_18_35_04_9632.jpg', 2), ('/home/nano/Desktop/images/10122025/18/34/image_10122025_18_34_55_9601.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 18:36:32.003498 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/18/36/image_10122025_18_36_44_9603.jpg', 2), ('/home/nano/Desktop/images/10122025/18/36/image_10122025_18_36_35_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/18/36/image_10122025_18_36_25_10612.jpg', 2), ('/home/nano/Desktop/images/10122025/18/36/image_10122025_18_36_14_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/18/35/image_10122025_18_36_05_10628.jpg', 2), ('/home/nano/Desktop/images/10122025/18/35/image_10122025_18_35_54_9601.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 18:37:02.801697 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/18/36/image_10122025_18_36_44_9603.jpg', 2), ('/home/nano/Desktop/images/10122025/18/36/image_10122025_18_36_35_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/18/36/image_10122025_18_36_25_10612.jpg', 2), ('/home/nano/Desktop/images/10122025/18/36/image_10122025_18_36_14_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/18/35/image_10122025_18_36_05_10628.jpg', 2), ('/home/nano/Desktop/images/10122025/18/35/image_10122025_18_35_54_9601.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 18:37:32.082026 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/18/37/image_10122025_18_37_45_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/18/37/image_10122025_18_37_34_9603.jpg', 2), ('/home/nano/Desktop/images/10122025/18/37/image_10122025_18_37_25_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/18/37/image_10122025_18_37_14_9616.jpg', 2), ('/home/nano/Desktop/images/10122025/18/36/image_10122025_18_37_04_9602.jpg', 2), ('/home/nano/Desktop/images/10122025/18/36/image_10122025_18_36_55_10613.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 18:38:02.713046 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/18/37/image_10122025_18_37_45_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/18/37/image_10122025_18_37_34_9603.jpg', 2), ('/home/nano/Desktop/images/10122025/18/37/image_10122025_18_37_25_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/18/37/image_10122025_18_37_14_9616.jpg', 2), ('/home/nano/Desktop/images/10122025/18/36/image_10122025_18_37_04_9602.jpg', 2), ('/home/nano/Desktop/images/10122025/18/36/image_10122025_18_36_55_10613.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 18:38:32.161706 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/18/38/image_10122025_18_38_45_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/18/38/image_10122025_18_38_35_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/18/38/image_10122025_18_38_24_9601.jpg', 2), ('/home/nano/Desktop/images/10122025/18/38/image_10122025_18_38_15_10625.jpg', 2), ('/home/nano/Desktop/images/10122025/18/37/image_10122025_18_38_04_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/18/37/image_10122025_18_37_55_9598.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 18:39:03.308712 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/18/39/image_10122025_18_39_24_9632.jpg', 2), ('/home/nano/Desktop/images/10122025/18/38/image_10122025_18_38_45_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/18/38/image_10122025_18_38_35_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/18/38/image_10122025_18_38_24_9601.jpg', 2), ('/home/nano/Desktop/images/10122025/18/38/image_10122025_18_38_15_10625.jpg', 2), ('/home/nano/Desktop/images/10122025/18/37/image_10122025_18_38_04_9610.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 18:39:32.281599 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/18/39/image_10122025_18_39_44_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/18/39/image_10122025_18_39_35_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/18/39/image_10122025_18_39_24_9632.jpg', 2), ('/home/nano/Desktop/images/10122025/18/39/image_10122025_18_39_14_9644.jpg', 2), ('/home/nano/Desktop/images/10122025/18/38/image_10122025_18_39_05_10625.jpg', 2), ('/home/nano/Desktop/images/10122025/18/38/image_10122025_18_38_54_9604.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 18:40:02.988031 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/18/39/image_10122025_18_39_44_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/18/39/image_10122025_18_39_35_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/18/39/image_10122025_18_39_24_9632.jpg', 2), ('/home/nano/Desktop/images/10122025/18/39/image_10122025_18_39_14_9644.jpg', 2), ('/home/nano/Desktop/images/10122025/18/38/image_10122025_18_39_05_10625.jpg', 2), ('/home/nano/Desktop/images/10122025/18/38/image_10122025_18_38_54_9604.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 18:40:32.354171 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/18/40/image_10122025_18_40_45_10608.jpg', 2), ('/home/nano/Desktop/images/10122025/18/40/image_10122025_18_40_34_9602.jpg', 2), ('/home/nano/Desktop/images/10122025/18/40/image_10122025_18_40_25_10608.jpg', 2), ('/home/nano/Desktop/images/10122025/18/40/image_10122025_18_40_14_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/18/39/image_10122025_18_40_05_9634.jpg', 2), ('/home/nano/Desktop/images/10122025/18/39/image_10122025_18_39_55_10612.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 18:41:03.031760 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/18/40/image_10122025_18_40_45_10608.jpg', 2), ('/home/nano/Desktop/images/10122025/18/40/image_10122025_18_40_34_9602.jpg', 2), ('/home/nano/Desktop/images/10122025/18/40/image_10122025_18_40_25_10608.jpg', 2), ('/home/nano/Desktop/images/10122025/18/40/image_10122025_18_40_14_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/18/39/image_10122025_18_40_05_9634.jpg', 2), ('/home/nano/Desktop/images/10122025/18/39/image_10122025_18_39_55_10612.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 18:41:32.461435 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/18/41/image_10122025_18_41_45_9615.jpg', 2), ('/home/nano/Desktop/images/10122025/18/41/image_10122025_18_41_35_10605.jpg', 2), ('/home/nano/Desktop/images/10122025/18/41/image_10122025_18_41_24_9598.jpg', 2), ('/home/nano/Desktop/images/10122025/18/41/image_10122025_18_41_15_10626.jpg', 2), ('/home/nano/Desktop/images/10122025/18/40/image_10122025_18_41_04_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/18/40/image_10122025_18_40_55_9597.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 18:42:03.133575 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/18/41/image_10122025_18_41_45_9615.jpg', 2), ('/home/nano/Desktop/images/10122025/18/41/image_10122025_18_41_35_10605.jpg', 2), ('/home/nano/Desktop/images/10122025/18/41/image_10122025_18_41_24_9598.jpg', 2), ('/home/nano/Desktop/images/10122025/18/41/image_10122025_18_41_15_10626.jpg', 2), ('/home/nano/Desktop/images/10122025/18/40/image_10122025_18_41_04_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/18/40/image_10122025_18_40_55_9597.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 18:42:32.584216 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/18/42/image_10122025_18_42_44_9600.jpg', 2), ('/home/nano/Desktop/images/10122025/18/42/image_10122025_18_42_35_10606.jpg', 2), ('/home/nano/Desktop/images/10122025/18/42/image_10122025_18_42_24_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/18/42/image_10122025_18_42_14_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/18/41/image_10122025_18_42_05_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/18/41/image_10122025_18_41_54_9612.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 18:43:03.395169 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/18/42/image_10122025_18_42_44_9600.jpg', 2), ('/home/nano/Desktop/images/10122025/18/42/image_10122025_18_42_35_10606.jpg', 2), ('/home/nano/Desktop/images/10122025/18/42/image_10122025_18_42_24_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/18/42/image_10122025_18_42_14_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/18/41/image_10122025_18_42_05_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/18/41/image_10122025_18_41_54_9612.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 18:43:32.671377 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/18/43/image_10122025_18_43_45_10611.jpg', 2), ('/home/nano/Desktop/images/10122025/18/43/image_10122025_18_43_34_9601.jpg', 2), ('/home/nano/Desktop/images/10122025/18/43/image_10122025_18_43_25_10628.jpg', 2), ('/home/nano/Desktop/images/10122025/18/43/image_10122025_18_43_14_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/18/42/image_10122025_18_43_05_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/18/42/image_10122025_18_42_55_10609.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 18:44:02.365086 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/18/43/image_10122025_18_43_45_10611.jpg', 2), ('/home/nano/Desktop/images/10122025/18/43/image_10122025_18_43_34_9601.jpg', 2), ('/home/nano/Desktop/images/10122025/18/43/image_10122025_18_43_25_10628.jpg', 2), ('/home/nano/Desktop/images/10122025/18/43/image_10122025_18_43_14_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/18/42/image_10122025_18_43_05_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/18/42/image_10122025_18_42_55_10609.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 18:44:31.785835 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/18/44/image_10122025_18_44_45_9598.jpg', 2), ('/home/nano/Desktop/images/10122025/18/44/image_10122025_18_44_35_10632.jpg', 2), ('/home/nano/Desktop/images/10122025/18/44/image_10122025_18_44_24_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/18/44/image_10122025_18_44_15_10628.jpg', 2), ('/home/nano/Desktop/images/10122025/18/43/image_10122025_18_44_04_9630.jpg', 2), ('/home/nano/Desktop/images/10122025/18/43/image_10122025_18_43_55_9599.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 18:45:02.723520 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/18/44/image_10122025_18_44_45_9598.jpg', 2), ('/home/nano/Desktop/images/10122025/18/44/image_10122025_18_44_35_10632.jpg', 2), ('/home/nano/Desktop/images/10122025/18/44/image_10122025_18_44_24_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/18/44/image_10122025_18_44_15_10628.jpg', 2), ('/home/nano/Desktop/images/10122025/18/43/image_10122025_18_44_04_9630.jpg', 2), ('/home/nano/Desktop/images/10122025/18/43/image_10122025_18_43_55_9599.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 18:45:31.919652 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/18/45/image_10122025_18_45_45_9654.jpg', 2), ('/home/nano/Desktop/images/10122025/18/45/image_10122025_18_45_35_10667.jpg', 2), ('/home/nano/Desktop/images/10122025/18/45/image_10122025_18_45_24_9658.jpg', 2), ('/home/nano/Desktop/images/10122025/18/45/image_10122025_18_45_15_9686.jpg', 2), ('/home/nano/Desktop/images/10122025/18/44/image_10122025_18_45_05_10686.jpg', 2), ('/home/nano/Desktop/images/10122025/18/44/image_10122025_18_44_54_9602.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 18:46:02.545954 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/18/45/image_10122025_18_45_45_9654.jpg', 2), ('/home/nano/Desktop/images/10122025/18/45/image_10122025_18_45_35_10667.jpg', 2), ('/home/nano/Desktop/images/10122025/18/45/image_10122025_18_45_24_9658.jpg', 2), ('/home/nano/Desktop/images/10122025/18/45/image_10122025_18_45_15_9686.jpg', 2), ('/home/nano/Desktop/images/10122025/18/44/image_10122025_18_45_05_10686.jpg', 2), ('/home/nano/Desktop/images/10122025/18/44/image_10122025_18_44_54_9602.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 18:46:31.978381 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/18/46/image_10122025_18_46_44_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/18/46/image_10122025_18_46_35_10612.jpg', 2), ('/home/nano/Desktop/images/10122025/18/46/image_10122025_18_46_24_9600.jpg', 2), ('/home/nano/Desktop/images/10122025/18/46/image_10122025_18_46_15_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/18/45/image_10122025_18_46_05_10710.jpg', 2), ('/home/nano/Desktop/images/10122025/18/45/image_10122025_18_45_54_9653.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 18:47:02.689428 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/18/46/image_10122025_18_46_44_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/18/46/image_10122025_18_46_35_10612.jpg', 2), ('/home/nano/Desktop/images/10122025/18/46/image_10122025_18_46_24_9600.jpg', 2), ('/home/nano/Desktop/images/10122025/18/46/image_10122025_18_46_15_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/18/45/image_10122025_18_46_05_10710.jpg', 2), ('/home/nano/Desktop/images/10122025/18/45/image_10122025_18_45_54_9653.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 18:47:32.106605 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/18/47/image_10122025_18_47_44_9602.jpg', 2), ('/home/nano/Desktop/images/10122025/18/47/image_10122025_18_47_35_9593.jpg', 2), ('/home/nano/Desktop/images/10122025/18/47/image_10122025_18_47_25_10635.jpg', 2), ('/home/nano/Desktop/images/10122025/18/47/image_10122025_18_47_14_9615.jpg', 2), ('/home/nano/Desktop/images/10122025/18/46/image_10122025_18_47_05_9612.jpg', 2), ('/home/nano/Desktop/images/10122025/18/46/image_10122025_18_46_55_10616.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 18:48:02.765024 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/18/48/image_10122025_18_48_34_9675.jpg', 2), ('/home/nano/Desktop/images/10122025/18/47/image_10122025_18_47_44_9602.jpg', 2), ('/home/nano/Desktop/images/10122025/18/47/image_10122025_18_47_35_9593.jpg', 2), ('/home/nano/Desktop/images/10122025/18/47/image_10122025_18_47_25_10635.jpg', 2), ('/home/nano/Desktop/images/10122025/18/47/image_10122025_18_47_14_9615.jpg', 2), ('/home/nano/Desktop/images/10122025/18/46/image_10122025_18_47_05_9612.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 18:48:32.194955 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/18/48/image_10122025_18_48_45_10633.jpg', 2), ('/home/nano/Desktop/images/10122025/18/48/image_10122025_18_48_34_9675.jpg', 2), ('/home/nano/Desktop/images/10122025/18/48/image_10122025_18_48_25_9647.jpg', 2), ('/home/nano/Desktop/images/10122025/18/48/image_10122025_18_48_15_10650.jpg', 2), ('/home/nano/Desktop/images/10122025/18/47/image_10122025_18_48_04_9626.jpg', 2), ('/home/nano/Desktop/images/10122025/18/47/image_10122025_18_47_55_10611.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 18:49:03.103492 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/18/48/image_10122025_18_48_45_10633.jpg', 2), ('/home/nano/Desktop/images/10122025/18/48/image_10122025_18_48_34_9675.jpg', 2), ('/home/nano/Desktop/images/10122025/18/48/image_10122025_18_48_25_9647.jpg', 2), ('/home/nano/Desktop/images/10122025/18/48/image_10122025_18_48_15_10650.jpg', 2), ('/home/nano/Desktop/images/10122025/18/47/image_10122025_18_48_04_9626.jpg', 2), ('/home/nano/Desktop/images/10122025/18/47/image_10122025_18_47_55_10611.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 18:49:32.372076 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/18/49/image_10122025_18_49_45_10619.jpg', 2), ('/home/nano/Desktop/images/10122025/18/49/image_10122025_18_49_34_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/18/49/image_10122025_18_49_25_9654.jpg', 2), ('/home/nano/Desktop/images/10122025/18/49/image_10122025_18_49_15_10677.jpg', 2), ('/home/nano/Desktop/images/10122025/18/48/image_10122025_18_49_04_9698.jpg', 2), ('/home/nano/Desktop/images/10122025/18/48/image_10122025_18_48_55_9657.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 18:50:02.888307 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/18/49/image_10122025_18_49_45_10619.jpg', 2), ('/home/nano/Desktop/images/10122025/18/49/image_10122025_18_49_34_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/18/49/image_10122025_18_49_25_9654.jpg', 2), ('/home/nano/Desktop/images/10122025/18/49/image_10122025_18_49_15_10677.jpg', 2), ('/home/nano/Desktop/images/10122025/18/48/image_10122025_18_49_04_9698.jpg', 2), ('/home/nano/Desktop/images/10122025/18/48/image_10122025_18_48_55_9657.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 18:50:32.421016 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/18/50/image_10122025_18_50_45_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/18/50/image_10122025_18_50_35_10610.jpg', 2), ('/home/nano/Desktop/images/10122025/18/50/image_10122025_18_50_24_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/18/50/image_10122025_18_50_15_10637.jpg', 2), ('/home/nano/Desktop/images/10122025/18/49/image_10122025_18_50_04_9641.jpg', 2), ('/home/nano/Desktop/images/10122025/18/49/image_10122025_18_49_54_9598.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 18:51:03.262153 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/18/50/image_10122025_18_50_45_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/18/50/image_10122025_18_50_35_10610.jpg', 2), ('/home/nano/Desktop/images/10122025/18/50/image_10122025_18_50_24_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/18/50/image_10122025_18_50_15_10637.jpg', 2), ('/home/nano/Desktop/images/10122025/18/49/image_10122025_18_50_04_9641.jpg', 2), ('/home/nano/Desktop/images/10122025/18/49/image_10122025_18_49_54_9598.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 18:51:32.504058 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/18/51/image_10122025_18_51_44_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/18/51/image_10122025_18_51_35_10612.jpg', 2), ('/home/nano/Desktop/images/10122025/18/51/image_10122025_18_51_24_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/18/51/image_10122025_18_51_14_9636.jpg', 2), ('/home/nano/Desktop/images/10122025/18/50/image_10122025_18_51_05_10639.jpg', 2), ('/home/nano/Desktop/images/10122025/18/50/image_10122025_18_50_54_9608.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 18:52:03.285192 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/18/51/image_10122025_18_51_44_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/18/51/image_10122025_18_51_35_10612.jpg', 2), ('/home/nano/Desktop/images/10122025/18/51/image_10122025_18_51_24_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/18/51/image_10122025_18_51_14_9636.jpg', 2), ('/home/nano/Desktop/images/10122025/18/50/image_10122025_18_51_05_10639.jpg', 2), ('/home/nano/Desktop/images/10122025/18/50/image_10122025_18_50_54_9608.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 18:52:32.574212 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/18/52/image_10122025_18_52_25_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/18/51/image_10122025_18_51_55_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/18/51/image_10122025_18_51_44_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/18/51/image_10122025_18_51_35_10612.jpg', 2), ('/home/nano/Desktop/images/10122025/18/51/image_10122025_18_51_24_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/18/51/image_10122025_18_51_14_9636.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 18:53:03.389942 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/18/52/image_10122025_18_52_25_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/18/51/image_10122025_18_51_55_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/18/51/image_10122025_18_51_44_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/18/51/image_10122025_18_51_35_10612.jpg', 2), ('/home/nano/Desktop/images/10122025/18/51/image_10122025_18_51_24_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/18/51/image_10122025_18_51_14_9636.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 18:53:32.682334 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/18/53/image_10122025_18_53_45_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/18/53/image_10122025_18_53_34_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/18/53/image_10122025_18_53_25_9603.jpg', 2), ('/home/nano/Desktop/images/10122025/18/53/image_10122025_18_53_15_10646.jpg', 2), ('/home/nano/Desktop/images/10122025/18/52/image_10122025_18_52_34_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/18/52/image_10122025_18_52_25_10616.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 18:54:02.688410 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/18/53/image_10122025_18_53_45_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/18/53/image_10122025_18_53_34_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/18/53/image_10122025_18_53_25_9603.jpg', 2), ('/home/nano/Desktop/images/10122025/18/53/image_10122025_18_53_15_10646.jpg', 2), ('/home/nano/Desktop/images/10122025/18/52/image_10122025_18_52_34_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/18/52/image_10122025_18_52_25_10616.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 18:54:31.831259 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/18/54/image_10122025_18_54_45_9849.jpg', 2), ('/home/nano/Desktop/images/10122025/18/54/image_10122025_18_54_35_10690.jpg', 2), ('/home/nano/Desktop/images/10122025/18/54/image_10122025_18_54_24_9636.jpg', 2), ('/home/nano/Desktop/images/10122025/18/54/image_10122025_18_54_15_9644.jpg', 2), ('/home/nano/Desktop/images/10122025/18/53/image_10122025_18_54_05_10642.jpg', 2), ('/home/nano/Desktop/images/10122025/18/53/image_10122025_18_53_54_9613.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 18:55:02.637157 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/18/54/image_10122025_18_54_45_9849.jpg', 2), ('/home/nano/Desktop/images/10122025/18/54/image_10122025_18_54_35_10690.jpg', 2), ('/home/nano/Desktop/images/10122025/18/54/image_10122025_18_54_24_9636.jpg', 2), ('/home/nano/Desktop/images/10122025/18/54/image_10122025_18_54_15_9644.jpg', 2), ('/home/nano/Desktop/images/10122025/18/53/image_10122025_18_54_05_10642.jpg', 2), ('/home/nano/Desktop/images/10122025/18/53/image_10122025_18_53_54_9613.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 18:55:31.875720 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/18/55/image_10122025_18_55_44_9712.jpg', 2), ('/home/nano/Desktop/images/10122025/18/55/image_10122025_18_55_35_9768.jpg', 2), ('/home/nano/Desktop/images/10122025/18/55/image_10122025_18_55_25_10769.jpg', 2), ('/home/nano/Desktop/images/10122025/18/55/image_10122025_18_55_14_9818.jpg', 2), ('/home/nano/Desktop/images/10122025/18/54/image_10122025_18_55_04_9812.jpg', 2), ('/home/nano/Desktop/images/10122025/18/54/image_10122025_18_54_55_9753.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 18:56:02.597814 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/18/55/image_10122025_18_55_44_9712.jpg', 2), ('/home/nano/Desktop/images/10122025/18/55/image_10122025_18_55_35_9768.jpg', 2), ('/home/nano/Desktop/images/10122025/18/55/image_10122025_18_55_25_10769.jpg', 2), ('/home/nano/Desktop/images/10122025/18/55/image_10122025_18_55_14_9818.jpg', 2), ('/home/nano/Desktop/images/10122025/18/54/image_10122025_18_55_04_9812.jpg', 2), ('/home/nano/Desktop/images/10122025/18/54/image_10122025_18_54_55_9753.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 18:56:32.096735 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/18/56/image_10122025_18_56_44_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/18/56/image_10122025_18_56_35_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/18/56/image_10122025_18_56_25_10637.jpg', 2), ('/home/nano/Desktop/images/10122025/18/56/image_10122025_18_56_14_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/18/55/image_10122025_18_56_05_10657.jpg', 2), ('/home/nano/Desktop/images/10122025/18/55/image_10122025_18_55_54_9711.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 18:57:02.688672 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/18/56/image_10122025_18_56_44_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/18/56/image_10122025_18_56_35_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/18/56/image_10122025_18_56_25_10637.jpg', 2), ('/home/nano/Desktop/images/10122025/18/56/image_10122025_18_56_14_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/18/55/image_10122025_18_56_05_10657.jpg', 2), ('/home/nano/Desktop/images/10122025/18/55/image_10122025_18_55_54_9711.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 18:57:32.155793 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/18/57/image_10122025_18_57_45_10609.jpg', 2), ('/home/nano/Desktop/images/10122025/18/57/image_10122025_18_57_34_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/18/57/image_10122025_18_57_25_10642.jpg', 2), ('/home/nano/Desktop/images/10122025/18/57/image_10122025_18_57_14_9625.jpg', 2), ('/home/nano/Desktop/images/10122025/18/56/image_10122025_18_57_05_9614.jpg', 2), ('/home/nano/Desktop/images/10122025/18/56/image_10122025_18_56_55_10611.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 18:59:03.422425 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/18/58/image_10122025_18_58_45_10607.jpg', 2), ('/home/nano/Desktop/images/10122025/18/58/image_10122025_18_58_34_9614.jpg', 2), ('/home/nano/Desktop/images/10122025/18/58/image_10122025_18_58_25_9602.jpg', 2), ('/home/nano/Desktop/images/10122025/18/58/image_10122025_18_58_15_10648.jpg', 2), ('/home/nano/Desktop/images/10122025/18/57/image_10122025_18_58_04_9663.jpg', 2), ('/home/nano/Desktop/images/10122025/18/57/image_10122025_18_57_55_9625.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 18:59:32.328003 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/18/59/image_10122025_18_59_44_9598.jpg', 2), ('/home/nano/Desktop/images/10122025/18/59/image_10122025_18_59_35_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/18/59/image_10122025_18_59_24_9602.jpg', 2), ('/home/nano/Desktop/images/10122025/18/58/image_10122025_18_59_05_10624.jpg', 2), ('/home/nano/Desktop/images/10122025/18/58/image_10122025_18_58_54_9598.jpg', 2), ('/home/nano/Desktop/images/10122025/18/58/image_10122025_18_58_45_10607.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 19:00:02.872728 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/18/59/image_10122025_18_59_44_9598.jpg', 2), ('/home/nano/Desktop/images/10122025/18/59/image_10122025_18_59_35_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/18/59/image_10122025_18_59_24_9602.jpg', 2), ('/home/nano/Desktop/images/10122025/18/58/image_10122025_18_59_05_10624.jpg', 2), ('/home/nano/Desktop/images/10122025/18/58/image_10122025_18_58_54_9598.jpg', 2), ('/home/nano/Desktop/images/10122025/18/58/image_10122025_18_58_45_10607.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 19:00:32.397168 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/19/00/image_10122025_19_00_44_9603.jpg', 2), ('/home/nano/Desktop/images/10122025/19/00/image_10122025_19_00_34_9623.jpg', 2), ('/home/nano/Desktop/images/10122025/19/00/image_10122025_19_00_25_10610.jpg', 2), ('/home/nano/Desktop/images/10122025/19/00/image_10122025_19_00_14_9630.jpg', 2), ('/home/nano/Desktop/images/10122025/18/59/image_10122025_18_59_55_10609.jpg', 2), ('/home/nano/Desktop/images/10122025/18/59/image_10122025_18_59_44_9598.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 19:01:03.235510 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/19/00/image_10122025_19_00_44_9603.jpg', 2), ('/home/nano/Desktop/images/10122025/19/00/image_10122025_19_00_34_9623.jpg', 2), ('/home/nano/Desktop/images/10122025/19/00/image_10122025_19_00_25_10610.jpg', 2), ('/home/nano/Desktop/images/10122025/19/00/image_10122025_19_00_14_9630.jpg', 2), ('/home/nano/Desktop/images/10122025/18/59/image_10122025_18_59_55_10609.jpg', 2), ('/home/nano/Desktop/images/10122025/18/59/image_10122025_18_59_44_9598.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 19:01:32.545512 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/19/01/image_10122025_19_01_45_10628.jpg', 2), ('/home/nano/Desktop/images/10122025/19/01/image_10122025_19_01_34_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/19/01/image_10122025_19_01_25_9602.jpg', 2), ('/home/nano/Desktop/images/10122025/19/01/image_10122025_19_01_15_10627.jpg', 2), ('/home/nano/Desktop/images/10122025/19/00/image_10122025_19_01_04_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/19/00/image_10122025_19_00_55_10617.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 19:02:03.210092 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/19/01/image_10122025_19_01_45_10628.jpg', 2), ('/home/nano/Desktop/images/10122025/19/01/image_10122025_19_01_34_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/19/01/image_10122025_19_01_25_9602.jpg', 2), ('/home/nano/Desktop/images/10122025/19/01/image_10122025_19_01_15_10627.jpg', 2), ('/home/nano/Desktop/images/10122025/19/00/image_10122025_19_01_04_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/19/00/image_10122025_19_00_55_10617.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 19:02:32.651136 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/19/02/image_10122025_19_02_45_9603.jpg', 2), ('/home/nano/Desktop/images/10122025/19/02/image_10122025_19_02_35_10606.jpg', 2), ('/home/nano/Desktop/images/10122025/19/02/image_10122025_19_02_24_9600.jpg', 2), ('/home/nano/Desktop/images/10122025/19/02/image_10122025_19_02_15_9679.jpg', 2), ('/home/nano/Desktop/images/10122025/19/01/image_10122025_19_02_05_10646.jpg', 2), ('/home/nano/Desktop/images/10122025/19/01/image_10122025_19_01_54_9637.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 19:03:03.266233 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/19/02/image_10122025_19_02_45_9603.jpg', 2), ('/home/nano/Desktop/images/10122025/19/02/image_10122025_19_02_35_10606.jpg', 2), ('/home/nano/Desktop/images/10122025/19/02/image_10122025_19_02_24_9600.jpg', 2), ('/home/nano/Desktop/images/10122025/19/02/image_10122025_19_02_15_9679.jpg', 2), ('/home/nano/Desktop/images/10122025/19/01/image_10122025_19_02_05_10646.jpg', 2), ('/home/nano/Desktop/images/10122025/19/01/image_10122025_19_01_54_9637.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 19:03:32.773000 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/19/03/image_10122025_19_03_44_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/19/03/image_10122025_19_03_35_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/19/03/image_10122025_19_03_25_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/19/03/image_10122025_19_03_14_9641.jpg', 2), ('/home/nano/Desktop/images/10122025/19/02/image_10122025_19_03_05_10645.jpg', 2), ('/home/nano/Desktop/images/10122025/19/02/image_10122025_19_02_54_9611.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 19:04:02.722776 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/19/03/image_10122025_19_03_44_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/19/03/image_10122025_19_03_35_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/19/03/image_10122025_19_03_25_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/19/03/image_10122025_19_03_14_9641.jpg', 2), ('/home/nano/Desktop/images/10122025/19/02/image_10122025_19_03_05_10645.jpg', 2), ('/home/nano/Desktop/images/10122025/19/02/image_10122025_19_02_54_9611.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 19:04:31.876303 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/19/04/image_10122025_19_04_45_10602.jpg', 2), ('/home/nano/Desktop/images/10122025/19/04/image_10122025_19_04_34_9590.jpg', 2), ('/home/nano/Desktop/images/10122025/19/04/image_10122025_19_04_25_10599.jpg', 2), ('/home/nano/Desktop/images/10122025/19/04/image_10122025_19_04_14_9626.jpg', 2), ('/home/nano/Desktop/images/10122025/19/03/image_10122025_19_04_05_9658.jpg', 2), ('/home/nano/Desktop/images/10122025/19/03/image_10122025_19_03_55_10626.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 19:05:02.664876 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/19/04/image_10122025_19_04_45_10602.jpg', 2), ('/home/nano/Desktop/images/10122025/19/04/image_10122025_19_04_34_9590.jpg', 2), ('/home/nano/Desktop/images/10122025/19/04/image_10122025_19_04_25_10599.jpg', 2), ('/home/nano/Desktop/images/10122025/19/04/image_10122025_19_04_14_9626.jpg', 2), ('/home/nano/Desktop/images/10122025/19/03/image_10122025_19_04_05_9658.jpg', 2), ('/home/nano/Desktop/images/10122025/19/03/image_10122025_19_03_55_10626.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 19:05:31.953060 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/19/05/image_10122025_19_05_45_10644.jpg', 2), ('/home/nano/Desktop/images/10122025/19/05/image_10122025_19_05_34_9667.jpg', 2), ('/home/nano/Desktop/images/10122025/19/05/image_10122025_19_05_25_9652.jpg', 2), ('/home/nano/Desktop/images/10122025/19/05/image_10122025_19_05_15_10657.jpg', 2), ('/home/nano/Desktop/images/10122025/19/04/image_10122025_19_05_04_9615.jpg', 2), ('/home/nano/Desktop/images/10122025/19/04/image_10122025_19_04_55_9604.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 19:06:02.516931 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/19/05/image_10122025_19_05_45_10644.jpg', 2), ('/home/nano/Desktop/images/10122025/19/05/image_10122025_19_05_34_9667.jpg', 2), ('/home/nano/Desktop/images/10122025/19/05/image_10122025_19_05_25_9652.jpg', 2), ('/home/nano/Desktop/images/10122025/19/05/image_10122025_19_05_15_10657.jpg', 2), ('/home/nano/Desktop/images/10122025/19/04/image_10122025_19_05_04_9615.jpg', 2), ('/home/nano/Desktop/images/10122025/19/04/image_10122025_19_04_55_9604.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 19:06:32.074244 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/19/06/image_10122025_19_06_55_10691.jpg', 2), ('/home/nano/Desktop/images/10122025/19/06/image_10122025_19_06_34_9795.jpg', 2), ('/home/nano/Desktop/images/10122025/19/06/image_10122025_19_06_25_9680.jpg', 2), ('/home/nano/Desktop/images/10122025/19/06/image_10122025_19_06_15_10690.jpg', 2), ('/home/nano/Desktop/images/10122025/19/05/image_10122025_19_06_04_9714.jpg', 2), ('/home/nano/Desktop/images/10122025/19/05/image_10122025_19_05_55_9661.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 19:07:02.920701 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/19/06/image_10122025_19_06_55_10691.jpg', 2), ('/home/nano/Desktop/images/10122025/19/06/image_10122025_19_06_34_9795.jpg', 2), ('/home/nano/Desktop/images/10122025/19/06/image_10122025_19_06_25_9680.jpg', 2), ('/home/nano/Desktop/images/10122025/19/06/image_10122025_19_06_15_10690.jpg', 2), ('/home/nano/Desktop/images/10122025/19/05/image_10122025_19_06_04_9714.jpg', 2), ('/home/nano/Desktop/images/10122025/19/05/image_10122025_19_05_55_9661.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 19:07:32.149077 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/19/07/image_10122025_19_07_45_9632.jpg', 2), ('/home/nano/Desktop/images/10122025/19/07/image_10122025_19_07_35_10821.jpg', 2), ('/home/nano/Desktop/images/10122025/19/07/image_10122025_19_07_24_9802.jpg', 2), ('/home/nano/Desktop/images/10122025/19/07/image_10122025_19_07_14_9664.jpg', 2), ('/home/nano/Desktop/images/10122025/19/06/image_10122025_19_07_05_9824.jpg', 2), ('/home/nano/Desktop/images/10122025/19/06/image_10122025_19_06_55_10691.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 19:08:02.813250 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/19/07/image_10122025_19_07_45_9632.jpg', 2), ('/home/nano/Desktop/images/10122025/19/07/image_10122025_19_07_35_10821.jpg', 2), ('/home/nano/Desktop/images/10122025/19/07/image_10122025_19_07_24_9802.jpg', 2), ('/home/nano/Desktop/images/10122025/19/07/image_10122025_19_07_14_9664.jpg', 2), ('/home/nano/Desktop/images/10122025/19/06/image_10122025_19_07_05_9824.jpg', 2), ('/home/nano/Desktop/images/10122025/19/06/image_10122025_19_06_55_10691.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 19:08:32.330878 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/19/08/image_10122025_19_08_45_10805.jpg', 2), ('/home/nano/Desktop/images/10122025/19/08/image_10122025_19_08_34_9659.jpg', 2), ('/home/nano/Desktop/images/10122025/19/08/image_10122025_19_08_24_9667.jpg', 2), ('/home/nano/Desktop/images/10122025/19/08/image_10122025_19_08_15_9782.jpg', 2), ('/home/nano/Desktop/images/10122025/19/07/image_10122025_19_08_05_10688.jpg', 2), ('/home/nano/Desktop/images/10122025/19/07/image_10122025_19_07_54_9676.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 19:09:03.497226 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/19/08/image_10122025_19_08_45_10805.jpg', 2), ('/home/nano/Desktop/images/10122025/19/08/image_10122025_19_08_34_9659.jpg', 2), ('/home/nano/Desktop/images/10122025/19/08/image_10122025_19_08_24_9667.jpg', 2), ('/home/nano/Desktop/images/10122025/19/08/image_10122025_19_08_15_9782.jpg', 2), ('/home/nano/Desktop/images/10122025/19/07/image_10122025_19_08_05_10688.jpg', 2), ('/home/nano/Desktop/images/10122025/19/07/image_10122025_19_07_54_9676.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 19:09:32.352053 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/19/09/image_10122025_19_09_44_9688.jpg', 2), ('/home/nano/Desktop/images/10122025/19/09/image_10122025_19_09_35_9772.jpg', 2), ('/home/nano/Desktop/images/10122025/19/09/image_10122025_19_09_25_10678.jpg', 2), ('/home/nano/Desktop/images/10122025/19/09/image_10122025_19_09_14_9663.jpg', 2), ('/home/nano/Desktop/images/10122025/19/08/image_10122025_19_09_05_9800.jpg', 2), ('/home/nano/Desktop/images/10122025/19/08/image_10122025_19_08_55_9790.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 19:10:02.976787 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/19/09/image_10122025_19_09_44_9688.jpg', 2), ('/home/nano/Desktop/images/10122025/19/09/image_10122025_19_09_35_9772.jpg', 2), ('/home/nano/Desktop/images/10122025/19/09/image_10122025_19_09_25_10678.jpg', 2), ('/home/nano/Desktop/images/10122025/19/09/image_10122025_19_09_14_9663.jpg', 2), ('/home/nano/Desktop/images/10122025/19/08/image_10122025_19_09_05_9800.jpg', 2), ('/home/nano/Desktop/images/10122025/19/08/image_10122025_19_08_55_9790.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 19:10:32.467272 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/19/10/image_10122025_19_10_44_9601.jpg', 2), ('/home/nano/Desktop/images/10122025/19/10/image_10122025_19_10_35_9632.jpg', 2), ('/home/nano/Desktop/images/10122025/19/10/image_10122025_19_10_25_10639.jpg', 2), ('/home/nano/Desktop/images/10122025/19/10/image_10122025_19_10_14_9657.jpg', 2), ('/home/nano/Desktop/images/10122025/19/09/image_10122025_19_10_05_9661.jpg', 2), ('/home/nano/Desktop/images/10122025/19/09/image_10122025_19_09_55_10632.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 19:11:03.157682 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/19/10/image_10122025_19_10_44_9601.jpg', 2), ('/home/nano/Desktop/images/10122025/19/10/image_10122025_19_10_35_9632.jpg', 2), ('/home/nano/Desktop/images/10122025/19/10/image_10122025_19_10_25_10639.jpg', 2), ('/home/nano/Desktop/images/10122025/19/10/image_10122025_19_10_14_9657.jpg', 2), ('/home/nano/Desktop/images/10122025/19/09/image_10122025_19_10_05_9661.jpg', 2), ('/home/nano/Desktop/images/10122025/19/09/image_10122025_19_09_55_10632.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 19:11:32.567158 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/19/11/image_10122025_19_11_45_10602.jpg', 2), ('/home/nano/Desktop/images/10122025/19/11/image_10122025_19_11_34_9599.jpg', 2), ('/home/nano/Desktop/images/10122025/19/11/image_10122025_19_11_25_9616.jpg', 2), ('/home/nano/Desktop/images/10122025/19/11/image_10122025_19_11_15_10649.jpg', 2), ('/home/nano/Desktop/images/10122025/19/10/image_10122025_19_11_04_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/19/10/image_10122025_19_10_55_10609.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 19:12:03.219876 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/19/11/image_10122025_19_11_45_10602.jpg', 2), ('/home/nano/Desktop/images/10122025/19/11/image_10122025_19_11_34_9599.jpg', 2), ('/home/nano/Desktop/images/10122025/19/11/image_10122025_19_11_25_9616.jpg', 2), ('/home/nano/Desktop/images/10122025/19/11/image_10122025_19_11_15_10649.jpg', 2), ('/home/nano/Desktop/images/10122025/19/10/image_10122025_19_11_04_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/19/10/image_10122025_19_10_55_10609.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 19:12:32.674312 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/19/12/image_10122025_19_12_45_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/19/12/image_10122025_19_12_35_10612.jpg', 2), ('/home/nano/Desktop/images/10122025/19/12/image_10122025_19_12_24_9615.jpg', 2), ('/home/nano/Desktop/images/10122025/19/12/image_10122025_19_12_15_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/19/11/image_10122025_19_12_05_10633.jpg', 2), ('/home/nano/Desktop/images/10122025/19/11/image_10122025_19_11_54_9609.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 19:13:02.499570 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/19/12/image_10122025_19_12_45_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/19/12/image_10122025_19_12_35_10612.jpg', 2), ('/home/nano/Desktop/images/10122025/19/12/image_10122025_19_12_24_9615.jpg', 2), ('/home/nano/Desktop/images/10122025/19/12/image_10122025_19_12_15_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/19/11/image_10122025_19_12_05_10633.jpg', 2), ('/home/nano/Desktop/images/10122025/19/11/image_10122025_19_11_54_9609.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 19:13:31.786688 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/19/13/image_10122025_19_13_44_9599.jpg', 2), ('/home/nano/Desktop/images/10122025/19/13/image_10122025_19_13_35_9603.jpg', 2), ('/home/nano/Desktop/images/10122025/19/13/image_10122025_19_13_25_10602.jpg', 2), ('/home/nano/Desktop/images/10122025/19/13/image_10122025_19_13_14_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/19/12/image_10122025_19_13_05_10607.jpg', 2), ('/home/nano/Desktop/images/10122025/19/12/image_10122025_19_12_54_9605.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 19:14:02.736339 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/19/13/image_10122025_19_13_44_9599.jpg', 2), ('/home/nano/Desktop/images/10122025/19/13/image_10122025_19_13_35_9603.jpg', 2), ('/home/nano/Desktop/images/10122025/19/13/image_10122025_19_13_25_10602.jpg', 2), ('/home/nano/Desktop/images/10122025/19/13/image_10122025_19_13_14_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/19/12/image_10122025_19_13_05_10607.jpg', 2), ('/home/nano/Desktop/images/10122025/19/12/image_10122025_19_12_54_9605.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 19:14:31.898821 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/19/14/image_10122025_19_14_45_10612.jpg', 2), ('/home/nano/Desktop/images/10122025/19/14/image_10122025_19_14_34_9602.jpg', 2), ('/home/nano/Desktop/images/10122025/19/14/image_10122025_19_14_25_9598.jpg', 2), ('/home/nano/Desktop/images/10122025/19/14/image_10122025_19_14_15_10629.jpg', 2), ('/home/nano/Desktop/images/10122025/19/13/image_10122025_19_14_04_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/19/13/image_10122025_19_13_55_10608.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 19:15:02.675860 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/19/14/image_10122025_19_14_45_10612.jpg', 2), ('/home/nano/Desktop/images/10122025/19/14/image_10122025_19_14_34_9602.jpg', 2), ('/home/nano/Desktop/images/10122025/19/14/image_10122025_19_14_25_9598.jpg', 2), ('/home/nano/Desktop/images/10122025/19/14/image_10122025_19_14_15_10629.jpg', 2), ('/home/nano/Desktop/images/10122025/19/13/image_10122025_19_14_04_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/19/13/image_10122025_19_13_55_10608.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 19:15:32.011271 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/19/15/image_10122025_19_15_44_9601.jpg', 2), ('/home/nano/Desktop/images/10122025/19/15/image_10122025_19_15_35_10605.jpg', 2), ('/home/nano/Desktop/images/10122025/19/15/image_10122025_19_15_24_9598.jpg', 2), ('/home/nano/Desktop/images/10122025/19/15/image_10122025_19_15_15_9628.jpg', 2), ('/home/nano/Desktop/images/10122025/19/14/image_10122025_19_15_05_10623.jpg', 2), ('/home/nano/Desktop/images/10122025/19/14/image_10122025_19_14_54_9599.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 19:16:02.592561 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/19/15/image_10122025_19_15_44_9601.jpg', 2), ('/home/nano/Desktop/images/10122025/19/15/image_10122025_19_15_35_10605.jpg', 2), ('/home/nano/Desktop/images/10122025/19/15/image_10122025_19_15_24_9598.jpg', 2), ('/home/nano/Desktop/images/10122025/19/15/image_10122025_19_15_15_9628.jpg', 2), ('/home/nano/Desktop/images/10122025/19/14/image_10122025_19_15_05_10623.jpg', 2), ('/home/nano/Desktop/images/10122025/19/14/image_10122025_19_14_54_9599.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 19:16:32.092636 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/19/16/image_10122025_19_16_44_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/19/16/image_10122025_19_16_35_9597.jpg', 2), ('/home/nano/Desktop/images/10122025/19/16/image_10122025_19_16_25_10612.jpg', 2), ('/home/nano/Desktop/images/10122025/19/16/image_10122025_19_16_14_9613.jpg', 2), ('/home/nano/Desktop/images/10122025/19/15/image_10122025_19_16_05_10613.jpg', 2), ('/home/nano/Desktop/images/10122025/19/15/image_10122025_19_15_54_9614.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 19:17:03.078574 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/19/16/image_10122025_19_16_44_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/19/16/image_10122025_19_16_35_9597.jpg', 2), ('/home/nano/Desktop/images/10122025/19/16/image_10122025_19_16_25_10612.jpg', 2), ('/home/nano/Desktop/images/10122025/19/16/image_10122025_19_16_14_9613.jpg', 2), ('/home/nano/Desktop/images/10122025/19/15/image_10122025_19_16_05_10613.jpg', 2), ('/home/nano/Desktop/images/10122025/19/15/image_10122025_19_15_54_9614.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 19:17:32.296121 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/19/17/image_10122025_19_17_34_9602.jpg', 2), ('/home/nano/Desktop/images/10122025/19/17/image_10122025_19_17_25_9599.jpg', 2), ('/home/nano/Desktop/images/10122025/19/17/image_10122025_19_17_15_10646.jpg', 2), ('/home/nano/Desktop/images/10122025/19/16/image_10122025_19_17_04_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/19/16/image_10122025_19_16_55_10613.jpg', 2), ('/home/nano/Desktop/images/10122025/19/16/image_10122025_19_16_44_9606.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 19:18:02.944901 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/19/17/image_10122025_19_17_34_9602.jpg', 2), ('/home/nano/Desktop/images/10122025/19/17/image_10122025_19_17_25_9599.jpg', 2), ('/home/nano/Desktop/images/10122025/19/17/image_10122025_19_17_15_10646.jpg', 2), ('/home/nano/Desktop/images/10122025/19/16/image_10122025_19_17_04_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/19/16/image_10122025_19_16_55_10613.jpg', 2), ('/home/nano/Desktop/images/10122025/19/16/image_10122025_19_16_44_9606.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 19:18:32.444287 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/19/18/image_10122025_19_18_44_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/19/18/image_10122025_19_18_35_10612.jpg', 2), ('/home/nano/Desktop/images/10122025/19/18/image_10122025_19_18_24_9598.jpg', 2), ('/home/nano/Desktop/images/10122025/19/18/image_10122025_19_18_15_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/19/17/image_10122025_19_18_05_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/19/17/image_10122025_19_17_45_10611.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 19:19:03.585464 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/19/18/image_10122025_19_18_44_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/19/18/image_10122025_19_18_35_10612.jpg', 2), ('/home/nano/Desktop/images/10122025/19/18/image_10122025_19_18_24_9598.jpg', 2), ('/home/nano/Desktop/images/10122025/19/18/image_10122025_19_18_15_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/19/17/image_10122025_19_18_05_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/19/17/image_10122025_19_17_45_10611.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 19:19:32.498565 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/19/19/image_10122025_19_19_44_9603.jpg', 2), ('/home/nano/Desktop/images/10122025/19/19/image_10122025_19_19_35_9597.jpg', 2), ('/home/nano/Desktop/images/10122025/19/19/image_10122025_19_19_25_10610.jpg', 2), ('/home/nano/Desktop/images/10122025/19/19/image_10122025_19_19_14_9623.jpg', 2), ('/home/nano/Desktop/images/10122025/19/18/image_10122025_19_19_05_10611.jpg', 2), ('/home/nano/Desktop/images/10122025/19/18/image_10122025_19_18_54_9600.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 19:20:03.130434 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/19/19/image_10122025_19_19_44_9603.jpg', 2), ('/home/nano/Desktop/images/10122025/19/19/image_10122025_19_19_35_9597.jpg', 2), ('/home/nano/Desktop/images/10122025/19/19/image_10122025_19_19_25_10610.jpg', 2), ('/home/nano/Desktop/images/10122025/19/19/image_10122025_19_19_14_9623.jpg', 2), ('/home/nano/Desktop/images/10122025/19/18/image_10122025_19_19_05_10611.jpg', 2), ('/home/nano/Desktop/images/10122025/19/18/image_10122025_19_18_54_9600.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 19:20:32.552120 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/19/20/image_10122025_19_20_45_10611.jpg', 2), ('/home/nano/Desktop/images/10122025/19/20/image_10122025_19_20_34_9612.jpg', 2), ('/home/nano/Desktop/images/10122025/19/20/image_10122025_19_20_25_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/19/20/image_10122025_19_20_15_10632.jpg', 2), ('/home/nano/Desktop/images/10122025/19/19/image_10122025_19_20_04_9630.jpg', 2), ('/home/nano/Desktop/images/10122025/19/19/image_10122025_19_19_55_10610.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 19:21:03.408356 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/19/20/image_10122025_19_20_45_10611.jpg', 2), ('/home/nano/Desktop/images/10122025/19/20/image_10122025_19_20_34_9612.jpg', 2), ('/home/nano/Desktop/images/10122025/19/20/image_10122025_19_20_25_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/19/20/image_10122025_19_20_15_10632.jpg', 2), ('/home/nano/Desktop/images/10122025/19/19/image_10122025_19_20_04_9630.jpg', 2), ('/home/nano/Desktop/images/10122025/19/19/image_10122025_19_19_55_10610.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 19:21:32.671448 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/19/21/image_10122025_19_21_45_9616.jpg', 2), ('/home/nano/Desktop/images/10122025/19/21/image_10122025_19_21_35_10611.jpg', 2), ('/home/nano/Desktop/images/10122025/19/21/image_10122025_19_21_24_9599.jpg', 2), ('/home/nano/Desktop/images/10122025/19/21/image_10122025_19_21_15_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/19/20/image_10122025_19_21_05_10629.jpg', 2), ('/home/nano/Desktop/images/10122025/19/20/image_10122025_19_20_54_9605.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 19:22:02.278893 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/19/21/image_10122025_19_21_45_9616.jpg', 2), ('/home/nano/Desktop/images/10122025/19/21/image_10122025_19_21_35_10611.jpg', 2), ('/home/nano/Desktop/images/10122025/19/21/image_10122025_19_21_24_9599.jpg', 2), ('/home/nano/Desktop/images/10122025/19/21/image_10122025_19_21_15_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/19/20/image_10122025_19_21_05_10629.jpg', 2), ('/home/nano/Desktop/images/10122025/19/20/image_10122025_19_20_54_9605.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 19:22:31.779519 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/19/22/image_10122025_19_22_44_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/19/22/image_10122025_19_22_35_9602.jpg', 2), ('/home/nano/Desktop/images/10122025/19/22/image_10122025_19_22_25_10608.jpg', 2), ('/home/nano/Desktop/images/10122025/19/22/image_10122025_19_22_14_9626.jpg', 2), ('/home/nano/Desktop/images/10122025/19/21/image_10122025_19_22_05_10629.jpg', 2), ('/home/nano/Desktop/images/10122025/19/21/image_10122025_19_21_54_9597.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 19:23:02.691226 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/19/22/image_10122025_19_22_44_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/19/22/image_10122025_19_22_35_9602.jpg', 2), ('/home/nano/Desktop/images/10122025/19/22/image_10122025_19_22_25_10608.jpg', 2), ('/home/nano/Desktop/images/10122025/19/22/image_10122025_19_22_14_9626.jpg', 2), ('/home/nano/Desktop/images/10122025/19/21/image_10122025_19_22_05_10629.jpg', 2), ('/home/nano/Desktop/images/10122025/19/21/image_10122025_19_21_54_9597.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 19:23:31.875595 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/19/23/image_10122025_19_23_45_10610.jpg', 2), ('/home/nano/Desktop/images/10122025/19/23/image_10122025_19_23_34_9602.jpg', 2), ('/home/nano/Desktop/images/10122025/19/23/image_10122025_19_23_25_9600.jpg', 2), ('/home/nano/Desktop/images/10122025/19/23/image_10122025_19_23_15_10621.jpg', 2), ('/home/nano/Desktop/images/10122025/19/22/image_10122025_19_23_04_9602.jpg', 2), ('/home/nano/Desktop/images/10122025/19/22/image_10122025_19_22_55_10613.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 19:24:02.965228 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/19/23/image_10122025_19_23_45_10610.jpg', 2), ('/home/nano/Desktop/images/10122025/19/23/image_10122025_19_23_34_9602.jpg', 2), ('/home/nano/Desktop/images/10122025/19/23/image_10122025_19_23_25_9600.jpg', 2), ('/home/nano/Desktop/images/10122025/19/23/image_10122025_19_23_15_10621.jpg', 2), ('/home/nano/Desktop/images/10122025/19/22/image_10122025_19_23_04_9602.jpg', 2), ('/home/nano/Desktop/images/10122025/19/22/image_10122025_19_22_55_10613.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 19:24:31.963264 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/19/24/image_10122025_19_24_35_10606.jpg', 2), ('/home/nano/Desktop/images/10122025/19/24/image_10122025_19_24_24_9599.jpg', 2), ('/home/nano/Desktop/images/10122025/19/24/image_10122025_19_24_15_9600.jpg', 2), ('/home/nano/Desktop/images/10122025/19/23/image_10122025_19_24_05_10639.jpg', 2), ('/home/nano/Desktop/images/10122025/19/23/image_10122025_19_23_54_9596.jpg', 2), ('/home/nano/Desktop/images/10122025/19/23/image_10122025_19_23_45_10610.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 19:25:02.868909 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/19/24/image_10122025_19_24_35_10606.jpg', 2), ('/home/nano/Desktop/images/10122025/19/24/image_10122025_19_24_24_9599.jpg', 2), ('/home/nano/Desktop/images/10122025/19/24/image_10122025_19_24_15_9600.jpg', 2), ('/home/nano/Desktop/images/10122025/19/23/image_10122025_19_24_05_10639.jpg', 2), ('/home/nano/Desktop/images/10122025/19/23/image_10122025_19_23_54_9596.jpg', 2), ('/home/nano/Desktop/images/10122025/19/23/image_10122025_19_23_45_10610.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 19:25:32.066740 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/19/25/image_10122025_19_25_44_9602.jpg', 2), ('/home/nano/Desktop/images/10122025/19/25/image_10122025_19_25_35_9603.jpg', 2), ('/home/nano/Desktop/images/10122025/19/25/image_10122025_19_25_14_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/19/24/image_10122025_19_25_05_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/19/24/image_10122025_19_24_54_9599.jpg', 2), ('/home/nano/Desktop/images/10122025/19/24/image_10122025_19_24_35_10606.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 19:26:02.725597 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/19/25/image_10122025_19_25_44_9602.jpg', 2), ('/home/nano/Desktop/images/10122025/19/25/image_10122025_19_25_35_9603.jpg', 2), ('/home/nano/Desktop/images/10122025/19/25/image_10122025_19_25_14_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/19/24/image_10122025_19_25_05_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/19/24/image_10122025_19_24_54_9599.jpg', 2), ('/home/nano/Desktop/images/10122025/19/24/image_10122025_19_24_35_10606.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 19:26:32.129918 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/19/26/image_10122025_19_26_45_10619.jpg', 2), ('/home/nano/Desktop/images/10122025/19/26/image_10122025_19_26_34_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/19/26/image_10122025_19_26_25_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/19/26/image_10122025_19_26_15_10626.jpg', 2), ('/home/nano/Desktop/images/10122025/19/25/image_10122025_19_26_04_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/19/25/image_10122025_19_25_55_10629.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 19:27:02.941063 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/19/26/image_10122025_19_26_45_10619.jpg', 2), ('/home/nano/Desktop/images/10122025/19/26/image_10122025_19_26_34_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/19/26/image_10122025_19_26_25_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/19/26/image_10122025_19_26_15_10626.jpg', 2), ('/home/nano/Desktop/images/10122025/19/25/image_10122025_19_26_04_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/19/25/image_10122025_19_25_55_10629.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 19:27:32.249108 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/19/27/image_10122025_19_27_45_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/19/27/image_10122025_19_27_35_10619.jpg', 2), ('/home/nano/Desktop/images/10122025/19/27/image_10122025_19_27_24_9600.jpg', 2), ('/home/nano/Desktop/images/10122025/19/27/image_10122025_19_27_15_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/19/26/image_10122025_19_27_05_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/19/26/image_10122025_19_26_54_9602.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 19:28:02.811964 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/19/27/image_10122025_19_27_45_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/19/27/image_10122025_19_27_35_10619.jpg', 2), ('/home/nano/Desktop/images/10122025/19/27/image_10122025_19_27_24_9600.jpg', 2), ('/home/nano/Desktop/images/10122025/19/27/image_10122025_19_27_15_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/19/26/image_10122025_19_27_05_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/19/26/image_10122025_19_26_54_9602.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 19:28:32.348517 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/19/28/image_10122025_19_28_44_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/19/28/image_10122025_19_28_35_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/19/28/image_10122025_19_28_25_10627.jpg', 2), ('/home/nano/Desktop/images/10122025/19/28/image_10122025_19_28_14_9623.jpg', 2), ('/home/nano/Desktop/images/10122025/19/27/image_10122025_19_28_05_10628.jpg', 2), ('/home/nano/Desktop/images/10122025/19/27/image_10122025_19_27_54_9600.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 19:29:03.596829 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/19/28/image_10122025_19_28_44_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/19/28/image_10122025_19_28_35_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/19/28/image_10122025_19_28_25_10627.jpg', 2), ('/home/nano/Desktop/images/10122025/19/28/image_10122025_19_28_14_9623.jpg', 2), ('/home/nano/Desktop/images/10122025/19/27/image_10122025_19_28_05_10628.jpg', 2), ('/home/nano/Desktop/images/10122025/19/27/image_10122025_19_27_54_9600.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 19:29:32.527834 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/19/29/image_10122025_19_29_45_10626.jpg', 2), ('/home/nano/Desktop/images/10122025/19/29/image_10122025_19_29_34_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/19/29/image_10122025_19_29_25_9601.jpg', 2), ('/home/nano/Desktop/images/10122025/19/29/image_10122025_19_29_15_10636.jpg', 2), ('/home/nano/Desktop/images/10122025/19/28/image_10122025_19_29_04_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/19/28/image_10122025_19_28_55_10607.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 19:30:03.166079 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/19/29/image_10122025_19_29_45_10626.jpg', 2), ('/home/nano/Desktop/images/10122025/19/29/image_10122025_19_29_34_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/19/29/image_10122025_19_29_25_9601.jpg', 2), ('/home/nano/Desktop/images/10122025/19/29/image_10122025_19_29_15_10636.jpg', 2), ('/home/nano/Desktop/images/10122025/19/28/image_10122025_19_29_04_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/19/28/image_10122025_19_28_55_10607.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 19:30:32.607333 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/19/30/image_10122025_19_30_45_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/19/30/image_10122025_19_30_35_10607.jpg', 2), ('/home/nano/Desktop/images/10122025/19/30/image_10122025_19_30_24_9602.jpg', 2), ('/home/nano/Desktop/images/10122025/19/30/image_10122025_19_30_15_10625.jpg', 2), ('/home/nano/Desktop/images/10122025/19/29/image_10122025_19_30_04_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/19/29/image_10122025_19_29_54_9601.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 19:31:03.535535 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/19/30/image_10122025_19_30_45_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/19/30/image_10122025_19_30_35_10607.jpg', 2), ('/home/nano/Desktop/images/10122025/19/30/image_10122025_19_30_24_9602.jpg', 2), ('/home/nano/Desktop/images/10122025/19/30/image_10122025_19_30_15_10625.jpg', 2), ('/home/nano/Desktop/images/10122025/19/29/image_10122025_19_30_04_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/19/29/image_10122025_19_29_54_9601.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 19:31:32.716292 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/19/31/image_10122025_19_31_44_9602.jpg', 2), ('/home/nano/Desktop/images/10122025/19/31/image_10122025_19_31_35_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/19/31/image_10122025_19_31_25_10610.jpg', 2), ('/home/nano/Desktop/images/10122025/19/31/image_10122025_19_31_14_9638.jpg', 2), ('/home/nano/Desktop/images/10122025/19/30/image_10122025_19_31_05_10620.jpg', 2), ('/home/nano/Desktop/images/10122025/19/30/image_10122025_19_30_54_9612.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 19:32:02.432123 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/19/31/image_10122025_19_31_44_9602.jpg', 2), ('/home/nano/Desktop/images/10122025/19/31/image_10122025_19_31_35_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/19/31/image_10122025_19_31_25_10610.jpg', 2), ('/home/nano/Desktop/images/10122025/19/31/image_10122025_19_31_14_9638.jpg', 2), ('/home/nano/Desktop/images/10122025/19/30/image_10122025_19_31_05_10620.jpg', 2), ('/home/nano/Desktop/images/10122025/19/30/image_10122025_19_30_54_9612.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 19:32:31.898782 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/19/32/image_10122025_19_32_45_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/19/32/image_10122025_19_32_34_9600.jpg', 2), ('/home/nano/Desktop/images/10122025/19/32/image_10122025_19_32_25_10611.jpg', 2), ('/home/nano/Desktop/images/10122025/19/32/image_10122025_19_32_14_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/19/31/image_10122025_19_32_04_9625.jpg', 2), ('/home/nano/Desktop/images/10122025/19/31/image_10122025_19_31_55_10603.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 19:33:02.671276 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/19/32/image_10122025_19_32_45_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/19/32/image_10122025_19_32_34_9600.jpg', 2), ('/home/nano/Desktop/images/10122025/19/32/image_10122025_19_32_25_10611.jpg', 2), ('/home/nano/Desktop/images/10122025/19/32/image_10122025_19_32_14_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/19/31/image_10122025_19_32_04_9625.jpg', 2), ('/home/nano/Desktop/images/10122025/19/31/image_10122025_19_31_55_10603.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 19:33:31.949175 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/19/33/image_10122025_19_33_45_9698.jpg', 2), ('/home/nano/Desktop/images/10122025/19/33/image_10122025_19_33_35_10611.jpg', 2), ('/home/nano/Desktop/images/10122025/19/33/image_10122025_19_33_24_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/19/33/image_10122025_19_33_15_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/19/32/image_10122025_19_33_04_9624.jpg', 2), ('/home/nano/Desktop/images/10122025/19/32/image_10122025_19_32_55_9598.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 19:34:02.800562 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/19/33/image_10122025_19_33_45_9698.jpg', 2), ('/home/nano/Desktop/images/10122025/19/33/image_10122025_19_33_35_10611.jpg', 2), ('/home/nano/Desktop/images/10122025/19/33/image_10122025_19_33_24_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/19/33/image_10122025_19_33_15_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/19/32/image_10122025_19_33_04_9624.jpg', 2), ('/home/nano/Desktop/images/10122025/19/32/image_10122025_19_32_55_9598.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 19:34:32.064787 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/19/34/image_10122025_19_34_44_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/19/34/image_10122025_19_34_35_10625.jpg', 2), ('/home/nano/Desktop/images/10122025/19/34/image_10122025_19_34_24_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/19/34/image_10122025_19_34_15_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/19/33/image_10122025_19_34_05_10670.jpg', 2), ('/home/nano/Desktop/images/10122025/19/33/image_10122025_19_33_54_9636.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 19:35:02.845154 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/19/34/image_10122025_19_34_44_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/19/34/image_10122025_19_34_35_10625.jpg', 2), ('/home/nano/Desktop/images/10122025/19/34/image_10122025_19_34_24_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/19/34/image_10122025_19_34_15_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/19/33/image_10122025_19_34_05_10670.jpg', 2), ('/home/nano/Desktop/images/10122025/19/33/image_10122025_19_33_54_9636.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 19:35:32.156725 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/19/35/image_10122025_19_35_44_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/19/35/image_10122025_19_35_35_9624.jpg', 2), ('/home/nano/Desktop/images/10122025/19/35/image_10122025_19_35_25_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/19/35/image_10122025_19_35_14_9623.jpg', 2), ('/home/nano/Desktop/images/10122025/19/34/image_10122025_19_35_05_9616.jpg', 2), ('/home/nano/Desktop/images/10122025/19/34/image_10122025_19_34_55_10615.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 19:36:02.844746 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/19/35/image_10122025_19_35_44_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/19/35/image_10122025_19_35_35_9624.jpg', 2), ('/home/nano/Desktop/images/10122025/19/35/image_10122025_19_35_25_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/19/35/image_10122025_19_35_14_9623.jpg', 2), ('/home/nano/Desktop/images/10122025/19/34/image_10122025_19_35_05_9616.jpg', 2), ('/home/nano/Desktop/images/10122025/19/34/image_10122025_19_34_55_10615.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 19:36:32.255278 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/19/36/image_10122025_19_36_45_10620.jpg', 2), ('/home/nano/Desktop/images/10122025/19/36/image_10122025_19_36_34_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/19/36/image_10122025_19_36_25_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/19/36/image_10122025_19_36_15_10658.jpg', 2), ('/home/nano/Desktop/images/10122025/19/35/image_10122025_19_36_04_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/19/35/image_10122025_19_35_55_10621.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 19:37:03.128881 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/19/36/image_10122025_19_36_45_10620.jpg', 2), ('/home/nano/Desktop/images/10122025/19/36/image_10122025_19_36_34_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/19/36/image_10122025_19_36_25_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/19/36/image_10122025_19_36_15_10658.jpg', 2), ('/home/nano/Desktop/images/10122025/19/35/image_10122025_19_36_04_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/19/35/image_10122025_19_35_55_10621.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 19:37:32.367927 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/19/37/image_10122025_19_37_45_9616.jpg', 2), ('/home/nano/Desktop/images/10122025/19/37/image_10122025_19_37_35_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/19/37/image_10122025_19_37_24_9623.jpg', 2), ('/home/nano/Desktop/images/10122025/19/37/image_10122025_19_37_15_10638.jpg', 2), ('/home/nano/Desktop/images/10122025/19/36/image_10122025_19_37_04_9631.jpg', 2), ('/home/nano/Desktop/images/10122025/19/36/image_10122025_19_36_55_9610.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 19:38:02.971698 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/19/37/image_10122025_19_37_45_9616.jpg', 2), ('/home/nano/Desktop/images/10122025/19/37/image_10122025_19_37_35_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/19/37/image_10122025_19_37_24_9623.jpg', 2), ('/home/nano/Desktop/images/10122025/19/37/image_10122025_19_37_15_10638.jpg', 2), ('/home/nano/Desktop/images/10122025/19/36/image_10122025_19_37_04_9631.jpg', 2), ('/home/nano/Desktop/images/10122025/19/36/image_10122025_19_36_55_9610.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 19:38:32.479916 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/19/38/image_10122025_19_38_44_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/19/38/image_10122025_19_38_35_10624.jpg', 2), ('/home/nano/Desktop/images/10122025/19/38/image_10122025_19_38_24_9603.jpg', 2), ('/home/nano/Desktop/images/10122025/19/38/image_10122025_19_38_14_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/19/37/image_10122025_19_38_05_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/19/37/image_10122025_19_37_54_9605.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 19:39:03.521792 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/19/38/image_10122025_19_38_44_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/19/38/image_10122025_19_38_35_10624.jpg', 2), ('/home/nano/Desktop/images/10122025/19/38/image_10122025_19_38_24_9603.jpg', 2), ('/home/nano/Desktop/images/10122025/19/38/image_10122025_19_38_14_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/19/37/image_10122025_19_38_05_10618.jpg', 2), ('/home/nano/Desktop/images/10122025/19/37/image_10122025_19_37_54_9605.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 19:39:32.566507 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/19/39/image_10122025_19_39_45_10657.jpg', 2), ('/home/nano/Desktop/images/10122025/19/39/image_10122025_19_39_34_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/19/39/image_10122025_19_39_25_10628.jpg', 2), ('/home/nano/Desktop/images/10122025/19/39/image_10122025_19_39_14_9635.jpg', 2), ('/home/nano/Desktop/images/10122025/19/38/image_10122025_19_39_05_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/19/38/image_10122025_19_38_55_10616.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 19:40:03.263261 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/19/39/image_10122025_19_39_45_10657.jpg', 2), ('/home/nano/Desktop/images/10122025/19/39/image_10122025_19_39_34_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/19/39/image_10122025_19_39_25_10628.jpg', 2), ('/home/nano/Desktop/images/10122025/19/39/image_10122025_19_39_14_9635.jpg', 2), ('/home/nano/Desktop/images/10122025/19/38/image_10122025_19_39_05_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/19/38/image_10122025_19_38_55_10616.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 19:40:32.683032 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/19/40/image_10122025_19_40_45_10623.jpg', 2), ('/home/nano/Desktop/images/10122025/19/40/image_10122025_19_40_34_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/19/40/image_10122025_19_40_25_10611.jpg', 2), ('/home/nano/Desktop/images/10122025/19/40/image_10122025_19_40_14_9647.jpg', 2), ('/home/nano/Desktop/images/10122025/19/39/image_10122025_19_40_04_9747.jpg', 2), ('/home/nano/Desktop/images/10122025/19/39/image_10122025_19_39_55_9674.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 19:41:02.525755 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/19/40/image_10122025_19_40_45_10623.jpg', 2), ('/home/nano/Desktop/images/10122025/19/40/image_10122025_19_40_34_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/19/40/image_10122025_19_40_25_10611.jpg', 2), ('/home/nano/Desktop/images/10122025/19/40/image_10122025_19_40_14_9647.jpg', 2), ('/home/nano/Desktop/images/10122025/19/39/image_10122025_19_40_04_9747.jpg', 2), ('/home/nano/Desktop/images/10122025/19/39/image_10122025_19_39_55_9674.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 19:41:31.773222 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/19/41/image_10122025_19_41_44_9738.jpg', 2), ('/home/nano/Desktop/images/10122025/19/41/image_10122025_19_41_34_9741.jpg', 2), ('/home/nano/Desktop/images/10122025/19/41/image_10122025_19_41_25_9659.jpg', 2), ('/home/nano/Desktop/images/10122025/19/41/image_10122025_19_41_15_10672.jpg', 2), ('/home/nano/Desktop/images/10122025/19/40/image_10122025_19_41_04_9692.jpg', 2), ('/home/nano/Desktop/images/10122025/19/40/image_10122025_19_40_55_9713.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 19:42:02.485582 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/19/41/image_10122025_19_41_44_9738.jpg', 2), ('/home/nano/Desktop/images/10122025/19/41/image_10122025_19_41_34_9741.jpg', 2), ('/home/nano/Desktop/images/10122025/19/41/image_10122025_19_41_25_9659.jpg', 2), ('/home/nano/Desktop/images/10122025/19/41/image_10122025_19_41_15_10672.jpg', 2), ('/home/nano/Desktop/images/10122025/19/40/image_10122025_19_41_04_9692.jpg', 2), ('/home/nano/Desktop/images/10122025/19/40/image_10122025_19_40_55_9713.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 19:42:31.920198 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/19/42/image_10122025_19_42_44_9631.jpg', 2), ('/home/nano/Desktop/images/10122025/19/42/image_10122025_19_42_35_9811.jpg', 2), ('/home/nano/Desktop/images/10122025/19/42/image_10122025_19_42_25_10646.jpg', 2), ('/home/nano/Desktop/images/10122025/19/42/image_10122025_19_42_14_9673.jpg', 2), ('/home/nano/Desktop/images/10122025/19/41/image_10122025_19_42_05_9772.jpg', 2), ('/home/nano/Desktop/images/10122025/19/41/image_10122025_19_41_55_10642.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 19:43:02.621676 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/19/42/image_10122025_19_42_44_9631.jpg', 2), ('/home/nano/Desktop/images/10122025/19/42/image_10122025_19_42_35_9811.jpg', 2), ('/home/nano/Desktop/images/10122025/19/42/image_10122025_19_42_25_10646.jpg', 2), ('/home/nano/Desktop/images/10122025/19/42/image_10122025_19_42_14_9673.jpg', 2), ('/home/nano/Desktop/images/10122025/19/41/image_10122025_19_42_05_9772.jpg', 2), ('/home/nano/Desktop/images/10122025/19/41/image_10122025_19_41_55_10642.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 19:43:31.980384 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/19/43/image_10122025_19_43_45_9777.jpg', 2), ('/home/nano/Desktop/images/10122025/19/43/image_10122025_19_43_35_10671.jpg', 2), ('/home/nano/Desktop/images/10122025/19/43/image_10122025_19_43_24_9691.jpg', 2), ('/home/nano/Desktop/images/10122025/19/43/image_10122025_19_43_14_9688.jpg', 2), ('/home/nano/Desktop/images/10122025/19/42/image_10122025_19_43_05_9678.jpg', 2), ('/home/nano/Desktop/images/10122025/19/42/image_10122025_19_42_55_10688.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 19:44:03.117363 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/19/43/image_10122025_19_43_45_9777.jpg', 2), ('/home/nano/Desktop/images/10122025/19/43/image_10122025_19_43_35_10671.jpg', 2), ('/home/nano/Desktop/images/10122025/19/43/image_10122025_19_43_24_9691.jpg', 2), ('/home/nano/Desktop/images/10122025/19/43/image_10122025_19_43_14_9688.jpg', 2), ('/home/nano/Desktop/images/10122025/19/42/image_10122025_19_43_05_9678.jpg', 2), ('/home/nano/Desktop/images/10122025/19/42/image_10122025_19_42_55_10688.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 19:44:32.104517 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/19/44/image_10122025_19_44_44_9776.jpg', 2), ('/home/nano/Desktop/images/10122025/19/44/image_10122025_19_44_34_9770.jpg', 2), ('/home/nano/Desktop/images/10122025/19/44/image_10122025_19_44_25_9763.jpg', 2), ('/home/nano/Desktop/images/10122025/19/44/image_10122025_19_44_15_10799.jpg', 2), ('/home/nano/Desktop/images/10122025/19/43/image_10122025_19_44_04_9795.jpg', 2), ('/home/nano/Desktop/images/10122025/19/43/image_10122025_19_43_54_9772.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 19:45:02.857728 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/19/44/image_10122025_19_44_44_9776.jpg', 2), ('/home/nano/Desktop/images/10122025/19/44/image_10122025_19_44_34_9770.jpg', 2), ('/home/nano/Desktop/images/10122025/19/44/image_10122025_19_44_25_9763.jpg', 2), ('/home/nano/Desktop/images/10122025/19/44/image_10122025_19_44_15_10799.jpg', 2), ('/home/nano/Desktop/images/10122025/19/43/image_10122025_19_44_04_9795.jpg', 2), ('/home/nano/Desktop/images/10122025/19/43/image_10122025_19_43_54_9772.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 19:45:32.182165 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/19/45/image_10122025_19_45_34_9770.jpg', 2), ('/home/nano/Desktop/images/10122025/19/45/image_10122025_19_45_24_9767.jpg', 2), ('/home/nano/Desktop/images/10122025/19/44/image_10122025_19_44_55_10771.jpg', 2), ('/home/nano/Desktop/images/10122025/19/44/image_10122025_19_44_44_9776.jpg', 2), ('/home/nano/Desktop/images/10122025/19/44/image_10122025_19_44_34_9770.jpg', 2), ('/home/nano/Desktop/images/10122025/19/44/image_10122025_19_44_25_9763.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 19:46:02.813766 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/19/45/image_10122025_19_45_34_9770.jpg', 2), ('/home/nano/Desktop/images/10122025/19/45/image_10122025_19_45_24_9767.jpg', 2), ('/home/nano/Desktop/images/10122025/19/44/image_10122025_19_44_55_10771.jpg', 2), ('/home/nano/Desktop/images/10122025/19/44/image_10122025_19_44_44_9776.jpg', 2), ('/home/nano/Desktop/images/10122025/19/44/image_10122025_19_44_34_9770.jpg', 2), ('/home/nano/Desktop/images/10122025/19/44/image_10122025_19_44_25_9763.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 19:46:32.362754 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/19/46/image_10122025_19_46_45_9771.jpg', 2), ('/home/nano/Desktop/images/10122025/19/46/image_10122025_19_46_25_10780.jpg', 2), ('/home/nano/Desktop/images/10122025/19/46/image_10122025_19_46_14_9791.jpg', 2), ('/home/nano/Desktop/images/10122025/19/45/image_10122025_19_46_04_9774.jpg', 2), ('/home/nano/Desktop/images/10122025/19/45/image_10122025_19_45_45_10777.jpg', 2), ('/home/nano/Desktop/images/10122025/19/45/image_10122025_19_45_34_9770.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 19:47:03.240676 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/19/46/image_10122025_19_46_45_9771.jpg', 2), ('/home/nano/Desktop/images/10122025/19/46/image_10122025_19_46_25_10780.jpg', 2), ('/home/nano/Desktop/images/10122025/19/46/image_10122025_19_46_14_9791.jpg', 2), ('/home/nano/Desktop/images/10122025/19/45/image_10122025_19_46_04_9774.jpg', 2), ('/home/nano/Desktop/images/10122025/19/45/image_10122025_19_45_45_10777.jpg', 2), ('/home/nano/Desktop/images/10122025/19/45/image_10122025_19_45_34_9770.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 19:47:32.436135 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/19/47/image_10122025_19_47_25_9772.jpg', 2), ('/home/nano/Desktop/images/10122025/19/47/image_10122025_19_47_15_10827.jpg', 2), ('/home/nano/Desktop/images/10122025/19/46/image_10122025_19_47_04_9775.jpg', 2), ('/home/nano/Desktop/images/10122025/19/46/image_10122025_19_46_54_9770.jpg', 2), ('/home/nano/Desktop/images/10122025/19/46/image_10122025_19_46_45_9771.jpg', 2), ('/home/nano/Desktop/images/10122025/19/46/image_10122025_19_46_25_10780.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 19:48:03.112654 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/19/47/image_10122025_19_47_25_9772.jpg', 2), ('/home/nano/Desktop/images/10122025/19/47/image_10122025_19_47_15_10827.jpg', 2), ('/home/nano/Desktop/images/10122025/19/46/image_10122025_19_47_04_9775.jpg', 2), ('/home/nano/Desktop/images/10122025/19/46/image_10122025_19_46_54_9770.jpg', 2), ('/home/nano/Desktop/images/10122025/19/46/image_10122025_19_46_45_9771.jpg', 2), ('/home/nano/Desktop/images/10122025/19/46/image_10122025_19_46_25_10780.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 19:48:32.580656 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/19/48/image_10122025_19_48_45_9626.jpg', 2), ('/home/nano/Desktop/images/10122025/19/48/image_10122025_19_48_35_10672.jpg', 2), ('/home/nano/Desktop/images/10122025/19/48/image_10122025_19_48_24_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/19/48/image_10122025_19_48_15_9796.jpg', 2), ('/home/nano/Desktop/images/10122025/19/47/image_10122025_19_48_05_9785.jpg', 2), ('/home/nano/Desktop/images/10122025/19/47/image_10122025_19_47_34_9771.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 19:49:03.699161 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/19/48/image_10122025_19_48_45_9626.jpg', 2), ('/home/nano/Desktop/images/10122025/19/48/image_10122025_19_48_35_10672.jpg', 2), ('/home/nano/Desktop/images/10122025/19/48/image_10122025_19_48_24_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/19/48/image_10122025_19_48_15_9796.jpg', 2), ('/home/nano/Desktop/images/10122025/19/47/image_10122025_19_48_05_9785.jpg', 2), ('/home/nano/Desktop/images/10122025/19/47/image_10122025_19_47_34_9771.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 19:49:32.751079 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/19/49/image_10122025_19_49_44_9668.jpg', 2), ('/home/nano/Desktop/images/10122025/19/49/image_10122025_19_49_35_10654.jpg', 2), ('/home/nano/Desktop/images/10122025/19/49/image_10122025_19_49_24_9640.jpg', 2), ('/home/nano/Desktop/images/10122025/19/49/image_10122025_19_49_14_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/19/48/image_10122025_19_49_05_10653.jpg', 2), ('/home/nano/Desktop/images/10122025/19/48/image_10122025_19_48_54_9672.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 19:50:02.196920 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/19/49/image_10122025_19_49_44_9668.jpg', 2), ('/home/nano/Desktop/images/10122025/19/49/image_10122025_19_49_35_10654.jpg', 2), ('/home/nano/Desktop/images/10122025/19/49/image_10122025_19_49_24_9640.jpg', 2), ('/home/nano/Desktop/images/10122025/19/49/image_10122025_19_49_14_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/19/48/image_10122025_19_49_05_10653.jpg', 2), ('/home/nano/Desktop/images/10122025/19/48/image_10122025_19_48_54_9672.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 19:50:31.787963 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/19/50/image_10122025_19_50_45_9648.jpg', 2), ('/home/nano/Desktop/images/10122025/19/50/image_10122025_19_50_35_10757.jpg', 2), ('/home/nano/Desktop/images/10122025/19/50/image_10122025_19_50_24_9641.jpg', 2), ('/home/nano/Desktop/images/10122025/19/50/image_10122025_19_50_15_9818.jpg', 2), ('/home/nano/Desktop/images/10122025/19/49/image_10122025_19_50_05_10687.jpg', 2), ('/home/nano/Desktop/images/10122025/19/49/image_10122025_19_49_54_9665.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 19:51:02.408827 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/19/50/image_10122025_19_50_45_9648.jpg', 2), ('/home/nano/Desktop/images/10122025/19/50/image_10122025_19_50_35_10757.jpg', 2), ('/home/nano/Desktop/images/10122025/19/50/image_10122025_19_50_24_9641.jpg', 2), ('/home/nano/Desktop/images/10122025/19/50/image_10122025_19_50_15_9818.jpg', 2), ('/home/nano/Desktop/images/10122025/19/49/image_10122025_19_50_05_10687.jpg', 2), ('/home/nano/Desktop/images/10122025/19/49/image_10122025_19_49_54_9665.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 19:51:31.881744 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/19/51/image_10122025_19_51_45_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/19/51/image_10122025_19_51_35_10613.jpg', 2), ('/home/nano/Desktop/images/10122025/19/51/image_10122025_19_51_24_9681.jpg', 2), ('/home/nano/Desktop/images/10122025/19/51/image_10122025_19_51_15_9649.jpg', 2), ('/home/nano/Desktop/images/10122025/19/50/image_10122025_19_51_05_10721.jpg', 2), ('/home/nano/Desktop/images/10122025/19/50/image_10122025_19_50_54_9699.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 19:52:02.398592 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/19/51/image_10122025_19_51_45_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/19/51/image_10122025_19_51_35_10613.jpg', 2), ('/home/nano/Desktop/images/10122025/19/51/image_10122025_19_51_24_9681.jpg', 2), ('/home/nano/Desktop/images/10122025/19/51/image_10122025_19_51_15_9649.jpg', 2), ('/home/nano/Desktop/images/10122025/19/50/image_10122025_19_51_05_10721.jpg', 2), ('/home/nano/Desktop/images/10122025/19/50/image_10122025_19_50_54_9699.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 19:52:31.980937 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/19/52/image_10122025_19_52_44_9603.jpg', 2), ('/home/nano/Desktop/images/10122025/19/52/image_10122025_19_52_35_10604.jpg', 2), ('/home/nano/Desktop/images/10122025/19/52/image_10122025_19_52_24_9599.jpg', 2), ('/home/nano/Desktop/images/10122025/19/52/image_10122025_19_52_14_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/19/51/image_10122025_19_52_05_10641.jpg', 2), ('/home/nano/Desktop/images/10122025/19/51/image_10122025_19_51_54_9603.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 19:53:02.685342 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/19/52/image_10122025_19_52_44_9603.jpg', 2), ('/home/nano/Desktop/images/10122025/19/52/image_10122025_19_52_35_10604.jpg', 2), ('/home/nano/Desktop/images/10122025/19/52/image_10122025_19_52_24_9599.jpg', 2), ('/home/nano/Desktop/images/10122025/19/52/image_10122025_19_52_14_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/19/51/image_10122025_19_52_05_10641.jpg', 2), ('/home/nano/Desktop/images/10122025/19/51/image_10122025_19_51_54_9603.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 19:53:32.134320 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/19/53/image_10122025_19_53_45_10609.jpg', 2), ('/home/nano/Desktop/images/10122025/19/53/image_10122025_19_53_34_9602.jpg', 2), ('/home/nano/Desktop/images/10122025/19/53/image_10122025_19_53_25_10608.jpg', 2), ('/home/nano/Desktop/images/10122025/19/53/image_10122025_19_53_14_9613.jpg', 2), ('/home/nano/Desktop/images/10122025/19/52/image_10122025_19_53_05_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/19/52/image_10122025_19_52_55_10612.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 19:54:02.976053 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/19/53/image_10122025_19_53_45_10609.jpg', 2), ('/home/nano/Desktop/images/10122025/19/53/image_10122025_19_53_34_9602.jpg', 2), ('/home/nano/Desktop/images/10122025/19/53/image_10122025_19_53_25_10608.jpg', 2), ('/home/nano/Desktop/images/10122025/19/53/image_10122025_19_53_14_9613.jpg', 2), ('/home/nano/Desktop/images/10122025/19/52/image_10122025_19_53_05_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/19/52/image_10122025_19_52_55_10612.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 19:54:32.158740 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/19/54/image_10122025_19_54_45_9603.jpg', 2), ('/home/nano/Desktop/images/10122025/19/54/image_10122025_19_54_35_10610.jpg', 2), ('/home/nano/Desktop/images/10122025/19/54/image_10122025_19_54_24_9597.jpg', 2), ('/home/nano/Desktop/images/10122025/19/54/image_10122025_19_54_15_10644.jpg', 2), ('/home/nano/Desktop/images/10122025/19/53/image_10122025_19_54_04_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/19/53/image_10122025_19_53_55_9600.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 19:55:03.082481 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/19/54/image_10122025_19_54_45_9603.jpg', 2), ('/home/nano/Desktop/images/10122025/19/54/image_10122025_19_54_35_10610.jpg', 2), ('/home/nano/Desktop/images/10122025/19/54/image_10122025_19_54_24_9597.jpg', 2), ('/home/nano/Desktop/images/10122025/19/54/image_10122025_19_54_15_10644.jpg', 2), ('/home/nano/Desktop/images/10122025/19/53/image_10122025_19_54_04_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/19/53/image_10122025_19_53_55_9600.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 19:55:32.294078 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/19/55/image_10122025_19_55_44_9601.jpg', 2), ('/home/nano/Desktop/images/10122025/19/55/image_10122025_19_55_25_10604.jpg', 2), ('/home/nano/Desktop/images/10122025/19/55/image_10122025_19_55_14_9636.jpg', 2), ('/home/nano/Desktop/images/10122025/19/54/image_10122025_19_55_05_10613.jpg', 2), ('/home/nano/Desktop/images/10122025/19/54/image_10122025_19_54_54_9595.jpg', 2), ('/home/nano/Desktop/images/10122025/19/54/image_10122025_19_54_45_9603.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 19:56:02.993145 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/19/55/image_10122025_19_55_44_9601.jpg', 2), ('/home/nano/Desktop/images/10122025/19/55/image_10122025_19_55_25_10604.jpg', 2), ('/home/nano/Desktop/images/10122025/19/55/image_10122025_19_55_14_9636.jpg', 2), ('/home/nano/Desktop/images/10122025/19/54/image_10122025_19_55_05_10613.jpg', 2), ('/home/nano/Desktop/images/10122025/19/54/image_10122025_19_54_54_9595.jpg', 2), ('/home/nano/Desktop/images/10122025/19/54/image_10122025_19_54_45_9603.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 19:56:32.411498 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/19/56/image_10122025_19_56_45_10611.jpg', 2), ('/home/nano/Desktop/images/10122025/19/56/image_10122025_19_56_34_9597.jpg', 2), ('/home/nano/Desktop/images/10122025/19/56/image_10122025_19_56_25_10601.jpg', 2), ('/home/nano/Desktop/images/10122025/19/56/image_10122025_19_56_14_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/19/55/image_10122025_19_56_05_9613.jpg', 2), ('/home/nano/Desktop/images/10122025/19/55/image_10122025_19_55_55_10610.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 19:57:03.077455 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/19/56/image_10122025_19_56_45_10611.jpg', 2), ('/home/nano/Desktop/images/10122025/19/56/image_10122025_19_56_34_9597.jpg', 2), ('/home/nano/Desktop/images/10122025/19/56/image_10122025_19_56_25_10601.jpg', 2), ('/home/nano/Desktop/images/10122025/19/56/image_10122025_19_56_14_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/19/55/image_10122025_19_56_05_9613.jpg', 2), ('/home/nano/Desktop/images/10122025/19/55/image_10122025_19_55_55_10610.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 19:57:32.482653 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/19/57/image_10122025_19_57_45_10660.jpg', 2), ('/home/nano/Desktop/images/10122025/19/57/image_10122025_19_57_34_9646.jpg', 2), ('/home/nano/Desktop/images/10122025/19/57/image_10122025_19_57_24_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/19/57/image_10122025_19_57_15_10708.jpg', 2), ('/home/nano/Desktop/images/10122025/19/56/image_10122025_19_57_04_9653.jpg', 2), ('/home/nano/Desktop/images/10122025/19/56/image_10122025_19_56_55_9595.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 19:58:02.945737 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/19/57/image_10122025_19_57_45_10660.jpg', 2), ('/home/nano/Desktop/images/10122025/19/57/image_10122025_19_57_34_9646.jpg', 2), ('/home/nano/Desktop/images/10122025/19/57/image_10122025_19_57_24_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/19/57/image_10122025_19_57_15_10708.jpg', 2), ('/home/nano/Desktop/images/10122025/19/56/image_10122025_19_57_04_9653.jpg', 2), ('/home/nano/Desktop/images/10122025/19/56/image_10122025_19_56_55_9595.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 19:59:02.898328 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/19/58/image_10122025_19_58_45_9651.jpg', 2), ('/home/nano/Desktop/images/10122025/19/58/image_10122025_19_58_35_10651.jpg', 2), ('/home/nano/Desktop/images/10122025/19/58/image_10122025_19_58_24_9613.jpg', 2), ('/home/nano/Desktop/images/10122025/19/58/image_10122025_19_58_15_9626.jpg', 2), ('/home/nano/Desktop/images/10122025/19/57/image_10122025_19_58_05_10629.jpg', 2), ('/home/nano/Desktop/images/10122025/19/57/image_10122025_19_57_54_9625.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 19:59:31.803646 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/19/59/image_10122025_19_59_44_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/19/59/image_10122025_19_59_35_10647.jpg', 2), ('/home/nano/Desktop/images/10122025/19/59/image_10122025_19_59_24_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/19/59/image_10122025_19_59_15_9626.jpg', 2), ('/home/nano/Desktop/images/10122025/19/58/image_10122025_19_59_05_10652.jpg', 2), ('/home/nano/Desktop/images/10122025/19/58/image_10122025_19_58_54_9662.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 20:00:02.428187 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/19/59/image_10122025_19_59_44_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/19/59/image_10122025_19_59_35_10647.jpg', 2), ('/home/nano/Desktop/images/10122025/19/59/image_10122025_19_59_24_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/19/59/image_10122025_19_59_15_9626.jpg', 2), ('/home/nano/Desktop/images/10122025/19/58/image_10122025_19_59_05_10652.jpg', 2), ('/home/nano/Desktop/images/10122025/19/58/image_10122025_19_58_54_9662.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 20:00:31.918453 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/20/00/image_10122025_20_00_44_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/20/00/image_10122025_20_00_35_9660.jpg', 2), ('/home/nano/Desktop/images/10122025/20/00/image_10122025_20_00_25_10648.jpg', 2), ('/home/nano/Desktop/images/10122025/20/00/image_10122025_20_00_14_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/19/59/image_10122025_20_00_05_9659.jpg', 2), ('/home/nano/Desktop/images/10122025/19/59/image_10122025_19_59_55_10651.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 20:01:02.540584 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/20/00/image_10122025_20_00_44_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/20/00/image_10122025_20_00_35_9660.jpg', 2), ('/home/nano/Desktop/images/10122025/20/00/image_10122025_20_00_25_10648.jpg', 2), ('/home/nano/Desktop/images/10122025/20/00/image_10122025_20_00_14_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/19/59/image_10122025_20_00_05_9659.jpg', 2), ('/home/nano/Desktop/images/10122025/19/59/image_10122025_19_59_55_10651.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 20:01:32.005459 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/20/01/image_10122025_20_01_44_9649.jpg', 2), ('/home/nano/Desktop/images/10122025/20/01/image_10122025_20_01_34_9623.jpg', 2), ('/home/nano/Desktop/images/10122025/20/01/image_10122025_20_01_25_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/20/01/image_10122025_20_01_14_9642.jpg', 2), ('/home/nano/Desktop/images/10122025/20/00/image_10122025_20_01_05_9650.jpg', 2), ('/home/nano/Desktop/images/10122025/20/00/image_10122025_20_00_55_10653.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 20:02:02.666444 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/20/01/image_10122025_20_01_44_9649.jpg', 2), ('/home/nano/Desktop/images/10122025/20/01/image_10122025_20_01_34_9623.jpg', 2), ('/home/nano/Desktop/images/10122025/20/01/image_10122025_20_01_25_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/20/01/image_10122025_20_01_14_9642.jpg', 2), ('/home/nano/Desktop/images/10122025/20/00/image_10122025_20_01_05_9650.jpg', 2), ('/home/nano/Desktop/images/10122025/20/00/image_10122025_20_00_55_10653.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 20:02:32.116419 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/20/02/image_10122025_20_02_45_10620.jpg', 2), ('/home/nano/Desktop/images/10122025/20/02/image_10122025_20_02_34_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/20/02/image_10122025_20_02_25_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/20/02/image_10122025_20_02_14_9635.jpg', 2), ('/home/nano/Desktop/images/10122025/20/01/image_10122025_20_02_05_9763.jpg', 2), ('/home/nano/Desktop/images/10122025/20/01/image_10122025_20_01_55_10657.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 20:03:02.883704 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/20/02/image_10122025_20_02_45_10620.jpg', 2), ('/home/nano/Desktop/images/10122025/20/02/image_10122025_20_02_34_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/20/02/image_10122025_20_02_25_10615.jpg', 2), ('/home/nano/Desktop/images/10122025/20/02/image_10122025_20_02_14_9635.jpg', 2), ('/home/nano/Desktop/images/10122025/20/01/image_10122025_20_02_05_9763.jpg', 2), ('/home/nano/Desktop/images/10122025/20/01/image_10122025_20_01_55_10657.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 20:03:32.282402 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/20/03/image_10122025_20_03_45_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/20/03/image_10122025_20_03_35_10608.jpg', 2), ('/home/nano/Desktop/images/10122025/20/03/image_10122025_20_03_24_9598.jpg', 2), ('/home/nano/Desktop/images/10122025/20/03/image_10122025_20_03_15_10622.jpg', 2), ('/home/nano/Desktop/images/10122025/20/02/image_10122025_20_03_04_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/20/02/image_10122025_20_02_55_9605.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 20:04:03.038175 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/20/03/image_10122025_20_03_45_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/20/03/image_10122025_20_03_35_10608.jpg', 2), ('/home/nano/Desktop/images/10122025/20/03/image_10122025_20_03_24_9598.jpg', 2), ('/home/nano/Desktop/images/10122025/20/03/image_10122025_20_03_15_10622.jpg', 2), ('/home/nano/Desktop/images/10122025/20/02/image_10122025_20_03_04_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/20/02/image_10122025_20_02_55_9605.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 20:04:32.393674 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/20/04/image_10122025_20_04_44_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/20/04/image_10122025_20_04_35_10611.jpg', 2), ('/home/nano/Desktop/images/10122025/20/04/image_10122025_20_04_24_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/20/04/image_10122025_20_04_15_9625.jpg', 2), ('/home/nano/Desktop/images/10122025/20/03/image_10122025_20_04_05_10668.jpg', 2), ('/home/nano/Desktop/images/10122025/20/03/image_10122025_20_03_54_9606.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 20:05:03.246055 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/20/04/image_10122025_20_04_44_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/20/04/image_10122025_20_04_35_10611.jpg', 2), ('/home/nano/Desktop/images/10122025/20/04/image_10122025_20_04_24_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/20/04/image_10122025_20_04_15_9625.jpg', 2), ('/home/nano/Desktop/images/10122025/20/03/image_10122025_20_04_05_10668.jpg', 2), ('/home/nano/Desktop/images/10122025/20/03/image_10122025_20_03_54_9606.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 20:05:32.480694 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/20/05/image_10122025_20_05_45_10610.jpg', 2), ('/home/nano/Desktop/images/10122025/20/05/image_10122025_20_05_34_9603.jpg', 2), ('/home/nano/Desktop/images/10122025/20/05/image_10122025_20_05_25_10607.jpg', 2), ('/home/nano/Desktop/images/10122025/20/05/image_10122025_20_05_14_9623.jpg', 2), ('/home/nano/Desktop/images/10122025/20/04/image_10122025_20_05_05_9614.jpg', 2), ('/home/nano/Desktop/images/10122025/20/04/image_10122025_20_04_55_10614.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 20:06:03.166425 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/20/05/image_10122025_20_05_45_10610.jpg', 2), ('/home/nano/Desktop/images/10122025/20/05/image_10122025_20_05_34_9603.jpg', 2), ('/home/nano/Desktop/images/10122025/20/05/image_10122025_20_05_25_10607.jpg', 2), ('/home/nano/Desktop/images/10122025/20/05/image_10122025_20_05_14_9623.jpg', 2), ('/home/nano/Desktop/images/10122025/20/04/image_10122025_20_05_05_9614.jpg', 2), ('/home/nano/Desktop/images/10122025/20/04/image_10122025_20_04_55_10614.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 20:06:32.612183 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/20/06/image_10122025_20_06_45_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/20/06/image_10122025_20_06_34_9597.jpg', 2), ('/home/nano/Desktop/images/10122025/20/06/image_10122025_20_06_25_9603.jpg', 2), ('/home/nano/Desktop/images/10122025/20/06/image_10122025_20_06_15_10651.jpg', 2), ('/home/nano/Desktop/images/10122025/20/05/image_10122025_20_06_04_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/20/05/image_10122025_20_05_55_9614.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 20:07:03.233355 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/20/06/image_10122025_20_06_45_10617.jpg', 2), ('/home/nano/Desktop/images/10122025/20/06/image_10122025_20_06_34_9597.jpg', 2), ('/home/nano/Desktop/images/10122025/20/06/image_10122025_20_06_25_9603.jpg', 2), ('/home/nano/Desktop/images/10122025/20/06/image_10122025_20_06_15_10651.jpg', 2), ('/home/nano/Desktop/images/10122025/20/05/image_10122025_20_06_04_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/20/05/image_10122025_20_05_55_9614.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 20:07:32.681841 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/20/07/image_10122025_20_07_45_9678.jpg', 2), ('/home/nano/Desktop/images/10122025/20/07/image_10122025_20_07_35_10591.jpg', 2), ('/home/nano/Desktop/images/10122025/20/07/image_10122025_20_07_24_9578.jpg', 2), ('/home/nano/Desktop/images/10122025/20/07/image_10122025_20_07_15_9717.jpg', 2), ('/home/nano/Desktop/images/10122025/20/06/image_10122025_20_07_05_10664.jpg', 2), ('/home/nano/Desktop/images/10122025/20/06/image_10122025_20_06_54_9610.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 20:08:02.419671 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/20/07/image_10122025_20_07_45_9678.jpg', 2), ('/home/nano/Desktop/images/10122025/20/07/image_10122025_20_07_35_10591.jpg', 2), ('/home/nano/Desktop/images/10122025/20/07/image_10122025_20_07_24_9578.jpg', 2), ('/home/nano/Desktop/images/10122025/20/07/image_10122025_20_07_15_9717.jpg', 2), ('/home/nano/Desktop/images/10122025/20/06/image_10122025_20_07_05_10664.jpg', 2), ('/home/nano/Desktop/images/10122025/20/06/image_10122025_20_06_54_9610.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 20:08:31.833070 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/20/08/image_10122025_20_08_44_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/20/08/image_10122025_20_08_35_10627.jpg', 2), ('/home/nano/Desktop/images/10122025/20/08/image_10122025_20_08_24_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/20/08/image_10122025_20_08_14_9645.jpg', 2), ('/home/nano/Desktop/images/10122025/20/07/image_10122025_20_08_05_10638.jpg', 2), ('/home/nano/Desktop/images/10122025/20/07/image_10122025_20_07_54_9620.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 20:09:02.709515 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/20/08/image_10122025_20_08_44_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/20/08/image_10122025_20_08_35_10627.jpg', 2), ('/home/nano/Desktop/images/10122025/20/08/image_10122025_20_08_24_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/20/08/image_10122025_20_08_14_9645.jpg', 2), ('/home/nano/Desktop/images/10122025/20/07/image_10122025_20_08_05_10638.jpg', 2), ('/home/nano/Desktop/images/10122025/20/07/image_10122025_20_07_54_9620.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 20:09:31.974293 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/20/09/image_10122025_20_09_44_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/20/09/image_10122025_20_09_34_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/20/09/image_10122025_20_09_25_10649.jpg', 2), ('/home/nano/Desktop/images/10122025/20/09/image_10122025_20_09_14_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/20/08/image_10122025_20_09_05_9630.jpg', 2), ('/home/nano/Desktop/images/10122025/20/08/image_10122025_20_08_55_10622.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 20:10:02.538788 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/20/09/image_10122025_20_09_44_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/20/09/image_10122025_20_09_34_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/20/09/image_10122025_20_09_25_10649.jpg', 2), ('/home/nano/Desktop/images/10122025/20/09/image_10122025_20_09_14_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/20/08/image_10122025_20_09_05_9630.jpg', 2), ('/home/nano/Desktop/images/10122025/20/08/image_10122025_20_08_55_10622.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 20:10:32.047639 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/20/10/image_10122025_20_10_44_9735.jpg', 2), ('/home/nano/Desktop/images/10122025/20/10/image_10122025_20_10_35_9796.jpg', 2), ('/home/nano/Desktop/images/10122025/20/10/image_10122025_20_10_25_9755.jpg', 2), ('/home/nano/Desktop/images/10122025/20/10/image_10122025_20_10_15_10692.jpg', 2), ('/home/nano/Desktop/images/10122025/20/09/image_10122025_20_10_04_9640.jpg', 2), ('/home/nano/Desktop/images/10122025/20/09/image_10122025_20_09_55_10647.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 20:11:02.943163 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/20/10/image_10122025_20_10_44_9735.jpg', 2), ('/home/nano/Desktop/images/10122025/20/10/image_10122025_20_10_35_9796.jpg', 2), ('/home/nano/Desktop/images/10122025/20/10/image_10122025_20_10_25_9755.jpg', 2), ('/home/nano/Desktop/images/10122025/20/10/image_10122025_20_10_15_10692.jpg', 2), ('/home/nano/Desktop/images/10122025/20/09/image_10122025_20_10_04_9640.jpg', 2), ('/home/nano/Desktop/images/10122025/20/09/image_10122025_20_09_55_10647.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 20:11:32.176925 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/20/11/image_10122025_20_11_45_9676.jpg', 2), ('/home/nano/Desktop/images/10122025/20/11/image_10122025_20_11_35_10738.jpg', 2), ('/home/nano/Desktop/images/10122025/20/11/image_10122025_20_11_24_9717.jpg', 2), ('/home/nano/Desktop/images/10122025/20/11/image_10122025_20_11_14_9735.jpg', 2), ('/home/nano/Desktop/images/10122025/20/10/image_10122025_20_11_05_9705.jpg', 2), ('/home/nano/Desktop/images/10122025/20/10/image_10122025_20_10_55_10640.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 20:12:02.971233 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/20/11/image_10122025_20_11_45_9676.jpg', 2), ('/home/nano/Desktop/images/10122025/20/11/image_10122025_20_11_35_10738.jpg', 2), ('/home/nano/Desktop/images/10122025/20/11/image_10122025_20_11_24_9717.jpg', 2), ('/home/nano/Desktop/images/10122025/20/11/image_10122025_20_11_14_9735.jpg', 2), ('/home/nano/Desktop/images/10122025/20/10/image_10122025_20_11_05_9705.jpg', 2), ('/home/nano/Desktop/images/10122025/20/10/image_10122025_20_10_55_10640.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 20:12:32.321928 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/20/12/image_10122025_20_12_45_9668.jpg', 2), ('/home/nano/Desktop/images/10122025/20/12/image_10122025_20_12_35_10687.jpg', 2), ('/home/nano/Desktop/images/10122025/20/12/image_10122025_20_12_24_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/20/12/image_10122025_20_12_15_9692.jpg', 2), ('/home/nano/Desktop/images/10122025/20/11/image_10122025_20_12_05_10702.jpg', 2), ('/home/nano/Desktop/images/10122025/20/11/image_10122025_20_11_54_9699.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 20:13:03.048430 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/20/12/image_10122025_20_12_45_9668.jpg', 2), ('/home/nano/Desktop/images/10122025/20/12/image_10122025_20_12_35_10687.jpg', 2), ('/home/nano/Desktop/images/10122025/20/12/image_10122025_20_12_24_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/20/12/image_10122025_20_12_15_9692.jpg', 2), ('/home/nano/Desktop/images/10122025/20/11/image_10122025_20_12_05_10702.jpg', 2), ('/home/nano/Desktop/images/10122025/20/11/image_10122025_20_11_54_9699.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 20:13:32.437069 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/20/13/image_10122025_20_13_45_9630.jpg', 2), ('/home/nano/Desktop/images/10122025/20/13/image_10122025_20_13_35_10686.jpg', 2), ('/home/nano/Desktop/images/10122025/20/13/image_10122025_20_13_24_9679.jpg', 2), ('/home/nano/Desktop/images/10122025/20/13/image_10122025_20_13_15_9696.jpg', 2), ('/home/nano/Desktop/images/10122025/20/12/image_10122025_20_13_05_10693.jpg', 2), ('/home/nano/Desktop/images/10122025/20/12/image_10122025_20_12_54_9620.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 20:14:03.344519 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/20/13/image_10122025_20_13_45_9630.jpg', 2), ('/home/nano/Desktop/images/10122025/20/13/image_10122025_20_13_35_10686.jpg', 2), ('/home/nano/Desktop/images/10122025/20/13/image_10122025_20_13_24_9679.jpg', 2), ('/home/nano/Desktop/images/10122025/20/13/image_10122025_20_13_15_9696.jpg', 2), ('/home/nano/Desktop/images/10122025/20/12/image_10122025_20_13_05_10693.jpg', 2), ('/home/nano/Desktop/images/10122025/20/12/image_10122025_20_12_54_9620.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 20:14:32.571438 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/20/14/image_10122025_20_14_44_9600.jpg', 2), ('/home/nano/Desktop/images/10122025/20/14/image_10122025_20_14_35_10613.jpg', 2), ('/home/nano/Desktop/images/10122025/20/14/image_10122025_20_14_24_9615.jpg', 2), ('/home/nano/Desktop/images/10122025/20/14/image_10122025_20_14_15_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/20/13/image_10122025_20_14_05_10624.jpg', 2), ('/home/nano/Desktop/images/10122025/20/13/image_10122025_20_13_54_9614.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 20:15:03.332217 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/20/14/image_10122025_20_14_44_9600.jpg', 2), ('/home/nano/Desktop/images/10122025/20/14/image_10122025_20_14_35_10613.jpg', 2), ('/home/nano/Desktop/images/10122025/20/14/image_10122025_20_14_24_9615.jpg', 2), ('/home/nano/Desktop/images/10122025/20/14/image_10122025_20_14_15_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/20/13/image_10122025_20_14_05_10624.jpg', 2), ('/home/nano/Desktop/images/10122025/20/13/image_10122025_20_13_54_9614.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 20:15:32.625868 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/20/15/image_10122025_20_15_45_10631.jpg', 2), ('/home/nano/Desktop/images/10122025/20/15/image_10122025_20_15_34_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/20/15/image_10122025_20_15_25_10606.jpg', 2), ('/home/nano/Desktop/images/10122025/20/15/image_10122025_20_15_14_9615.jpg', 2), ('/home/nano/Desktop/images/10122025/20/14/image_10122025_20_15_05_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/20/14/image_10122025_20_14_55_10632.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 20:16:02.259334 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/20/15/image_10122025_20_15_45_10631.jpg', 2), ('/home/nano/Desktop/images/10122025/20/15/image_10122025_20_15_34_9607.jpg', 2), ('/home/nano/Desktop/images/10122025/20/15/image_10122025_20_15_25_10606.jpg', 2), ('/home/nano/Desktop/images/10122025/20/15/image_10122025_20_15_14_9615.jpg', 2), ('/home/nano/Desktop/images/10122025/20/14/image_10122025_20_15_05_9609.jpg', 2), ('/home/nano/Desktop/images/10122025/20/14/image_10122025_20_14_55_10632.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 20:16:31.773372 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/20/16/image_10122025_20_16_45_10609.jpg', 2), ('/home/nano/Desktop/images/10122025/20/16/image_10122025_20_16_34_9601.jpg', 2), ('/home/nano/Desktop/images/10122025/20/16/image_10122025_20_16_25_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/20/16/image_10122025_20_16_15_10624.jpg', 2), ('/home/nano/Desktop/images/10122025/20/15/image_10122025_20_16_04_9612.jpg', 2), ('/home/nano/Desktop/images/10122025/20/15/image_10122025_20_15_55_9613.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 20:17:02.635871 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/20/16/image_10122025_20_16_45_10609.jpg', 2), ('/home/nano/Desktop/images/10122025/20/16/image_10122025_20_16_34_9601.jpg', 2), ('/home/nano/Desktop/images/10122025/20/16/image_10122025_20_16_25_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/20/16/image_10122025_20_16_15_10624.jpg', 2), ('/home/nano/Desktop/images/10122025/20/15/image_10122025_20_16_04_9612.jpg', 2), ('/home/nano/Desktop/images/10122025/20/15/image_10122025_20_15_55_9613.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 20:17:31.869100 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/20/17/image_10122025_20_17_44_9602.jpg', 2), ('/home/nano/Desktop/images/10122025/20/17/image_10122025_20_17_35_10613.jpg', 2), ('/home/nano/Desktop/images/10122025/20/17/image_10122025_20_17_24_9601.jpg', 2), ('/home/nano/Desktop/images/10122025/20/17/image_10122025_20_17_15_9614.jpg', 2), ('/home/nano/Desktop/images/10122025/20/16/image_10122025_20_17_05_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/20/16/image_10122025_20_16_54_9598.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 20:18:02.504182 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/20/17/image_10122025_20_17_44_9602.jpg', 2), ('/home/nano/Desktop/images/10122025/20/17/image_10122025_20_17_35_10613.jpg', 2), ('/home/nano/Desktop/images/10122025/20/17/image_10122025_20_17_24_9601.jpg', 2), ('/home/nano/Desktop/images/10122025/20/17/image_10122025_20_17_15_9614.jpg', 2), ('/home/nano/Desktop/images/10122025/20/16/image_10122025_20_17_05_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/20/16/image_10122025_20_16_54_9598.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 20:18:32.047012 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/20/18/image_10122025_20_18_44_9640.jpg', 2), ('/home/nano/Desktop/images/10122025/20/18/image_10122025_20_18_34_9655.jpg', 2), ('/home/nano/Desktop/images/10122025/20/18/image_10122025_20_18_25_10604.jpg', 2), ('/home/nano/Desktop/images/10122025/20/18/image_10122025_20_18_14_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/20/17/image_10122025_20_18_05_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/20/17/image_10122025_20_17_55_10610.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 20:19:02.996897 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/20/18/image_10122025_20_18_44_9640.jpg', 2), ('/home/nano/Desktop/images/10122025/20/18/image_10122025_20_18_34_9655.jpg', 2), ('/home/nano/Desktop/images/10122025/20/18/image_10122025_20_18_25_10604.jpg', 2), ('/home/nano/Desktop/images/10122025/20/18/image_10122025_20_18_14_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/20/17/image_10122025_20_18_05_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/20/17/image_10122025_20_17_55_10610.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 20:19:32.274315 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/20/19/image_10122025_20_19_45_10612.jpg', 2), ('/home/nano/Desktop/images/10122025/20/19/image_10122025_20_19_34_9615.jpg', 2), ('/home/nano/Desktop/images/10122025/20/19/image_10122025_20_19_25_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/20/19/image_10122025_20_19_15_10645.jpg', 2), ('/home/nano/Desktop/images/10122025/20/18/image_10122025_20_19_04_9626.jpg', 2), ('/home/nano/Desktop/images/10122025/20/18/image_10122025_20_18_55_10631.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 20:20:02.813792 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/20/19/image_10122025_20_19_45_10612.jpg', 2), ('/home/nano/Desktop/images/10122025/20/19/image_10122025_20_19_34_9615.jpg', 2), ('/home/nano/Desktop/images/10122025/20/19/image_10122025_20_19_25_9604.jpg', 2), ('/home/nano/Desktop/images/10122025/20/19/image_10122025_20_19_15_10645.jpg', 2), ('/home/nano/Desktop/images/10122025/20/18/image_10122025_20_19_04_9626.jpg', 2), ('/home/nano/Desktop/images/10122025/20/18/image_10122025_20_18_55_10631.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 20:20:32.291445 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/20/20/image_10122025_20_20_45_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/20/20/image_10122025_20_20_35_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/20/20/image_10122025_20_20_24_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/20/20/image_10122025_20_20_15_9615.jpg', 2), ('/home/nano/Desktop/images/10122025/20/19/image_10122025_20_20_05_10624.jpg', 2), ('/home/nano/Desktop/images/10122025/20/19/image_10122025_20_19_54_9599.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 20:21:02.897572 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/20/20/image_10122025_20_20_45_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/20/20/image_10122025_20_20_35_10614.jpg', 2), ('/home/nano/Desktop/images/10122025/20/20/image_10122025_20_20_24_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/20/20/image_10122025_20_20_15_9615.jpg', 2), ('/home/nano/Desktop/images/10122025/20/19/image_10122025_20_20_05_10624.jpg', 2), ('/home/nano/Desktop/images/10122025/20/19/image_10122025_20_19_54_9599.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 20:21:32.386399 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/20/21/image_10122025_20_21_44_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/20/21/image_10122025_20_21_35_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/20/21/image_10122025_20_21_25_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/20/21/image_10122025_20_21_14_9624.jpg', 2), ('/home/nano/Desktop/images/10122025/20/20/image_10122025_20_21_05_10629.jpg', 2), ('/home/nano/Desktop/images/10122025/20/20/image_10122025_20_20_54_9597.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 20:22:02.875573 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/20/21/image_10122025_20_21_44_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/20/21/image_10122025_20_21_35_9605.jpg', 2), ('/home/nano/Desktop/images/10122025/20/21/image_10122025_20_21_25_10616.jpg', 2), ('/home/nano/Desktop/images/10122025/20/21/image_10122025_20_21_14_9624.jpg', 2), ('/home/nano/Desktop/images/10122025/20/20/image_10122025_20_21_05_10629.jpg', 2), ('/home/nano/Desktop/images/10122025/20/20/image_10122025_20_20_54_9597.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 20:22:32.468181 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/20/22/image_10122025_20_22_45_10621.jpg', 2), ('/home/nano/Desktop/images/10122025/20/22/image_10122025_20_22_34_9598.jpg', 2), ('/home/nano/Desktop/images/10122025/20/22/image_10122025_20_22_25_10620.jpg', 2), ('/home/nano/Desktop/images/10122025/20/22/image_10122025_20_22_14_9648.jpg', 2), ('/home/nano/Desktop/images/10122025/20/21/image_10122025_20_22_04_9644.jpg', 2), ('/home/nano/Desktop/images/10122025/20/21/image_10122025_20_21_55_10629.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 20:23:03.357858 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/20/22/image_10122025_20_22_45_10621.jpg', 2), ('/home/nano/Desktop/images/10122025/20/22/image_10122025_20_22_34_9598.jpg', 2), ('/home/nano/Desktop/images/10122025/20/22/image_10122025_20_22_25_10620.jpg', 2), ('/home/nano/Desktop/images/10122025/20/22/image_10122025_20_22_14_9648.jpg', 2), ('/home/nano/Desktop/images/10122025/20/21/image_10122025_20_22_04_9644.jpg', 2), ('/home/nano/Desktop/images/10122025/20/21/image_10122025_20_21_55_10629.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 20:23:32.531526 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/20/23/image_10122025_20_23_45_10593.jpg', 2), ('/home/nano/Desktop/images/10122025/20/23/image_10122025_20_23_34_9631.jpg', 2), ('/home/nano/Desktop/images/10122025/20/23/image_10122025_20_23_24_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/20/23/image_10122025_20_23_15_10636.jpg', 2), ('/home/nano/Desktop/images/10122025/20/22/image_10122025_20_23_04_9643.jpg', 2), ('/home/nano/Desktop/images/10122025/20/22/image_10122025_20_22_55_9603.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 20:24:03.627976 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/20/23/image_10122025_20_23_45_10593.jpg', 2), ('/home/nano/Desktop/images/10122025/20/23/image_10122025_20_23_34_9631.jpg', 2), ('/home/nano/Desktop/images/10122025/20/23/image_10122025_20_23_24_9610.jpg', 2), ('/home/nano/Desktop/images/10122025/20/23/image_10122025_20_23_15_10636.jpg', 2), ('/home/nano/Desktop/images/10122025/20/22/image_10122025_20_23_04_9643.jpg', 2), ('/home/nano/Desktop/images/10122025/20/22/image_10122025_20_22_55_9603.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 20:24:32.641879 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/20/24/image_10122025_20_24_44_9602.jpg', 2), ('/home/nano/Desktop/images/10122025/20/24/image_10122025_20_24_35_10628.jpg', 2), ('/home/nano/Desktop/images/10122025/20/24/image_10122025_20_24_24_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/20/24/image_10122025_20_24_15_9644.jpg', 2), ('/home/nano/Desktop/images/10122025/20/23/image_10122025_20_24_05_10636.jpg', 2), ('/home/nano/Desktop/images/10122025/20/23/image_10122025_20_23_54_9602.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 20:25:02.406338 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/20/24/image_10122025_20_24_44_9602.jpg', 2), ('/home/nano/Desktop/images/10122025/20/24/image_10122025_20_24_35_10628.jpg', 2), ('/home/nano/Desktop/images/10122025/20/24/image_10122025_20_24_24_9606.jpg', 2), ('/home/nano/Desktop/images/10122025/20/24/image_10122025_20_24_15_9644.jpg', 2), ('/home/nano/Desktop/images/10122025/20/23/image_10122025_20_24_05_10636.jpg', 2), ('/home/nano/Desktop/images/10122025/20/23/image_10122025_20_23_54_9602.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 20:25:31.818601 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/20/25/image_10122025_20_25_45_10609.jpg', 2), ('/home/nano/Desktop/images/10122025/20/25/image_10122025_20_25_34_9593.jpg', 2), ('/home/nano/Desktop/images/10122025/20/25/image_10122025_20_25_25_10606.jpg', 2), ('/home/nano/Desktop/images/10122025/20/25/image_10122025_20_25_14_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/20/24/image_10122025_20_25_05_9626.jpg', 2), ('/home/nano/Desktop/images/10122025/20/24/image_10122025_20_24_55_10610.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 20:26:02.271210 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/20/25/image_10122025_20_25_45_10609.jpg', 2), ('/home/nano/Desktop/images/10122025/20/25/image_10122025_20_25_34_9593.jpg', 2), ('/home/nano/Desktop/images/10122025/20/25/image_10122025_20_25_25_10606.jpg', 2), ('/home/nano/Desktop/images/10122025/20/25/image_10122025_20_25_14_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/20/24/image_10122025_20_25_05_9626.jpg', 2), ('/home/nano/Desktop/images/10122025/20/24/image_10122025_20_24_55_10610.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 20:26:31.887844 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/20/26/image_10122025_20_26_45_10636.jpg', 2), ('/home/nano/Desktop/images/10122025/20/26/image_10122025_20_26_34_9634.jpg', 2), ('/home/nano/Desktop/images/10122025/20/26/image_10122025_20_26_25_9603.jpg', 2), ('/home/nano/Desktop/images/10122025/20/26/image_10122025_20_26_15_10646.jpg', 2), ('/home/nano/Desktop/images/10122025/20/25/image_10122025_20_26_04_9600.jpg', 2), ('/home/nano/Desktop/images/10122025/20/25/image_10122025_20_25_55_9604.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 20:27:02.901629 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/20/26/image_10122025_20_26_45_10636.jpg', 2), ('/home/nano/Desktop/images/10122025/20/26/image_10122025_20_26_34_9634.jpg', 2), ('/home/nano/Desktop/images/10122025/20/26/image_10122025_20_26_25_9603.jpg', 2), ('/home/nano/Desktop/images/10122025/20/26/image_10122025_20_26_15_10646.jpg', 2), ('/home/nano/Desktop/images/10122025/20/25/image_10122025_20_26_04_9600.jpg', 2), ('/home/nano/Desktop/images/10122025/20/25/image_10122025_20_25_55_9604.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 20:27:32.030510 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/20/27/image_10122025_20_27_45_9635.jpg', 2), ('/home/nano/Desktop/images/10122025/20/27/image_10122025_20_27_35_10646.jpg', 2), ('/home/nano/Desktop/images/10122025/20/27/image_10122025_20_27_24_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/20/27/image_10122025_20_27_15_10657.jpg', 2), ('/home/nano/Desktop/images/10122025/20/26/image_10122025_20_27_04_9652.jpg', 2), ('/home/nano/Desktop/images/10122025/20/26/image_10122025_20_26_54_9634.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 20:28:02.518900 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/20/27/image_10122025_20_27_45_9635.jpg', 2), ('/home/nano/Desktop/images/10122025/20/27/image_10122025_20_27_35_10646.jpg', 2), ('/home/nano/Desktop/images/10122025/20/27/image_10122025_20_27_24_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/20/27/image_10122025_20_27_15_10657.jpg', 2), ('/home/nano/Desktop/images/10122025/20/26/image_10122025_20_27_04_9652.jpg', 2), ('/home/nano/Desktop/images/10122025/20/26/image_10122025_20_26_54_9634.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 20:28:32.050835 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/20/28/image_10122025_20_28_45_9645.jpg', 2), ('/home/nano/Desktop/images/10122025/20/28/image_10122025_20_28_35_10663.jpg', 2), ('/home/nano/Desktop/images/10122025/20/28/image_10122025_20_28_24_9633.jpg', 2), ('/home/nano/Desktop/images/10122025/20/28/image_10122025_20_28_15_9642.jpg', 2), ('/home/nano/Desktop/images/10122025/20/27/image_10122025_20_28_05_10643.jpg', 2), ('/home/nano/Desktop/images/10122025/20/27/image_10122025_20_27_54_9618.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 20:29:03.083966 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/20/28/image_10122025_20_28_45_9645.jpg', 2), ('/home/nano/Desktop/images/10122025/20/28/image_10122025_20_28_35_10663.jpg', 2), ('/home/nano/Desktop/images/10122025/20/28/image_10122025_20_28_24_9633.jpg', 2), ('/home/nano/Desktop/images/10122025/20/28/image_10122025_20_28_15_9642.jpg', 2), ('/home/nano/Desktop/images/10122025/20/27/image_10122025_20_28_05_10643.jpg', 2), ('/home/nano/Desktop/images/10122025/20/27/image_10122025_20_27_54_9618.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 20:29:32.235376 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/20/29/image_10122025_20_29_44_9664.jpg', 2), ('/home/nano/Desktop/images/10122025/20/29/image_10122025_20_29_35_9623.jpg', 2), ('/home/nano/Desktop/images/10122025/20/29/image_10122025_20_29_25_10610.jpg', 2), ('/home/nano/Desktop/images/10122025/20/29/image_10122025_20_29_14_9630.jpg', 2), ('/home/nano/Desktop/images/10122025/20/28/image_10122025_20_29_05_10657.jpg', 2), ('/home/nano/Desktop/images/10122025/20/28/image_10122025_20_28_54_9659.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 20:30:02.791234 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/20/29/image_10122025_20_29_44_9664.jpg', 2), ('/home/nano/Desktop/images/10122025/20/29/image_10122025_20_29_35_9623.jpg', 2), ('/home/nano/Desktop/images/10122025/20/29/image_10122025_20_29_25_10610.jpg', 2), ('/home/nano/Desktop/images/10122025/20/29/image_10122025_20_29_14_9630.jpg', 2), ('/home/nano/Desktop/images/10122025/20/28/image_10122025_20_29_05_10657.jpg', 2), ('/home/nano/Desktop/images/10122025/20/28/image_10122025_20_28_54_9659.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 20:30:32.330612 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/20/30/image_10122025_20_30_44_9629.jpg', 2), ('/home/nano/Desktop/images/10122025/20/30/image_10122025_20_30_35_9640.jpg', 2), ('/home/nano/Desktop/images/10122025/20/30/image_10122025_20_30_25_10622.jpg', 2), ('/home/nano/Desktop/images/10122025/20/30/image_10122025_20_30_14_9652.jpg', 2), ('/home/nano/Desktop/images/10122025/20/29/image_10122025_20_30_05_9652.jpg', 2), ('/home/nano/Desktop/images/10122025/20/29/image_10122025_20_29_55_10667.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 20:31:03.219923 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/20/30/image_10122025_20_30_44_9629.jpg', 2), ('/home/nano/Desktop/images/10122025/20/30/image_10122025_20_30_35_9640.jpg', 2), ('/home/nano/Desktop/images/10122025/20/30/image_10122025_20_30_25_10622.jpg', 2), ('/home/nano/Desktop/images/10122025/20/30/image_10122025_20_30_14_9652.jpg', 2), ('/home/nano/Desktop/images/10122025/20/29/image_10122025_20_30_05_9652.jpg', 2), ('/home/nano/Desktop/images/10122025/20/29/image_10122025_20_29_55_10667.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 20:31:32.408106 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/20/31/image_10122025_20_31_45_10619.jpg', 2), ('/home/nano/Desktop/images/10122025/20/31/image_10122025_20_31_34_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/20/31/image_10122025_20_31_25_10613.jpg', 2), ('/home/nano/Desktop/images/10122025/20/31/image_10122025_20_31_14_9637.jpg', 2), ('/home/nano/Desktop/images/10122025/20/30/image_10122025_20_31_04_9628.jpg', 2), ('/home/nano/Desktop/images/10122025/20/30/image_10122025_20_30_55_10639.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 20:32:03.005130 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/20/31/image_10122025_20_31_45_10619.jpg', 2), ('/home/nano/Desktop/images/10122025/20/31/image_10122025_20_31_34_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/20/31/image_10122025_20_31_25_10613.jpg', 2), ('/home/nano/Desktop/images/10122025/20/31/image_10122025_20_31_14_9637.jpg', 2), ('/home/nano/Desktop/images/10122025/20/30/image_10122025_20_31_04_9628.jpg', 2), ('/home/nano/Desktop/images/10122025/20/30/image_10122025_20_30_55_10639.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 20:32:32.517007 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/20/32/image_10122025_20_32_45_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/20/32/image_10122025_20_32_35_10631.jpg', 2), ('/home/nano/Desktop/images/10122025/20/32/image_10122025_20_32_24_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/20/32/image_10122025_20_32_15_10634.jpg', 2), ('/home/nano/Desktop/images/10122025/20/31/image_10122025_20_32_04_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/20/31/image_10122025_20_31_55_9620.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 20:33:03.163310 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/20/32/image_10122025_20_32_45_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/20/32/image_10122025_20_32_35_10631.jpg', 2), ('/home/nano/Desktop/images/10122025/20/32/image_10122025_20_32_24_9608.jpg', 2), ('/home/nano/Desktop/images/10122025/20/32/image_10122025_20_32_15_10634.jpg', 2), ('/home/nano/Desktop/images/10122025/20/31/image_10122025_20_32_04_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/20/31/image_10122025_20_31_55_9620.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 20:33:32.571718 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/20/33/image_10122025_20_33_44_9603.jpg', 2), ('/home/nano/Desktop/images/10122025/20/33/image_10122025_20_33_35_10610.jpg', 2), ('/home/nano/Desktop/images/10122025/20/33/image_10122025_20_33_24_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/20/33/image_10122025_20_33_15_9648.jpg', 2), ('/home/nano/Desktop/images/10122025/20/32/image_10122025_20_33_05_10655.jpg', 2), ('/home/nano/Desktop/images/10122025/20/32/image_10122025_20_32_54_9604.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 20:34:03.456765 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/20/33/image_10122025_20_33_44_9603.jpg', 2), ('/home/nano/Desktop/images/10122025/20/33/image_10122025_20_33_35_10610.jpg', 2), ('/home/nano/Desktop/images/10122025/20/33/image_10122025_20_33_24_9611.jpg', 2), ('/home/nano/Desktop/images/10122025/20/33/image_10122025_20_33_15_9648.jpg', 2), ('/home/nano/Desktop/images/10122025/20/32/image_10122025_20_33_05_10655.jpg', 2), ('/home/nano/Desktop/images/10122025/20/32/image_10122025_20_32_54_9604.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 20:34:32.695949 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/20/34/image_10122025_20_34_44_9616.jpg', 2), ('/home/nano/Desktop/images/10122025/20/34/image_10122025_20_34_25_10606.jpg', 2), ('/home/nano/Desktop/images/10122025/20/34/image_10122025_20_34_14_9640.jpg', 2), ('/home/nano/Desktop/images/10122025/20/33/image_10122025_20_34_05_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/20/33/image_10122025_20_33_55_10611.jpg', 2), ('/home/nano/Desktop/images/10122025/20/33/image_10122025_20_33_44_9603.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 20:35:02.369504 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/20/34/image_10122025_20_34_44_9616.jpg', 2), ('/home/nano/Desktop/images/10122025/20/34/image_10122025_20_34_25_10606.jpg', 2), ('/home/nano/Desktop/images/10122025/20/34/image_10122025_20_34_14_9640.jpg', 2), ('/home/nano/Desktop/images/10122025/20/33/image_10122025_20_34_05_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/20/33/image_10122025_20_33_55_10611.jpg', 2), ('/home/nano/Desktop/images/10122025/20/33/image_10122025_20_33_44_9603.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 20:35:31.844529 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/20/35/image_10122025_20_35_45_10629.jpg', 2), ('/home/nano/Desktop/images/10122025/20/35/image_10122025_20_35_34_9616.jpg', 2), ('/home/nano/Desktop/images/10122025/20/34/image_10122025_20_35_04_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/20/34/image_10122025_20_34_55_10626.jpg', 2), ('/home/nano/Desktop/images/10122025/20/34/image_10122025_20_34_44_9616.jpg', 2), ('/home/nano/Desktop/images/10122025/20/34/image_10122025_20_34_25_10606.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 20:36:02.335565 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/20/35/image_10122025_20_35_45_10629.jpg', 2), ('/home/nano/Desktop/images/10122025/20/35/image_10122025_20_35_34_9616.jpg', 2), ('/home/nano/Desktop/images/10122025/20/34/image_10122025_20_35_04_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/20/34/image_10122025_20_34_55_10626.jpg', 2), ('/home/nano/Desktop/images/10122025/20/34/image_10122025_20_34_44_9616.jpg', 2), ('/home/nano/Desktop/images/10122025/20/34/image_10122025_20_34_25_10606.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 20:36:31.931833 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/20/36/image_10122025_20_36_35_10646.jpg', 2), ('/home/nano/Desktop/images/10122025/20/35/image_10122025_20_36_04_9624.jpg', 2), ('/home/nano/Desktop/images/10122025/20/35/image_10122025_20_35_55_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/20/35/image_10122025_20_35_45_10629.jpg', 2), ('/home/nano/Desktop/images/10122025/20/35/image_10122025_20_35_34_9616.jpg', 2), ('/home/nano/Desktop/images/10122025/20/34/image_10122025_20_35_04_9617.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 20:37:02.782101 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/20/37/image_10122025_20_37_44_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/20/36/image_10122025_20_36_35_10646.jpg', 2), ('/home/nano/Desktop/images/10122025/20/35/image_10122025_20_36_04_9624.jpg', 2), ('/home/nano/Desktop/images/10122025/20/35/image_10122025_20_35_55_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/20/35/image_10122025_20_35_45_10629.jpg', 2), ('/home/nano/Desktop/images/10122025/20/35/image_10122025_20_35_34_9616.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 20:37:32.018195 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/20/37/image_10122025_20_37_44_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/20/36/image_10122025_20_36_35_10646.jpg', 2), ('/home/nano/Desktop/images/10122025/20/35/image_10122025_20_36_04_9624.jpg', 2), ('/home/nano/Desktop/images/10122025/20/35/image_10122025_20_35_55_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/20/35/image_10122025_20_35_45_10629.jpg', 2), ('/home/nano/Desktop/images/10122025/20/35/image_10122025_20_35_34_9616.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 20:38:02.687736 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/20/37/image_10122025_20_37_44_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/20/36/image_10122025_20_36_35_10646.jpg', 2), ('/home/nano/Desktop/images/10122025/20/35/image_10122025_20_36_04_9624.jpg', 2), ('/home/nano/Desktop/images/10122025/20/35/image_10122025_20_35_55_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/20/35/image_10122025_20_35_45_10629.jpg', 2), ('/home/nano/Desktop/images/10122025/20/35/image_10122025_20_35_34_9616.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 20:38:32.149427 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/20/38/image_10122025_20_38_44_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/20/38/image_10122025_20_38_35_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/20/38/image_10122025_20_38_14_9632.jpg', 2), ('/home/nano/Desktop/images/10122025/20/37/image_10122025_20_38_05_9633.jpg', 2), ('/home/nano/Desktop/images/10122025/20/37/image_10122025_20_37_44_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/20/36/image_10122025_20_36_54_9621.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 20:39:03.130767 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/20/38/image_10122025_20_38_44_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/20/38/image_10122025_20_38_35_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/20/38/image_10122025_20_38_14_9632.jpg', 2), ('/home/nano/Desktop/images/10122025/20/37/image_10122025_20_38_05_9633.jpg', 2), ('/home/nano/Desktop/images/10122025/20/37/image_10122025_20_37_44_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/20/36/image_10122025_20_36_54_9621.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 20:39:32.236668 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/20/39/image_10122025_20_39_34_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/20/39/image_10122025_20_39_25_9615.jpg', 2), ('/home/nano/Desktop/images/10122025/20/38/image_10122025_20_39_04_9636.jpg', 2), ('/home/nano/Desktop/images/10122025/20/38/image_10122025_20_38_55_10629.jpg', 2), ('/home/nano/Desktop/images/10122025/20/38/image_10122025_20_38_44_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/20/38/image_10122025_20_38_35_9619.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 20:40:02.710377 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/20/39/image_10122025_20_39_34_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/20/39/image_10122025_20_39_25_9615.jpg', 2), ('/home/nano/Desktop/images/10122025/20/38/image_10122025_20_39_04_9636.jpg', 2), ('/home/nano/Desktop/images/10122025/20/38/image_10122025_20_38_55_10629.jpg', 2), ('/home/nano/Desktop/images/10122025/20/38/image_10122025_20_38_44_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/20/38/image_10122025_20_38_35_9619.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 20:40:32.336931 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/20/40/image_10122025_20_40_45_10628.jpg', 2), ('/home/nano/Desktop/images/10122025/20/40/image_10122025_20_40_34_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/20/40/image_10122025_20_40_24_9635.jpg', 2), ('/home/nano/Desktop/images/10122025/20/39/image_10122025_20_39_45_10632.jpg', 2), ('/home/nano/Desktop/images/10122025/20/39/image_10122025_20_39_34_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/20/39/image_10122025_20_39_25_9615.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 20:41:03.200567 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/20/40/image_10122025_20_40_45_10628.jpg', 2), ('/home/nano/Desktop/images/10122025/20/40/image_10122025_20_40_34_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/20/40/image_10122025_20_40_24_9635.jpg', 2), ('/home/nano/Desktop/images/10122025/20/39/image_10122025_20_39_45_10632.jpg', 2), ('/home/nano/Desktop/images/10122025/20/39/image_10122025_20_39_34_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/20/39/image_10122025_20_39_25_9615.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 20:41:32.433279 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/20/41/image_10122025_20_41_24_9634.jpg', 2), ('/home/nano/Desktop/images/10122025/20/41/image_10122025_20_41_15_9647.jpg', 2), ('/home/nano/Desktop/images/10122025/20/40/image_10122025_20_40_54_9615.jpg', 2), ('/home/nano/Desktop/images/10122025/20/40/image_10122025_20_40_45_10628.jpg', 2), ('/home/nano/Desktop/images/10122025/20/40/image_10122025_20_40_34_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/20/40/image_10122025_20_40_24_9635.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 20:42:03.076497 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/20/41/image_10122025_20_41_24_9634.jpg', 2), ('/home/nano/Desktop/images/10122025/20/41/image_10122025_20_41_15_9647.jpg', 2), ('/home/nano/Desktop/images/10122025/20/40/image_10122025_20_40_54_9615.jpg', 2), ('/home/nano/Desktop/images/10122025/20/40/image_10122025_20_40_45_10628.jpg', 2), ('/home/nano/Desktop/images/10122025/20/40/image_10122025_20_40_34_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/20/40/image_10122025_20_40_24_9635.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 20:42:32.591877 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/20/42/image_10122025_20_42_44_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/20/42/image_10122025_20_42_14_9636.jpg', 2), ('/home/nano/Desktop/images/10122025/20/41/image_10122025_20_41_54_9634.jpg', 2), ('/home/nano/Desktop/images/10122025/20/41/image_10122025_20_41_24_9634.jpg', 2), ('/home/nano/Desktop/images/10122025/20/41/image_10122025_20_41_15_9647.jpg', 2), ('/home/nano/Desktop/images/10122025/20/40/image_10122025_20_40_54_9615.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 20:43:03.312319 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/20/42/image_10122025_20_42_44_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/20/42/image_10122025_20_42_14_9636.jpg', 2), ('/home/nano/Desktop/images/10122025/20/41/image_10122025_20_41_54_9634.jpg', 2), ('/home/nano/Desktop/images/10122025/20/41/image_10122025_20_41_24_9634.jpg', 2), ('/home/nano/Desktop/images/10122025/20/41/image_10122025_20_41_15_9647.jpg', 2), ('/home/nano/Desktop/images/10122025/20/40/image_10122025_20_40_54_9615.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 20:43:32.693006 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/20/42/image_10122025_20_42_55_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/20/42/image_10122025_20_42_44_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/20/42/image_10122025_20_42_14_9636.jpg', 2), ('/home/nano/Desktop/images/10122025/20/41/image_10122025_20_41_54_9634.jpg', 2), ('/home/nano/Desktop/images/10122025/20/41/image_10122025_20_41_24_9634.jpg', 2), ('/home/nano/Desktop/images/10122025/20/41/image_10122025_20_41_15_9647.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 20:44:02.436575 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/20/42/image_10122025_20_42_55_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/20/42/image_10122025_20_42_44_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/20/42/image_10122025_20_42_14_9636.jpg', 2), ('/home/nano/Desktop/images/10122025/20/41/image_10122025_20_41_54_9634.jpg', 2), ('/home/nano/Desktop/images/10122025/20/41/image_10122025_20_41_24_9634.jpg', 2), ('/home/nano/Desktop/images/10122025/20/41/image_10122025_20_41_15_9647.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 20:44:31.775420 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/20/42/image_10122025_20_42_55_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/20/42/image_10122025_20_42_44_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/20/42/image_10122025_20_42_14_9636.jpg', 2), ('/home/nano/Desktop/images/10122025/20/41/image_10122025_20_41_54_9634.jpg', 2), ('/home/nano/Desktop/images/10122025/20/41/image_10122025_20_41_24_9634.jpg', 2), ('/home/nano/Desktop/images/10122025/20/41/image_10122025_20_41_15_9647.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 20:45:02.544598 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/20/42/image_10122025_20_42_55_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/20/42/image_10122025_20_42_44_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/20/42/image_10122025_20_42_14_9636.jpg', 2), ('/home/nano/Desktop/images/10122025/20/41/image_10122025_20_41_54_9634.jpg', 2), ('/home/nano/Desktop/images/10122025/20/41/image_10122025_20_41_24_9634.jpg', 2), ('/home/nano/Desktop/images/10122025/20/41/image_10122025_20_41_15_9647.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 20:45:31.876546 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/20/45/image_10122025_20_45_45_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/20/45/image_10122025_20_45_24_9638.jpg', 2), ('/home/nano/Desktop/images/10122025/20/45/image_10122025_20_45_15_10645.jpg', 2), ('/home/nano/Desktop/images/10122025/20/44/image_10122025_20_45_04_9643.jpg', 2), ('/home/nano/Desktop/images/10122025/20/42/image_10122025_20_43_05_9628.jpg', 2), ('/home/nano/Desktop/images/10122025/20/42/image_10122025_20_42_55_10630.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 20:46:02.584365 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/20/46/image_10122025_20_46_55_10626.jpg', 2), ('/home/nano/Desktop/images/10122025/20/45/image_10122025_20_45_45_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/20/45/image_10122025_20_45_24_9638.jpg', 2), ('/home/nano/Desktop/images/10122025/20/45/image_10122025_20_45_15_10645.jpg', 2), ('/home/nano/Desktop/images/10122025/20/44/image_10122025_20_45_04_9643.jpg', 2), ('/home/nano/Desktop/images/10122025/20/42/image_10122025_20_43_05_9628.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 20:46:31.984245 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/20/46/image_10122025_20_46_55_10626.jpg', 2), ('/home/nano/Desktop/images/10122025/20/46/image_10122025_20_46_15_9626.jpg', 2), ('/home/nano/Desktop/images/10122025/20/45/image_10122025_20_46_05_10643.jpg', 2), ('/home/nano/Desktop/images/10122025/20/45/image_10122025_20_45_54_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/20/45/image_10122025_20_45_45_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/20/45/image_10122025_20_45_24_9638.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 20:47:02.755932 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/20/46/image_10122025_20_46_55_10626.jpg', 2), ('/home/nano/Desktop/images/10122025/20/46/image_10122025_20_46_15_9626.jpg', 2), ('/home/nano/Desktop/images/10122025/20/45/image_10122025_20_46_05_10643.jpg', 2), ('/home/nano/Desktop/images/10122025/20/45/image_10122025_20_45_54_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/20/45/image_10122025_20_45_45_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/20/45/image_10122025_20_45_24_9638.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 20:47:32.066736 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/20/46/image_10122025_20_46_55_10626.jpg', 2), ('/home/nano/Desktop/images/10122025/20/46/image_10122025_20_46_24_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/20/46/image_10122025_20_46_15_9626.jpg', 2), ('/home/nano/Desktop/images/10122025/20/45/image_10122025_20_46_05_10643.jpg', 2), ('/home/nano/Desktop/images/10122025/20/45/image_10122025_20_45_54_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/20/45/image_10122025_20_45_45_9618.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 20:48:02.679571 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/20/46/image_10122025_20_46_55_10626.jpg', 2), ('/home/nano/Desktop/images/10122025/20/46/image_10122025_20_46_24_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/20/46/image_10122025_20_46_15_9626.jpg', 2), ('/home/nano/Desktop/images/10122025/20/45/image_10122025_20_46_05_10643.jpg', 2), ('/home/nano/Desktop/images/10122025/20/45/image_10122025_20_45_54_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/20/45/image_10122025_20_45_45_9618.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 20:48:32.216305 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/20/47/image_10122025_20_47_25_10625.jpg', 2), ('/home/nano/Desktop/images/10122025/20/46/image_10122025_20_46_55_10626.jpg', 2), ('/home/nano/Desktop/images/10122025/20/46/image_10122025_20_46_24_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/20/46/image_10122025_20_46_15_9626.jpg', 2), ('/home/nano/Desktop/images/10122025/20/45/image_10122025_20_46_05_10643.jpg', 2), ('/home/nano/Desktop/images/10122025/20/45/image_10122025_20_45_54_9620.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 20:49:03.350363 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/20/47/image_10122025_20_47_25_10625.jpg', 2), ('/home/nano/Desktop/images/10122025/20/46/image_10122025_20_46_55_10626.jpg', 2), ('/home/nano/Desktop/images/10122025/20/46/image_10122025_20_46_24_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/20/46/image_10122025_20_46_15_9626.jpg', 2), ('/home/nano/Desktop/images/10122025/20/45/image_10122025_20_46_05_10643.jpg', 2), ('/home/nano/Desktop/images/10122025/20/45/image_10122025_20_45_54_9620.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 20:49:32.267951 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/20/49/image_10122025_20_49_24_9616.jpg', 2), ('/home/nano/Desktop/images/10122025/20/49/image_10122025_20_49_15_10642.jpg', 2), ('/home/nano/Desktop/images/10122025/20/47/image_10122025_20_48_04_9629.jpg', 2), ('/home/nano/Desktop/images/10122025/20/47/image_10122025_20_47_25_10625.jpg', 2), ('/home/nano/Desktop/images/10122025/20/46/image_10122025_20_46_55_10626.jpg', 2), ('/home/nano/Desktop/images/10122025/20/46/image_10122025_20_46_24_9620.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 20:50:02.931843 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/20/49/image_10122025_20_49_24_9616.jpg', 2), ('/home/nano/Desktop/images/10122025/20/49/image_10122025_20_49_15_10642.jpg', 2), ('/home/nano/Desktop/images/10122025/20/47/image_10122025_20_48_04_9629.jpg', 2), ('/home/nano/Desktop/images/10122025/20/47/image_10122025_20_47_25_10625.jpg', 2), ('/home/nano/Desktop/images/10122025/20/46/image_10122025_20_46_55_10626.jpg', 2), ('/home/nano/Desktop/images/10122025/20/46/image_10122025_20_46_24_9620.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 20:50:32.458314 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/20/49/image_10122025_20_49_54_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/20/49/image_10122025_20_49_24_9616.jpg', 2), ('/home/nano/Desktop/images/10122025/20/49/image_10122025_20_49_15_10642.jpg', 2), ('/home/nano/Desktop/images/10122025/20/47/image_10122025_20_48_04_9629.jpg', 2), ('/home/nano/Desktop/images/10122025/20/47/image_10122025_20_47_25_10625.jpg', 2), ('/home/nano/Desktop/images/10122025/20/46/image_10122025_20_46_55_10626.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 20:51:03.159904 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/20/49/image_10122025_20_49_54_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/20/49/image_10122025_20_49_24_9616.jpg', 2), ('/home/nano/Desktop/images/10122025/20/49/image_10122025_20_49_15_10642.jpg', 2), ('/home/nano/Desktop/images/10122025/20/47/image_10122025_20_48_04_9629.jpg', 2), ('/home/nano/Desktop/images/10122025/20/47/image_10122025_20_47_25_10625.jpg', 2), ('/home/nano/Desktop/images/10122025/20/46/image_10122025_20_46_55_10626.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 20:51:32.547279 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/20/49/image_10122025_20_49_54_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/20/49/image_10122025_20_49_24_9616.jpg', 2), ('/home/nano/Desktop/images/10122025/20/49/image_10122025_20_49_15_10642.jpg', 2), ('/home/nano/Desktop/images/10122025/20/47/image_10122025_20_48_04_9629.jpg', 2), ('/home/nano/Desktop/images/10122025/20/47/image_10122025_20_47_25_10625.jpg', 2), ('/home/nano/Desktop/images/10122025/20/46/image_10122025_20_46_55_10626.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 20:52:03.173171 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/20/49/image_10122025_20_49_54_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/20/49/image_10122025_20_49_24_9616.jpg', 2), ('/home/nano/Desktop/images/10122025/20/49/image_10122025_20_49_15_10642.jpg', 2), ('/home/nano/Desktop/images/10122025/20/47/image_10122025_20_48_04_9629.jpg', 2), ('/home/nano/Desktop/images/10122025/20/47/image_10122025_20_47_25_10625.jpg', 2), ('/home/nano/Desktop/images/10122025/20/46/image_10122025_20_46_55_10626.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 20:52:32.635275 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/20/52/image_10122025_20_52_25_10627.jpg', 2), ('/home/nano/Desktop/images/10122025/20/50/image_10122025_20_50_24_9635.jpg', 2), ('/home/nano/Desktop/images/10122025/20/49/image_10122025_20_49_54_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/20/49/image_10122025_20_49_24_9616.jpg', 2), ('/home/nano/Desktop/images/10122025/20/49/image_10122025_20_49_15_10642.jpg', 2), ('/home/nano/Desktop/images/10122025/20/47/image_10122025_20_48_04_9629.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 20:53:03.301779 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/20/52/image_10122025_20_52_25_10627.jpg', 2), ('/home/nano/Desktop/images/10122025/20/50/image_10122025_20_50_24_9635.jpg', 2), ('/home/nano/Desktop/images/10122025/20/49/image_10122025_20_49_54_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/20/49/image_10122025_20_49_24_9616.jpg', 2), ('/home/nano/Desktop/images/10122025/20/49/image_10122025_20_49_15_10642.jpg', 2), ('/home/nano/Desktop/images/10122025/20/47/image_10122025_20_48_04_9629.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 20:53:32.744496 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/20/52/image_10122025_20_52_25_10627.jpg', 2), ('/home/nano/Desktop/images/10122025/20/50/image_10122025_20_50_24_9635.jpg', 2), ('/home/nano/Desktop/images/10122025/20/49/image_10122025_20_49_54_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/20/49/image_10122025_20_49_24_9616.jpg', 2), ('/home/nano/Desktop/images/10122025/20/49/image_10122025_20_49_15_10642.jpg', 2), ('/home/nano/Desktop/images/10122025/20/47/image_10122025_20_48_04_9629.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 20:54:02.744662 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/20/52/image_10122025_20_52_25_10627.jpg', 2), ('/home/nano/Desktop/images/10122025/20/50/image_10122025_20_50_24_9635.jpg', 2), ('/home/nano/Desktop/images/10122025/20/49/image_10122025_20_49_54_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/20/49/image_10122025_20_49_24_9616.jpg', 2), ('/home/nano/Desktop/images/10122025/20/49/image_10122025_20_49_15_10642.jpg', 2), ('/home/nano/Desktop/images/10122025/20/47/image_10122025_20_48_04_9629.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 20:54:31.836650 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/20/54/image_10122025_20_54_24_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/20/54/image_10122025_20_54_15_10648.jpg', 2), ('/home/nano/Desktop/images/10122025/20/52/image_10122025_20_52_34_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/20/52/image_10122025_20_52_25_10627.jpg', 2), ('/home/nano/Desktop/images/10122025/20/50/image_10122025_20_50_24_9635.jpg', 2), ('/home/nano/Desktop/images/10122025/20/49/image_10122025_20_49_54_9620.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 20:55:02.641080 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/20/54/image_10122025_20_54_24_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/20/54/image_10122025_20_54_15_10648.jpg', 2), ('/home/nano/Desktop/images/10122025/20/52/image_10122025_20_52_34_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/20/52/image_10122025_20_52_25_10627.jpg', 2), ('/home/nano/Desktop/images/10122025/20/50/image_10122025_20_50_24_9635.jpg', 2), ('/home/nano/Desktop/images/10122025/20/49/image_10122025_20_49_54_9620.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 20:55:31.949777 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/20/55/image_10122025_20_55_44_9636.jpg', 2), ('/home/nano/Desktop/images/10122025/20/55/image_10122025_20_55_24_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/20/54/image_10122025_20_54_54_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/20/54/image_10122025_20_54_24_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/20/54/image_10122025_20_54_15_10648.jpg', 2), ('/home/nano/Desktop/images/10122025/20/52/image_10122025_20_52_34_9619.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 20:56:02.563209 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/20/55/image_10122025_20_55_44_9636.jpg', 2), ('/home/nano/Desktop/images/10122025/20/55/image_10122025_20_55_24_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/20/54/image_10122025_20_54_54_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/20/54/image_10122025_20_54_24_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/20/54/image_10122025_20_54_15_10648.jpg', 2), ('/home/nano/Desktop/images/10122025/20/52/image_10122025_20_52_34_9619.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 20:56:32.054500 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/20/55/image_10122025_20_55_44_9636.jpg', 2), ('/home/nano/Desktop/images/10122025/20/55/image_10122025_20_55_24_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/20/54/image_10122025_20_54_54_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/20/54/image_10122025_20_54_24_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/20/54/image_10122025_20_54_15_10648.jpg', 2), ('/home/nano/Desktop/images/10122025/20/52/image_10122025_20_52_34_9619.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 20:57:02.763309 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/20/55/image_10122025_20_55_44_9636.jpg', 2), ('/home/nano/Desktop/images/10122025/20/55/image_10122025_20_55_24_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/20/54/image_10122025_20_54_54_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/20/54/image_10122025_20_54_24_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/20/54/image_10122025_20_54_15_10648.jpg', 2), ('/home/nano/Desktop/images/10122025/20/52/image_10122025_20_52_34_9619.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 20:57:32.170645 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/20/57/image_10122025_20_57_45_10632.jpg', 2), ('/home/nano/Desktop/images/10122025/20/57/image_10122025_20_57_25_10629.jpg', 2), ('/home/nano/Desktop/images/10122025/20/57/image_10122025_20_57_14_9639.jpg', 2), ('/home/nano/Desktop/images/10122025/20/55/image_10122025_20_55_54_9637.jpg', 2), ('/home/nano/Desktop/images/10122025/20/55/image_10122025_20_55_44_9636.jpg', 2), ('/home/nano/Desktop/images/10122025/20/55/image_10122025_20_55_24_9617.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 20:59:02.817659 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/20/57/image_10122025_20_57_45_10632.jpg', 2), ('/home/nano/Desktop/images/10122025/20/57/image_10122025_20_57_25_10629.jpg', 2), ('/home/nano/Desktop/images/10122025/20/57/image_10122025_20_57_14_9639.jpg', 2), ('/home/nano/Desktop/images/10122025/20/55/image_10122025_20_55_54_9637.jpg', 2), ('/home/nano/Desktop/images/10122025/20/55/image_10122025_20_55_44_9636.jpg', 2), ('/home/nano/Desktop/images/10122025/20/55/image_10122025_20_55_24_9617.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 20:59:32.140304 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/20/59/image_10122025_20_59_35_10626.jpg', 2), ('/home/nano/Desktop/images/10122025/20/59/image_10122025_20_59_24_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/20/57/image_10122025_20_57_55_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/20/57/image_10122025_20_57_45_10632.jpg', 2), ('/home/nano/Desktop/images/10122025/20/57/image_10122025_20_57_25_10629.jpg', 2), ('/home/nano/Desktop/images/10122025/20/57/image_10122025_20_57_14_9639.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 21:00:02.836556 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/20/59/image_10122025_20_59_35_10626.jpg', 2), ('/home/nano/Desktop/images/10122025/20/59/image_10122025_20_59_24_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/20/57/image_10122025_20_57_55_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/20/57/image_10122025_20_57_45_10632.jpg', 2), ('/home/nano/Desktop/images/10122025/20/57/image_10122025_20_57_25_10629.jpg', 2), ('/home/nano/Desktop/images/10122025/20/57/image_10122025_20_57_14_9639.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 21:00:32.311024 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/21/00/image_10122025_21_00_14_9637.jpg', 2), ('/home/nano/Desktop/images/10122025/20/59/image_10122025_21_00_05_10654.jpg', 2), ('/home/nano/Desktop/images/10122025/20/59/image_10122025_20_59_54_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/20/59/image_10122025_20_59_35_10626.jpg', 2), ('/home/nano/Desktop/images/10122025/20/59/image_10122025_20_59_24_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/20/57/image_10122025_20_57_55_9618.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 21:01:02.985066 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/21/00/image_10122025_21_00_14_9637.jpg', 2), ('/home/nano/Desktop/images/10122025/20/59/image_10122025_21_00_05_10654.jpg', 2), ('/home/nano/Desktop/images/10122025/20/59/image_10122025_20_59_54_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/20/59/image_10122025_20_59_35_10626.jpg', 2), ('/home/nano/Desktop/images/10122025/20/59/image_10122025_20_59_24_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/20/57/image_10122025_20_57_55_9618.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 21:01:32.409792 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/21/00/image_10122025_21_01_05_9634.jpg', 2), ('/home/nano/Desktop/images/10122025/21/00/image_10122025_21_00_24_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/21/00/image_10122025_21_00_14_9637.jpg', 2), ('/home/nano/Desktop/images/10122025/20/59/image_10122025_21_00_05_10654.jpg', 2), ('/home/nano/Desktop/images/10122025/20/59/image_10122025_20_59_54_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/20/59/image_10122025_20_59_35_10626.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 21:02:03.092715 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/21/00/image_10122025_21_01_05_9634.jpg', 2), ('/home/nano/Desktop/images/10122025/21/00/image_10122025_21_00_24_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/21/00/image_10122025_21_00_14_9637.jpg', 2), ('/home/nano/Desktop/images/10122025/20/59/image_10122025_21_00_05_10654.jpg', 2), ('/home/nano/Desktop/images/10122025/20/59/image_10122025_20_59_54_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/20/59/image_10122025_20_59_35_10626.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 21:02:32.471238 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/21/02/image_10122025_21_02_34_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/21/01/image_10122025_21_01_25_10632.jpg', 2), ('/home/nano/Desktop/images/10122025/21/00/image_10122025_21_01_05_9634.jpg', 2), ('/home/nano/Desktop/images/10122025/21/00/image_10122025_21_00_24_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/21/00/image_10122025_21_00_14_9637.jpg', 2), ('/home/nano/Desktop/images/10122025/20/59/image_10122025_21_00_05_10654.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 21:03:03.257401 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/21/02/image_10122025_21_02_34_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/21/01/image_10122025_21_01_25_10632.jpg', 2), ('/home/nano/Desktop/images/10122025/21/00/image_10122025_21_01_05_9634.jpg', 2), ('/home/nano/Desktop/images/10122025/21/00/image_10122025_21_00_24_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/21/00/image_10122025_21_00_14_9637.jpg', 2), ('/home/nano/Desktop/images/10122025/20/59/image_10122025_21_00_05_10654.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 21:03:32.589308 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/21/03/image_10122025_21_03_15_10655.jpg', 2), ('/home/nano/Desktop/images/10122025/21/02/image_10122025_21_02_45_10629.jpg', 2), ('/home/nano/Desktop/images/10122025/21/02/image_10122025_21_02_34_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/21/01/image_10122025_21_01_25_10632.jpg', 2), ('/home/nano/Desktop/images/10122025/21/00/image_10122025_21_01_05_9634.jpg', 2), ('/home/nano/Desktop/images/10122025/21/00/image_10122025_21_00_24_9620.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 21:04:03.452273 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/21/03/image_10122025_21_03_15_10655.jpg', 2), ('/home/nano/Desktop/images/10122025/21/02/image_10122025_21_02_45_10629.jpg', 2), ('/home/nano/Desktop/images/10122025/21/02/image_10122025_21_02_34_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/21/01/image_10122025_21_01_25_10632.jpg', 2), ('/home/nano/Desktop/images/10122025/21/00/image_10122025_21_01_05_9634.jpg', 2), ('/home/nano/Desktop/images/10122025/21/00/image_10122025_21_00_24_9620.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 21:04:32.694728 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/21/04/image_10122025_21_04_44_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/21/04/image_10122025_21_04_35_10629.jpg', 2), ('/home/nano/Desktop/images/10122025/21/04/image_10122025_21_04_24_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/21/03/image_10122025_21_03_24_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/21/03/image_10122025_21_03_15_10655.jpg', 2), ('/home/nano/Desktop/images/10122025/21/02/image_10122025_21_02_45_10629.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 21:05:02.561418 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/21/04/image_10122025_21_04_44_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/21/04/image_10122025_21_04_35_10629.jpg', 2), ('/home/nano/Desktop/images/10122025/21/04/image_10122025_21_04_24_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/21/03/image_10122025_21_03_24_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/21/03/image_10122025_21_03_15_10655.jpg', 2), ('/home/nano/Desktop/images/10122025/21/02/image_10122025_21_02_45_10629.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 21:05:31.801098 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/21/05/image_10122025_21_05_44_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/21/05/image_10122025_21_05_35_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/21/05/image_10122025_21_05_14_9640.jpg', 2), ('/home/nano/Desktop/images/10122025/21/04/image_10122025_21_05_05_10639.jpg', 2), ('/home/nano/Desktop/images/10122025/21/04/image_10122025_21_04_54_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/21/04/image_10122025_21_04_44_9622.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 21:06:02.375226 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/21/05/image_10122025_21_05_44_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/21/05/image_10122025_21_05_35_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/21/05/image_10122025_21_05_14_9640.jpg', 2), ('/home/nano/Desktop/images/10122025/21/04/image_10122025_21_05_05_10639.jpg', 2), ('/home/nano/Desktop/images/10122025/21/04/image_10122025_21_04_54_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/21/04/image_10122025_21_04_44_9622.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 21:06:31.853856 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/21/06/image_10122025_21_06_34_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/21/05/image_10122025_21_06_05_9637.jpg', 2), ('/home/nano/Desktop/images/10122025/21/05/image_10122025_21_05_55_10627.jpg', 2), ('/home/nano/Desktop/images/10122025/21/05/image_10122025_21_05_44_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/21/05/image_10122025_21_05_35_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/21/05/image_10122025_21_05_14_9640.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 21:07:02.696581 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/21/06/image_10122025_21_06_34_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/21/05/image_10122025_21_06_05_9637.jpg', 2), ('/home/nano/Desktop/images/10122025/21/05/image_10122025_21_05_55_10627.jpg', 2), ('/home/nano/Desktop/images/10122025/21/05/image_10122025_21_05_44_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/21/05/image_10122025_21_05_35_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/21/05/image_10122025_21_05_14_9640.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 21:07:31.971829 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/21/06/image_10122025_21_06_45_10635.jpg', 2), ('/home/nano/Desktop/images/10122025/21/06/image_10122025_21_06_34_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/21/05/image_10122025_21_06_05_9637.jpg', 2), ('/home/nano/Desktop/images/10122025/21/05/image_10122025_21_05_55_10627.jpg', 2), ('/home/nano/Desktop/images/10122025/21/05/image_10122025_21_05_44_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/21/05/image_10122025_21_05_35_9618.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 21:08:02.615824 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/21/06/image_10122025_21_06_45_10635.jpg', 2), ('/home/nano/Desktop/images/10122025/21/06/image_10122025_21_06_34_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/21/05/image_10122025_21_06_05_9637.jpg', 2), ('/home/nano/Desktop/images/10122025/21/05/image_10122025_21_05_55_10627.jpg', 2), ('/home/nano/Desktop/images/10122025/21/05/image_10122025_21_05_44_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/21/05/image_10122025_21_05_35_9618.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 21:08:32.049429 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/21/07/image_10122025_21_07_54_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/21/06/image_10122025_21_06_45_10635.jpg', 2), ('/home/nano/Desktop/images/10122025/21/06/image_10122025_21_06_34_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/21/05/image_10122025_21_06_05_9637.jpg', 2), ('/home/nano/Desktop/images/10122025/21/05/image_10122025_21_05_55_10627.jpg', 2), ('/home/nano/Desktop/images/10122025/21/05/image_10122025_21_05_44_9619.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 21:09:03.281288 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/21/07/image_10122025_21_07_54_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/21/06/image_10122025_21_06_45_10635.jpg', 2), ('/home/nano/Desktop/images/10122025/21/06/image_10122025_21_06_34_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/21/05/image_10122025_21_06_05_9637.jpg', 2), ('/home/nano/Desktop/images/10122025/21/05/image_10122025_21_05_55_10627.jpg', 2), ('/home/nano/Desktop/images/10122025/21/05/image_10122025_21_05_44_9619.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 21:09:32.166134 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/21/09/image_10122025_21_09_35_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/21/07/image_10122025_21_08_05_10632.jpg', 2), ('/home/nano/Desktop/images/10122025/21/07/image_10122025_21_07_54_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/21/06/image_10122025_21_06_45_10635.jpg', 2), ('/home/nano/Desktop/images/10122025/21/06/image_10122025_21_06_34_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/21/05/image_10122025_21_06_05_9637.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 21:10:02.887610 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/21/09/image_10122025_21_09_35_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/21/07/image_10122025_21_08_05_10632.jpg', 2), ('/home/nano/Desktop/images/10122025/21/07/image_10122025_21_07_54_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/21/06/image_10122025_21_06_45_10635.jpg', 2), ('/home/nano/Desktop/images/10122025/21/06/image_10122025_21_06_34_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/21/05/image_10122025_21_06_05_9637.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 21:10:32.313643 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/21/10/image_10122025_21_10_35_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/21/09/image_10122025_21_09_55_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/21/09/image_10122025_21_09_35_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/21/07/image_10122025_21_08_05_10632.jpg', 2), ('/home/nano/Desktop/images/10122025/21/07/image_10122025_21_07_54_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/21/06/image_10122025_21_06_45_10635.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 21:11:03.129304 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/21/10/image_10122025_21_10_35_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/21/09/image_10122025_21_09_55_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/21/09/image_10122025_21_09_35_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/21/07/image_10122025_21_08_05_10632.jpg', 2), ('/home/nano/Desktop/images/10122025/21/07/image_10122025_21_07_54_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/21/06/image_10122025_21_06_45_10635.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 21:11:32.424447 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/21/10/image_10122025_21_10_35_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/21/09/image_10122025_21_09_55_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/21/09/image_10122025_21_09_35_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/21/07/image_10122025_21_08_05_10632.jpg', 2), ('/home/nano/Desktop/images/10122025/21/07/image_10122025_21_07_54_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/21/06/image_10122025_21_06_45_10635.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 21:12:03.139891 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/21/10/image_10122025_21_10_35_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/21/09/image_10122025_21_09_55_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/21/09/image_10122025_21_09_35_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/21/07/image_10122025_21_08_05_10632.jpg', 2), ('/home/nano/Desktop/images/10122025/21/07/image_10122025_21_07_54_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/21/06/image_10122025_21_06_45_10635.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 21:12:32.541144 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/21/12/image_10122025_21_12_15_10644.jpg', 2), ('/home/nano/Desktop/images/10122025/21/11/image_10122025_21_12_04_9625.jpg', 2), ('/home/nano/Desktop/images/10122025/21/10/image_10122025_21_10_44_9623.jpg', 2), ('/home/nano/Desktop/images/10122025/21/10/image_10122025_21_10_35_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/21/09/image_10122025_21_09_55_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/21/09/image_10122025_21_09_35_9617.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 21:13:03.351506 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/21/12/image_10122025_21_12_15_10644.jpg', 2), ('/home/nano/Desktop/images/10122025/21/11/image_10122025_21_12_04_9625.jpg', 2), ('/home/nano/Desktop/images/10122025/21/10/image_10122025_21_10_44_9623.jpg', 2), ('/home/nano/Desktop/images/10122025/21/10/image_10122025_21_10_35_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/21/09/image_10122025_21_09_55_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/21/09/image_10122025_21_09_35_9617.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 21:13:32.655980 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/21/13/image_10122025_21_13_45_9643.jpg', 2), ('/home/nano/Desktop/images/10122025/21/12/image_10122025_21_12_35_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/21/12/image_10122025_21_12_15_10644.jpg', 2), ('/home/nano/Desktop/images/10122025/21/11/image_10122025_21_12_04_9625.jpg', 2), ('/home/nano/Desktop/images/10122025/21/10/image_10122025_21_10_44_9623.jpg', 2), ('/home/nano/Desktop/images/10122025/21/10/image_10122025_21_10_35_9617.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 21:14:02.578702 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/21/13/image_10122025_21_13_45_9643.jpg', 2), ('/home/nano/Desktop/images/10122025/21/12/image_10122025_21_12_35_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/21/12/image_10122025_21_12_15_10644.jpg', 2), ('/home/nano/Desktop/images/10122025/21/11/image_10122025_21_12_04_9625.jpg', 2), ('/home/nano/Desktop/images/10122025/21/10/image_10122025_21_10_44_9623.jpg', 2), ('/home/nano/Desktop/images/10122025/21/10/image_10122025_21_10_35_9617.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 21:14:31.822392 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/21/14/image_10122025_21_14_35_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/21/13/image_10122025_21_14_05_10645.jpg', 2), ('/home/nano/Desktop/images/10122025/21/13/image_10122025_21_13_54_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/21/13/image_10122025_21_13_45_9643.jpg', 2), ('/home/nano/Desktop/images/10122025/21/12/image_10122025_21_12_35_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/21/12/image_10122025_21_12_15_10644.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 21:15:02.665889 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/21/14/image_10122025_21_14_35_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/21/13/image_10122025_21_14_05_10645.jpg', 2), ('/home/nano/Desktop/images/10122025/21/13/image_10122025_21_13_54_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/21/13/image_10122025_21_13_45_9643.jpg', 2), ('/home/nano/Desktop/images/10122025/21/12/image_10122025_21_12_35_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/21/12/image_10122025_21_12_15_10644.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 21:15:31.908152 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/21/15/image_10122025_21_15_14_9632.jpg', 2), ('/home/nano/Desktop/images/10122025/21/14/image_10122025_21_15_05_9636.jpg', 2), ('/home/nano/Desktop/images/10122025/21/14/image_10122025_21_14_55_10631.jpg', 2), ('/home/nano/Desktop/images/10122025/21/14/image_10122025_21_14_35_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/21/13/image_10122025_21_14_05_10645.jpg', 2), ('/home/nano/Desktop/images/10122025/21/13/image_10122025_21_13_54_9617.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 21:16:02.564915 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/21/15/image_10122025_21_15_14_9632.jpg', 2), ('/home/nano/Desktop/images/10122025/21/14/image_10122025_21_15_05_9636.jpg', 2), ('/home/nano/Desktop/images/10122025/21/14/image_10122025_21_14_55_10631.jpg', 2), ('/home/nano/Desktop/images/10122025/21/14/image_10122025_21_14_35_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/21/13/image_10122025_21_14_05_10645.jpg', 2), ('/home/nano/Desktop/images/10122025/21/13/image_10122025_21_13_54_9617.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 21:16:32.059175 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/21/16/image_10122025_21_16_45_10632.jpg', 2), ('/home/nano/Desktop/images/10122025/21/16/image_10122025_21_16_25_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/21/16/image_10122025_21_16_15_10645.jpg', 2), ('/home/nano/Desktop/images/10122025/21/15/image_10122025_21_15_34_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/21/15/image_10122025_21_15_14_9632.jpg', 2), ('/home/nano/Desktop/images/10122025/21/14/image_10122025_21_15_05_9636.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 21:17:02.856482 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/21/16/image_10122025_21_16_45_10632.jpg', 2), ('/home/nano/Desktop/images/10122025/21/16/image_10122025_21_16_25_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/21/16/image_10122025_21_16_15_10645.jpg', 2), ('/home/nano/Desktop/images/10122025/21/15/image_10122025_21_15_34_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/21/15/image_10122025_21_15_14_9632.jpg', 2), ('/home/nano/Desktop/images/10122025/21/14/image_10122025_21_15_05_9636.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 21:17:32.209037 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/21/17/image_10122025_21_17_45_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/21/17/image_10122025_21_17_35_10631.jpg', 2), ('/home/nano/Desktop/images/10122025/21/17/image_10122025_21_17_15_10662.jpg', 2), ('/home/nano/Desktop/images/10122025/21/16/image_10122025_21_17_04_9626.jpg', 2), ('/home/nano/Desktop/images/10122025/21/16/image_10122025_21_16_54_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/21/16/image_10122025_21_16_45_10632.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 21:18:02.788633 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/21/17/image_10122025_21_17_45_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/21/17/image_10122025_21_17_35_10631.jpg', 2), ('/home/nano/Desktop/images/10122025/21/17/image_10122025_21_17_15_10662.jpg', 2), ('/home/nano/Desktop/images/10122025/21/16/image_10122025_21_17_04_9626.jpg', 2), ('/home/nano/Desktop/images/10122025/21/16/image_10122025_21_16_54_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/21/16/image_10122025_21_16_45_10632.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 21:18:32.226779 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/21/18/image_10122025_21_18_44_9624.jpg', 2), ('/home/nano/Desktop/images/10122025/21/18/image_10122025_21_18_24_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/21/18/image_10122025_21_18_15_9639.jpg', 2), ('/home/nano/Desktop/images/10122025/21/17/image_10122025_21_18_05_10660.jpg', 2), ('/home/nano/Desktop/images/10122025/21/17/image_10122025_21_17_54_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/21/17/image_10122025_21_17_45_9620.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 21:19:03.323795 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/21/18/image_10122025_21_18_44_9624.jpg', 2), ('/home/nano/Desktop/images/10122025/21/18/image_10122025_21_18_24_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/21/18/image_10122025_21_18_15_9639.jpg', 2), ('/home/nano/Desktop/images/10122025/21/17/image_10122025_21_18_05_10660.jpg', 2), ('/home/nano/Desktop/images/10122025/21/17/image_10122025_21_17_54_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/21/17/image_10122025_21_17_45_9620.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 21:19:32.306745 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/21/19/image_10122025_21_19_44_9625.jpg', 2), ('/home/nano/Desktop/images/10122025/21/19/image_10122025_21_19_25_10627.jpg', 2), ('/home/nano/Desktop/images/10122025/21/19/image_10122025_21_19_14_9634.jpg', 2), ('/home/nano/Desktop/images/10122025/21/18/image_10122025_21_19_05_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/21/18/image_10122025_21_18_54_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/21/18/image_10122025_21_18_44_9624.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 21:20:03.023029 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/21/19/image_10122025_21_19_44_9625.jpg', 2), ('/home/nano/Desktop/images/10122025/21/19/image_10122025_21_19_25_10627.jpg', 2), ('/home/nano/Desktop/images/10122025/21/19/image_10122025_21_19_14_9634.jpg', 2), ('/home/nano/Desktop/images/10122025/21/18/image_10122025_21_19_05_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/21/18/image_10122025_21_18_54_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/21/18/image_10122025_21_18_44_9624.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 21:20:32.444728 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/21/20/image_10122025_21_20_34_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/21/20/image_10122025_21_20_25_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/21/20/image_10122025_21_20_14_9636.jpg', 2), ('/home/nano/Desktop/images/10122025/21/19/image_10122025_21_20_05_9633.jpg', 2), ('/home/nano/Desktop/images/10122025/21/19/image_10122025_21_19_55_10632.jpg', 2), ('/home/nano/Desktop/images/10122025/21/19/image_10122025_21_19_44_9625.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 21:21:03.364963 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/21/20/image_10122025_21_20_34_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/21/20/image_10122025_21_20_25_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/21/20/image_10122025_21_20_14_9636.jpg', 2), ('/home/nano/Desktop/images/10122025/21/19/image_10122025_21_20_05_9633.jpg', 2), ('/home/nano/Desktop/images/10122025/21/19/image_10122025_21_19_55_10632.jpg', 2), ('/home/nano/Desktop/images/10122025/21/19/image_10122025_21_19_44_9625.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 21:21:32.534923 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/21/20/image_10122025_21_20_45_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/21/20/image_10122025_21_20_34_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/21/20/image_10122025_21_20_25_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/21/20/image_10122025_21_20_14_9636.jpg', 2), ('/home/nano/Desktop/images/10122025/21/19/image_10122025_21_20_05_9633.jpg', 2), ('/home/nano/Desktop/images/10122025/21/19/image_10122025_21_19_55_10632.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 21:22:03.233771 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/21/20/image_10122025_21_20_45_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/21/20/image_10122025_21_20_34_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/21/20/image_10122025_21_20_25_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/21/20/image_10122025_21_20_14_9636.jpg', 2), ('/home/nano/Desktop/images/10122025/21/19/image_10122025_21_20_05_9633.jpg', 2), ('/home/nano/Desktop/images/10122025/21/19/image_10122025_21_19_55_10632.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 21:22:32.636365 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/21/22/image_10122025_21_22_35_10633.jpg', 2), ('/home/nano/Desktop/images/10122025/21/22/image_10122025_21_22_24_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/21/22/image_10122025_21_22_15_9660.jpg', 2), ('/home/nano/Desktop/images/10122025/21/20/image_10122025_21_21_04_9644.jpg', 2), ('/home/nano/Desktop/images/10122025/21/20/image_10122025_21_20_45_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/21/20/image_10122025_21_20_34_9619.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 21:23:03.458538 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/21/22/image_10122025_21_22_35_10633.jpg', 2), ('/home/nano/Desktop/images/10122025/21/22/image_10122025_21_22_24_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/21/22/image_10122025_21_22_15_9660.jpg', 2), ('/home/nano/Desktop/images/10122025/21/20/image_10122025_21_21_04_9644.jpg', 2), ('/home/nano/Desktop/images/10122025/21/20/image_10122025_21_20_45_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/21/20/image_10122025_21_20_34_9619.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 21:23:32.760117 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/21/22/image_10122025_21_22_54_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/21/22/image_10122025_21_22_35_10633.jpg', 2), ('/home/nano/Desktop/images/10122025/21/22/image_10122025_21_22_24_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/21/22/image_10122025_21_22_15_9660.jpg', 2), ('/home/nano/Desktop/images/10122025/21/20/image_10122025_21_21_04_9644.jpg', 2), ('/home/nano/Desktop/images/10122025/21/20/image_10122025_21_20_45_10630.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 21:24:02.811255 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/21/22/image_10122025_21_22_54_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/21/22/image_10122025_21_22_35_10633.jpg', 2), ('/home/nano/Desktop/images/10122025/21/22/image_10122025_21_22_24_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/21/22/image_10122025_21_22_15_9660.jpg', 2), ('/home/nano/Desktop/images/10122025/21/20/image_10122025_21_21_04_9644.jpg', 2), ('/home/nano/Desktop/images/10122025/21/20/image_10122025_21_20_45_10630.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 21:24:31.843017 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/21/24/image_10122025_21_24_25_10627.jpg', 2), ('/home/nano/Desktop/images/10122025/21/22/image_10122025_21_23_05_10659.jpg', 2), ('/home/nano/Desktop/images/10122025/21/22/image_10122025_21_22_54_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/21/22/image_10122025_21_22_35_10633.jpg', 2), ('/home/nano/Desktop/images/10122025/21/22/image_10122025_21_22_24_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/21/22/image_10122025_21_22_15_9660.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 21:25:02.723546 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/21/24/image_10122025_21_24_25_10627.jpg', 2), ('/home/nano/Desktop/images/10122025/21/22/image_10122025_21_23_05_10659.jpg', 2), ('/home/nano/Desktop/images/10122025/21/22/image_10122025_21_22_54_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/21/22/image_10122025_21_22_35_10633.jpg', 2), ('/home/nano/Desktop/images/10122025/21/22/image_10122025_21_22_24_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/21/22/image_10122025_21_22_15_9660.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 21:25:31.986269 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/21/25/image_10122025_21_25_14_9635.jpg', 2), ('/home/nano/Desktop/images/10122025/21/24/image_10122025_21_24_35_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/21/24/image_10122025_21_24_25_10627.jpg', 2), ('/home/nano/Desktop/images/10122025/21/22/image_10122025_21_23_05_10659.jpg', 2), ('/home/nano/Desktop/images/10122025/21/22/image_10122025_21_22_54_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/21/22/image_10122025_21_22_35_10633.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 21:26:02.612429 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/21/25/image_10122025_21_25_14_9635.jpg', 2), ('/home/nano/Desktop/images/10122025/21/24/image_10122025_21_24_35_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/21/24/image_10122025_21_24_25_10627.jpg', 2), ('/home/nano/Desktop/images/10122025/21/22/image_10122025_21_23_05_10659.jpg', 2), ('/home/nano/Desktop/images/10122025/21/22/image_10122025_21_22_54_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/21/22/image_10122025_21_22_35_10633.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 21:26:32.082789 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/21/26/image_10122025_21_26_25_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/21/25/image_10122025_21_25_25_10628.jpg', 2), ('/home/nano/Desktop/images/10122025/21/25/image_10122025_21_25_14_9635.jpg', 2), ('/home/nano/Desktop/images/10122025/21/24/image_10122025_21_24_35_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/21/24/image_10122025_21_24_25_10627.jpg', 2), ('/home/nano/Desktop/images/10122025/21/22/image_10122025_21_23_05_10659.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 21:27:02.749040 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/21/26/image_10122025_21_26_25_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/21/25/image_10122025_21_25_25_10628.jpg', 2), ('/home/nano/Desktop/images/10122025/21/25/image_10122025_21_25_14_9635.jpg', 2), ('/home/nano/Desktop/images/10122025/21/24/image_10122025_21_24_35_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/21/24/image_10122025_21_24_25_10627.jpg', 2), ('/home/nano/Desktop/images/10122025/21/22/image_10122025_21_23_05_10659.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 21:27:32.178955 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/21/27/image_10122025_21_27_45_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/21/26/image_10122025_21_26_34_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/21/26/image_10122025_21_26_25_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/21/25/image_10122025_21_25_25_10628.jpg', 2), ('/home/nano/Desktop/images/10122025/21/25/image_10122025_21_25_14_9635.jpg', 2), ('/home/nano/Desktop/images/10122025/21/24/image_10122025_21_24_35_9619.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 21:28:02.747467 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/21/27/image_10122025_21_27_45_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/21/26/image_10122025_21_26_34_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/21/26/image_10122025_21_26_25_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/21/25/image_10122025_21_25_25_10628.jpg', 2), ('/home/nano/Desktop/images/10122025/21/25/image_10122025_21_25_14_9635.jpg', 2), ('/home/nano/Desktop/images/10122025/21/24/image_10122025_21_24_35_9619.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 21:28:32.275623 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/21/28/image_10122025_21_28_44_9625.jpg', 2), ('/home/nano/Desktop/images/10122025/21/28/image_10122025_21_28_35_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/21/28/image_10122025_21_28_25_10627.jpg', 2), ('/home/nano/Desktop/images/10122025/21/28/image_10122025_21_28_14_9637.jpg', 2), ('/home/nano/Desktop/images/10122025/21/27/image_10122025_21_28_05_10656.jpg', 2), ('/home/nano/Desktop/images/10122025/21/27/image_10122025_21_27_54_9618.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 21:29:03.222995 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/21/28/image_10122025_21_28_44_9625.jpg', 2), ('/home/nano/Desktop/images/10122025/21/28/image_10122025_21_28_35_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/21/28/image_10122025_21_28_25_10627.jpg', 2), ('/home/nano/Desktop/images/10122025/21/28/image_10122025_21_28_14_9637.jpg', 2), ('/home/nano/Desktop/images/10122025/21/27/image_10122025_21_28_05_10656.jpg', 2), ('/home/nano/Desktop/images/10122025/21/27/image_10122025_21_27_54_9618.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 21:29:32.382941 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/21/29/image_10122025_21_29_34_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/21/29/image_10122025_21_29_25_10631.jpg', 2), ('/home/nano/Desktop/images/10122025/21/28/image_10122025_21_28_55_10627.jpg', 2), ('/home/nano/Desktop/images/10122025/21/28/image_10122025_21_28_44_9625.jpg', 2), ('/home/nano/Desktop/images/10122025/21/28/image_10122025_21_28_35_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/21/28/image_10122025_21_28_25_10627.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 21:30:03.016003 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/21/29/image_10122025_21_29_34_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/21/29/image_10122025_21_29_25_10631.jpg', 2), ('/home/nano/Desktop/images/10122025/21/28/image_10122025_21_28_55_10627.jpg', 2), ('/home/nano/Desktop/images/10122025/21/28/image_10122025_21_28_44_9625.jpg', 2), ('/home/nano/Desktop/images/10122025/21/28/image_10122025_21_28_35_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/21/28/image_10122025_21_28_25_10627.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 21:30:32.488147 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/21/30/image_10122025_21_30_34_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/21/30/image_10122025_21_30_25_9624.jpg', 2), ('/home/nano/Desktop/images/10122025/21/30/image_10122025_21_30_15_10648.jpg', 2), ('/home/nano/Desktop/images/10122025/21/29/image_10122025_21_30_04_9637.jpg', 2), ('/home/nano/Desktop/images/10122025/21/29/image_10122025_21_29_44_9628.jpg', 2), ('/home/nano/Desktop/images/10122025/21/29/image_10122025_21_29_34_9621.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 21:31:03.471643 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/21/30/image_10122025_21_30_34_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/21/30/image_10122025_21_30_25_9624.jpg', 2), ('/home/nano/Desktop/images/10122025/21/30/image_10122025_21_30_15_10648.jpg', 2), ('/home/nano/Desktop/images/10122025/21/29/image_10122025_21_30_04_9637.jpg', 2), ('/home/nano/Desktop/images/10122025/21/29/image_10122025_21_29_44_9628.jpg', 2), ('/home/nano/Desktop/images/10122025/21/29/image_10122025_21_29_34_9621.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 21:31:32.583738 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/21/30/image_10122025_21_31_04_9625.jpg', 2), ('/home/nano/Desktop/images/10122025/21/30/image_10122025_21_30_45_10645.jpg', 2), ('/home/nano/Desktop/images/10122025/21/30/image_10122025_21_30_34_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/21/30/image_10122025_21_30_25_9624.jpg', 2), ('/home/nano/Desktop/images/10122025/21/30/image_10122025_21_30_15_10648.jpg', 2), ('/home/nano/Desktop/images/10122025/21/29/image_10122025_21_30_04_9637.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 21:32:03.243937 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/21/30/image_10122025_21_31_04_9625.jpg', 2), ('/home/nano/Desktop/images/10122025/21/30/image_10122025_21_30_45_10645.jpg', 2), ('/home/nano/Desktop/images/10122025/21/30/image_10122025_21_30_34_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/21/30/image_10122025_21_30_25_9624.jpg', 2), ('/home/nano/Desktop/images/10122025/21/30/image_10122025_21_30_15_10648.jpg', 2), ('/home/nano/Desktop/images/10122025/21/29/image_10122025_21_30_04_9637.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 21:32:32.724227 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/21/32/image_10122025_21_32_24_9624.jpg', 2), ('/home/nano/Desktop/images/10122025/21/32/image_10122025_21_32_15_9637.jpg', 2), ('/home/nano/Desktop/images/10122025/21/31/image_10122025_21_31_15_10645.jpg', 2), ('/home/nano/Desktop/images/10122025/21/30/image_10122025_21_31_04_9625.jpg', 2), ('/home/nano/Desktop/images/10122025/21/30/image_10122025_21_30_45_10645.jpg', 2), ('/home/nano/Desktop/images/10122025/21/30/image_10122025_21_30_34_9621.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 21:33:02.454756 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/21/32/image_10122025_21_32_24_9624.jpg', 2), ('/home/nano/Desktop/images/10122025/21/32/image_10122025_21_32_15_9637.jpg', 2), ('/home/nano/Desktop/images/10122025/21/31/image_10122025_21_31_15_10645.jpg', 2), ('/home/nano/Desktop/images/10122025/21/30/image_10122025_21_31_04_9625.jpg', 2), ('/home/nano/Desktop/images/10122025/21/30/image_10122025_21_30_45_10645.jpg', 2), ('/home/nano/Desktop/images/10122025/21/30/image_10122025_21_30_34_9621.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 21:33:31.847520 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/21/33/image_10122025_21_33_44_9638.jpg', 2), ('/home/nano/Desktop/images/10122025/21/33/image_10122025_21_33_25_10631.jpg', 2), ('/home/nano/Desktop/images/10122025/21/32/image_10122025_21_33_05_10648.jpg', 2), ('/home/nano/Desktop/images/10122025/21/32/image_10122025_21_32_54_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/21/32/image_10122025_21_32_24_9624.jpg', 2), ('/home/nano/Desktop/images/10122025/21/32/image_10122025_21_32_15_9637.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 21:34:02.764769 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/21/33/image_10122025_21_33_44_9638.jpg', 2), ('/home/nano/Desktop/images/10122025/21/33/image_10122025_21_33_25_10631.jpg', 2), ('/home/nano/Desktop/images/10122025/21/32/image_10122025_21_33_05_10648.jpg', 2), ('/home/nano/Desktop/images/10122025/21/32/image_10122025_21_32_54_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/21/32/image_10122025_21_32_24_9624.jpg', 2), ('/home/nano/Desktop/images/10122025/21/32/image_10122025_21_32_15_9637.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 21:34:31.985009 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/21/34/image_10122025_21_34_35_9638.jpg', 2), ('/home/nano/Desktop/images/10122025/21/34/image_10122025_21_34_25_10631.jpg', 2), ('/home/nano/Desktop/images/10122025/21/34/image_10122025_21_34_14_9637.jpg', 2), ('/home/nano/Desktop/images/10122025/21/33/image_10122025_21_34_05_9635.jpg', 2), ('/home/nano/Desktop/images/10122025/21/33/image_10122025_21_33_55_10635.jpg', 2), ('/home/nano/Desktop/images/10122025/21/33/image_10122025_21_33_44_9638.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 21:35:02.762824 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/21/34/image_10122025_21_34_35_9638.jpg', 2), ('/home/nano/Desktop/images/10122025/21/34/image_10122025_21_34_25_10631.jpg', 2), ('/home/nano/Desktop/images/10122025/21/34/image_10122025_21_34_14_9637.jpg', 2), ('/home/nano/Desktop/images/10122025/21/33/image_10122025_21_34_05_9635.jpg', 2), ('/home/nano/Desktop/images/10122025/21/33/image_10122025_21_33_55_10635.jpg', 2), ('/home/nano/Desktop/images/10122025/21/33/image_10122025_21_33_44_9638.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 21:35:32.056093 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/21/35/image_10122025_21_35_25_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/21/35/image_10122025_21_35_15_10648.jpg', 2), ('/home/nano/Desktop/images/10122025/21/34/image_10122025_21_35_04_9651.jpg', 2), ('/home/nano/Desktop/images/10122025/21/34/image_10122025_21_34_55_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/21/34/image_10122025_21_34_35_9638.jpg', 2), ('/home/nano/Desktop/images/10122025/21/34/image_10122025_21_34_25_10631.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 21:36:02.708108 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/21/35/image_10122025_21_35_25_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/21/35/image_10122025_21_35_15_10648.jpg', 2), ('/home/nano/Desktop/images/10122025/21/34/image_10122025_21_35_04_9651.jpg', 2), ('/home/nano/Desktop/images/10122025/21/34/image_10122025_21_34_55_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/21/34/image_10122025_21_34_35_9638.jpg', 2), ('/home/nano/Desktop/images/10122025/21/34/image_10122025_21_34_25_10631.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 21:36:32.218508 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/21/36/image_10122025_21_36_45_10648.jpg', 2), ('/home/nano/Desktop/images/10122025/21/36/image_10122025_21_36_24_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/21/36/image_10122025_21_36_15_10649.jpg', 2), ('/home/nano/Desktop/images/10122025/21/35/image_10122025_21_36_04_9633.jpg', 2), ('/home/nano/Desktop/images/10122025/21/35/image_10122025_21_35_34_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/21/35/image_10122025_21_35_25_9619.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 21:37:03.072095 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/21/36/image_10122025_21_36_45_10648.jpg', 2), ('/home/nano/Desktop/images/10122025/21/36/image_10122025_21_36_24_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/21/36/image_10122025_21_36_15_10649.jpg', 2), ('/home/nano/Desktop/images/10122025/21/35/image_10122025_21_36_04_9633.jpg', 2), ('/home/nano/Desktop/images/10122025/21/35/image_10122025_21_35_34_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/21/35/image_10122025_21_35_25_9619.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 21:37:32.266650 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/21/37/image_10122025_21_37_24_9623.jpg', 2), ('/home/nano/Desktop/images/10122025/21/37/image_10122025_21_37_15_9626.jpg', 2), ('/home/nano/Desktop/images/10122025/21/36/image_10122025_21_36_54_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/21/36/image_10122025_21_36_45_10648.jpg', 2), ('/home/nano/Desktop/images/10122025/21/36/image_10122025_21_36_24_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/21/36/image_10122025_21_36_15_10649.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 21:38:02.938412 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/21/37/image_10122025_21_37_24_9623.jpg', 2), ('/home/nano/Desktop/images/10122025/21/37/image_10122025_21_37_15_9626.jpg', 2), ('/home/nano/Desktop/images/10122025/21/36/image_10122025_21_36_54_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/21/36/image_10122025_21_36_45_10648.jpg', 2), ('/home/nano/Desktop/images/10122025/21/36/image_10122025_21_36_24_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/21/36/image_10122025_21_36_15_10649.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 21:38:32.393514 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/21/37/image_10122025_21_38_05_10635.jpg', 2), ('/home/nano/Desktop/images/10122025/21/37/image_10122025_21_37_35_10631.jpg', 2), ('/home/nano/Desktop/images/10122025/21/37/image_10122025_21_37_24_9623.jpg', 2), ('/home/nano/Desktop/images/10122025/21/37/image_10122025_21_37_15_9626.jpg', 2), ('/home/nano/Desktop/images/10122025/21/36/image_10122025_21_36_54_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/21/36/image_10122025_21_36_45_10648.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 21:39:03.515624 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/21/37/image_10122025_21_38_05_10635.jpg', 2), ('/home/nano/Desktop/images/10122025/21/37/image_10122025_21_37_35_10631.jpg', 2), ('/home/nano/Desktop/images/10122025/21/37/image_10122025_21_37_24_9623.jpg', 2), ('/home/nano/Desktop/images/10122025/21/37/image_10122025_21_37_15_9626.jpg', 2), ('/home/nano/Desktop/images/10122025/21/36/image_10122025_21_36_54_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/21/36/image_10122025_21_36_45_10648.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 21:39:32.494635 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/21/38/image_10122025_21_39_05_9639.jpg', 2), ('/home/nano/Desktop/images/10122025/21/38/image_10122025_21_38_35_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/21/37/image_10122025_21_38_05_10635.jpg', 2), ('/home/nano/Desktop/images/10122025/21/37/image_10122025_21_37_35_10631.jpg', 2), ('/home/nano/Desktop/images/10122025/21/37/image_10122025_21_37_24_9623.jpg', 2), ('/home/nano/Desktop/images/10122025/21/37/image_10122025_21_37_15_9626.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 21:40:03.133151 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/21/38/image_10122025_21_39_05_9639.jpg', 2), ('/home/nano/Desktop/images/10122025/21/38/image_10122025_21_38_35_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/21/37/image_10122025_21_38_05_10635.jpg', 2), ('/home/nano/Desktop/images/10122025/21/37/image_10122025_21_37_35_10631.jpg', 2), ('/home/nano/Desktop/images/10122025/21/37/image_10122025_21_37_24_9623.jpg', 2), ('/home/nano/Desktop/images/10122025/21/37/image_10122025_21_37_15_9626.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 21:40:32.629030 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/21/40/image_10122025_21_40_25_9625.jpg', 2), ('/home/nano/Desktop/images/10122025/21/40/image_10122025_21_40_15_10646.jpg', 2), ('/home/nano/Desktop/images/10122025/21/39/image_10122025_21_39_44_9636.jpg', 2), ('/home/nano/Desktop/images/10122025/21/38/image_10122025_21_39_05_9639.jpg', 2), ('/home/nano/Desktop/images/10122025/21/38/image_10122025_21_38_35_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/21/37/image_10122025_21_38_05_10635.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 21:41:03.526646 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/21/40/image_10122025_21_41_04_9632.jpg', 2), ('/home/nano/Desktop/images/10122025/21/40/image_10122025_21_40_25_9625.jpg', 2), ('/home/nano/Desktop/images/10122025/21/40/image_10122025_21_40_15_10646.jpg', 2), ('/home/nano/Desktop/images/10122025/21/39/image_10122025_21_39_44_9636.jpg', 2), ('/home/nano/Desktop/images/10122025/21/38/image_10122025_21_39_05_9639.jpg', 2), ('/home/nano/Desktop/images/10122025/21/38/image_10122025_21_38_35_9621.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 21:41:32.773148 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/21/41/image_10122025_21_41_45_9623.jpg', 2), ('/home/nano/Desktop/images/10122025/21/41/image_10122025_21_41_35_10629.jpg', 2), ('/home/nano/Desktop/images/10122025/21/41/image_10122025_21_41_24_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/21/40/image_10122025_21_41_04_9632.jpg', 2), ('/home/nano/Desktop/images/10122025/21/40/image_10122025_21_40_34_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/21/40/image_10122025_21_40_25_9625.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 21:42:02.348664 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/21/41/image_10122025_21_41_45_9623.jpg', 2), ('/home/nano/Desktop/images/10122025/21/41/image_10122025_21_41_35_10629.jpg', 2), ('/home/nano/Desktop/images/10122025/21/41/image_10122025_21_41_24_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/21/40/image_10122025_21_41_04_9632.jpg', 2), ('/home/nano/Desktop/images/10122025/21/40/image_10122025_21_40_34_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/21/40/image_10122025_21_40_25_9625.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 21:42:31.862517 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/21/42/image_10122025_21_42_44_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/21/42/image_10122025_21_42_35_10631.jpg', 2), ('/home/nano/Desktop/images/10122025/21/42/image_10122025_21_42_24_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/21/42/image_10122025_21_42_15_9641.jpg', 2), ('/home/nano/Desktop/images/10122025/21/41/image_10122025_21_41_54_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/21/41/image_10122025_21_41_45_9623.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 21:43:02.704566 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/21/42/image_10122025_21_42_44_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/21/42/image_10122025_21_42_35_10631.jpg', 2), ('/home/nano/Desktop/images/10122025/21/42/image_10122025_21_42_24_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/21/42/image_10122025_21_42_15_9641.jpg', 2), ('/home/nano/Desktop/images/10122025/21/41/image_10122025_21_41_54_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/21/41/image_10122025_21_41_45_9623.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 21:43:31.971776 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/21/43/image_10122025_21_43_44_9626.jpg', 2), ('/home/nano/Desktop/images/10122025/21/43/image_10122025_21_43_35_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/21/42/image_10122025_21_43_05_10658.jpg', 2), ('/home/nano/Desktop/images/10122025/21/42/image_10122025_21_42_54_9642.jpg', 2), ('/home/nano/Desktop/images/10122025/21/42/image_10122025_21_42_44_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/21/42/image_10122025_21_42_35_10631.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 21:44:02.787448 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/21/43/image_10122025_21_43_44_9626.jpg', 2), ('/home/nano/Desktop/images/10122025/21/43/image_10122025_21_43_35_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/21/42/image_10122025_21_43_05_10658.jpg', 2), ('/home/nano/Desktop/images/10122025/21/42/image_10122025_21_42_54_9642.jpg', 2), ('/home/nano/Desktop/images/10122025/21/42/image_10122025_21_42_44_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/21/42/image_10122025_21_42_35_10631.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 21:44:32.091444 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/21/44/image_10122025_21_44_25_10633.jpg', 2), ('/home/nano/Desktop/images/10122025/21/44/image_10122025_21_44_14_9638.jpg', 2), ('/home/nano/Desktop/images/10122025/21/43/image_10122025_21_44_05_9628.jpg', 2), ('/home/nano/Desktop/images/10122025/21/43/image_10122025_21_43_55_10631.jpg', 2), ('/home/nano/Desktop/images/10122025/21/43/image_10122025_21_43_44_9626.jpg', 2), ('/home/nano/Desktop/images/10122025/21/43/image_10122025_21_43_35_9619.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 21:45:02.816445 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/21/44/image_10122025_21_44_25_10633.jpg', 2), ('/home/nano/Desktop/images/10122025/21/44/image_10122025_21_44_14_9638.jpg', 2), ('/home/nano/Desktop/images/10122025/21/43/image_10122025_21_44_05_9628.jpg', 2), ('/home/nano/Desktop/images/10122025/21/43/image_10122025_21_43_55_10631.jpg', 2), ('/home/nano/Desktop/images/10122025/21/43/image_10122025_21_43_44_9626.jpg', 2), ('/home/nano/Desktop/images/10122025/21/43/image_10122025_21_43_35_9619.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 21:45:32.235788 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/21/45/image_10122025_21_45_45_10629.jpg', 2), ('/home/nano/Desktop/images/10122025/21/45/image_10122025_21_45_34_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/21/45/image_10122025_21_45_25_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/21/45/image_10122025_21_45_15_10646.jpg', 2), ('/home/nano/Desktop/images/10122025/21/44/image_10122025_21_44_34_9624.jpg', 2), ('/home/nano/Desktop/images/10122025/21/44/image_10122025_21_44_25_10633.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 21:46:02.846145 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/21/45/image_10122025_21_45_45_10629.jpg', 2), ('/home/nano/Desktop/images/10122025/21/45/image_10122025_21_45_34_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/21/45/image_10122025_21_45_25_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/21/45/image_10122025_21_45_15_10646.jpg', 2), ('/home/nano/Desktop/images/10122025/21/44/image_10122025_21_44_34_9624.jpg', 2), ('/home/nano/Desktop/images/10122025/21/44/image_10122025_21_44_25_10633.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 21:46:32.303704 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/21/46/image_10122025_21_46_45_10646.jpg', 2), ('/home/nano/Desktop/images/10122025/21/46/image_10122025_21_46_34_9623.jpg', 2), ('/home/nano/Desktop/images/10122025/21/46/image_10122025_21_46_24_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/21/45/image_10122025_21_45_55_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/21/45/image_10122025_21_45_45_10629.jpg', 2), ('/home/nano/Desktop/images/10122025/21/45/image_10122025_21_45_34_9618.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 21:47:03.211012 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/21/46/image_10122025_21_46_45_10646.jpg', 2), ('/home/nano/Desktop/images/10122025/21/46/image_10122025_21_46_34_9623.jpg', 2), ('/home/nano/Desktop/images/10122025/21/46/image_10122025_21_46_24_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/21/45/image_10122025_21_45_55_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/21/45/image_10122025_21_45_45_10629.jpg', 2), ('/home/nano/Desktop/images/10122025/21/45/image_10122025_21_45_34_9618.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 21:47:32.389018 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/21/47/image_10122025_21_47_15_9628.jpg', 2), ('/home/nano/Desktop/images/10122025/21/46/image_10122025_21_47_05_10644.jpg', 2), ('/home/nano/Desktop/images/10122025/21/46/image_10122025_21_46_54_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/21/46/image_10122025_21_46_45_10646.jpg', 2), ('/home/nano/Desktop/images/10122025/21/46/image_10122025_21_46_34_9623.jpg', 2), ('/home/nano/Desktop/images/10122025/21/46/image_10122025_21_46_24_9617.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 21:48:02.955691 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/21/47/image_10122025_21_47_15_9628.jpg', 2), ('/home/nano/Desktop/images/10122025/21/46/image_10122025_21_47_05_10644.jpg', 2), ('/home/nano/Desktop/images/10122025/21/46/image_10122025_21_46_54_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/21/46/image_10122025_21_46_45_10646.jpg', 2), ('/home/nano/Desktop/images/10122025/21/46/image_10122025_21_46_34_9623.jpg', 2), ('/home/nano/Desktop/images/10122025/21/46/image_10122025_21_46_24_9617.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 21:48:32.500876 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/21/48/image_10122025_21_48_35_10629.jpg', 2), ('/home/nano/Desktop/images/10122025/21/48/image_10122025_21_48_24_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/21/48/image_10122025_21_48_14_9635.jpg', 2), ('/home/nano/Desktop/images/10122025/21/47/image_10122025_21_47_54_9636.jpg', 2), ('/home/nano/Desktop/images/10122025/21/47/image_10122025_21_47_15_9628.jpg', 2), ('/home/nano/Desktop/images/10122025/21/46/image_10122025_21_47_05_10644.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 21:49:03.506138 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/21/48/image_10122025_21_48_35_10629.jpg', 2), ('/home/nano/Desktop/images/10122025/21/48/image_10122025_21_48_24_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/21/48/image_10122025_21_48_14_9635.jpg', 2), ('/home/nano/Desktop/images/10122025/21/47/image_10122025_21_47_54_9636.jpg', 2), ('/home/nano/Desktop/images/10122025/21/47/image_10122025_21_47_15_9628.jpg', 2), ('/home/nano/Desktop/images/10122025/21/46/image_10122025_21_47_05_10644.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 21:49:32.734522 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/21/49/image_10122025_21_49_34_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/21/49/image_10122025_21_49_25_10631.jpg', 2), ('/home/nano/Desktop/images/10122025/21/49/image_10122025_21_49_14_9640.jpg', 2), ('/home/nano/Desktop/images/10122025/21/48/image_10122025_21_49_05_9626.jpg', 2), ('/home/nano/Desktop/images/10122025/21/48/image_10122025_21_48_44_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/21/48/image_10122025_21_48_35_10629.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 21:50:03.290576 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/21/49/image_10122025_21_49_34_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/21/49/image_10122025_21_49_25_10631.jpg', 2), ('/home/nano/Desktop/images/10122025/21/49/image_10122025_21_49_14_9640.jpg', 2), ('/home/nano/Desktop/images/10122025/21/48/image_10122025_21_49_05_9626.jpg', 2), ('/home/nano/Desktop/images/10122025/21/48/image_10122025_21_48_44_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/21/48/image_10122025_21_48_35_10629.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 21:50:32.778768 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/21/50/image_10122025_21_50_45_10631.jpg', 2), ('/home/nano/Desktop/images/10122025/21/50/image_10122025_21_50_34_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/21/50/image_10122025_21_50_15_10647.jpg', 2), ('/home/nano/Desktop/images/10122025/21/49/image_10122025_21_50_04_9640.jpg', 2), ('/home/nano/Desktop/images/10122025/21/49/image_10122025_21_49_55_10627.jpg', 2), ('/home/nano/Desktop/images/10122025/21/49/image_10122025_21_49_34_9619.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 21:51:02.626592 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/21/50/image_10122025_21_50_45_10631.jpg', 2), ('/home/nano/Desktop/images/10122025/21/50/image_10122025_21_50_34_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/21/50/image_10122025_21_50_15_10647.jpg', 2), ('/home/nano/Desktop/images/10122025/21/49/image_10122025_21_50_04_9640.jpg', 2), ('/home/nano/Desktop/images/10122025/21/49/image_10122025_21_49_55_10627.jpg', 2), ('/home/nano/Desktop/images/10122025/21/49/image_10122025_21_49_34_9619.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 21:51:31.865602 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/21/51/image_10122025_21_51_45_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/21/51/image_10122025_21_51_35_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/21/50/image_10122025_21_51_04_9626.jpg', 2), ('/home/nano/Desktop/images/10122025/21/50/image_10122025_21_50_55_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/21/50/image_10122025_21_50_45_10631.jpg', 2), ('/home/nano/Desktop/images/10122025/21/50/image_10122025_21_50_34_9619.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 21:52:02.419238 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/21/51/image_10122025_21_51_45_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/21/51/image_10122025_21_51_35_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/21/50/image_10122025_21_51_04_9626.jpg', 2), ('/home/nano/Desktop/images/10122025/21/50/image_10122025_21_50_55_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/21/50/image_10122025_21_50_45_10631.jpg', 2), ('/home/nano/Desktop/images/10122025/21/50/image_10122025_21_50_34_9619.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 21:52:31.953652 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/21/52/image_10122025_21_52_15_9644.jpg', 2), ('/home/nano/Desktop/images/10122025/21/51/image_10122025_21_52_05_10641.jpg', 2), ('/home/nano/Desktop/images/10122025/21/51/image_10122025_21_51_54_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/21/51/image_10122025_21_51_45_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/21/51/image_10122025_21_51_35_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/21/50/image_10122025_21_51_04_9626.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 21:53:02.620964 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/21/52/image_10122025_21_52_15_9644.jpg', 2), ('/home/nano/Desktop/images/10122025/21/51/image_10122025_21_52_05_10641.jpg', 2), ('/home/nano/Desktop/images/10122025/21/51/image_10122025_21_51_54_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/21/51/image_10122025_21_51_45_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/21/51/image_10122025_21_51_35_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/21/50/image_10122025_21_51_04_9626.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 21:53:32.053290 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/21/53/image_10122025_21_53_35_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/21/53/image_10122025_21_53_25_10634.jpg', 2), ('/home/nano/Desktop/images/10122025/21/53/image_10122025_21_53_14_9631.jpg', 2), ('/home/nano/Desktop/images/10122025/21/52/image_10122025_21_52_24_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/21/52/image_10122025_21_52_15_9644.jpg', 2), ('/home/nano/Desktop/images/10122025/21/51/image_10122025_21_52_05_10641.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 21:54:02.902501 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/21/53/image_10122025_21_53_35_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/21/53/image_10122025_21_53_25_10634.jpg', 2), ('/home/nano/Desktop/images/10122025/21/53/image_10122025_21_53_14_9631.jpg', 2), ('/home/nano/Desktop/images/10122025/21/52/image_10122025_21_52_24_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/21/52/image_10122025_21_52_15_9644.jpg', 2), ('/home/nano/Desktop/images/10122025/21/51/image_10122025_21_52_05_10641.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 21:54:32.176501 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/21/54/image_10122025_21_54_34_9636.jpg', 2), ('/home/nano/Desktop/images/10122025/21/54/image_10122025_21_54_25_10631.jpg', 2), ('/home/nano/Desktop/images/10122025/21/54/image_10122025_21_54_14_9637.jpg', 2), ('/home/nano/Desktop/images/10122025/21/53/image_10122025_21_54_05_9632.jpg', 2), ('/home/nano/Desktop/images/10122025/21/53/image_10122025_21_53_55_10629.jpg', 2), ('/home/nano/Desktop/images/10122025/21/53/image_10122025_21_53_35_9622.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 21:55:03.030917 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/21/54/image_10122025_21_54_34_9636.jpg', 2), ('/home/nano/Desktop/images/10122025/21/54/image_10122025_21_54_25_10631.jpg', 2), ('/home/nano/Desktop/images/10122025/21/54/image_10122025_21_54_14_9637.jpg', 2), ('/home/nano/Desktop/images/10122025/21/53/image_10122025_21_54_05_9632.jpg', 2), ('/home/nano/Desktop/images/10122025/21/53/image_10122025_21_53_55_10629.jpg', 2), ('/home/nano/Desktop/images/10122025/21/53/image_10122025_21_53_35_9622.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 21:55:32.272502 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/21/55/image_10122025_21_55_25_9624.jpg', 2), ('/home/nano/Desktop/images/10122025/21/55/image_10122025_21_55_15_10652.jpg', 2), ('/home/nano/Desktop/images/10122025/21/54/image_10122025_21_55_04_9631.jpg', 2), ('/home/nano/Desktop/images/10122025/21/54/image_10122025_21_54_55_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/21/54/image_10122025_21_54_34_9636.jpg', 2), ('/home/nano/Desktop/images/10122025/21/54/image_10122025_21_54_25_10631.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 21:56:02.786615 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/21/55/image_10122025_21_55_25_9624.jpg', 2), ('/home/nano/Desktop/images/10122025/21/55/image_10122025_21_55_15_10652.jpg', 2), ('/home/nano/Desktop/images/10122025/21/54/image_10122025_21_55_04_9631.jpg', 2), ('/home/nano/Desktop/images/10122025/21/54/image_10122025_21_54_55_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/21/54/image_10122025_21_54_34_9636.jpg', 2), ('/home/nano/Desktop/images/10122025/21/54/image_10122025_21_54_25_10631.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 21:56:32.361881 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/21/56/image_10122025_21_56_35_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/21/56/image_10122025_21_56_24_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/21/56/image_10122025_21_56_15_10668.jpg', 2), ('/home/nano/Desktop/images/10122025/21/55/image_10122025_21_55_34_9624.jpg', 2), ('/home/nano/Desktop/images/10122025/21/55/image_10122025_21_55_25_9624.jpg', 2), ('/home/nano/Desktop/images/10122025/21/55/image_10122025_21_55_15_10652.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 21:57:03.111433 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/21/56/image_10122025_21_56_35_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/21/56/image_10122025_21_56_24_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/21/56/image_10122025_21_56_15_10668.jpg', 2), ('/home/nano/Desktop/images/10122025/21/55/image_10122025_21_55_34_9624.jpg', 2), ('/home/nano/Desktop/images/10122025/21/55/image_10122025_21_55_25_9624.jpg', 2), ('/home/nano/Desktop/images/10122025/21/55/image_10122025_21_55_15_10652.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 21:57:32.460194 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/21/57/image_10122025_21_57_24_9616.jpg', 2), ('/home/nano/Desktop/images/10122025/21/57/image_10122025_21_57_15_9634.jpg', 2), ('/home/nano/Desktop/images/10122025/21/56/image_10122025_21_57_05_10639.jpg', 2), ('/home/nano/Desktop/images/10122025/21/56/image_10122025_21_56_45_9624.jpg', 2), ('/home/nano/Desktop/images/10122025/21/56/image_10122025_21_56_35_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/21/56/image_10122025_21_56_24_9619.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 21:58:03.125534 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/21/57/image_10122025_21_57_24_9616.jpg', 2), ('/home/nano/Desktop/images/10122025/21/57/image_10122025_21_57_15_9634.jpg', 2), ('/home/nano/Desktop/images/10122025/21/56/image_10122025_21_57_05_10639.jpg', 2), ('/home/nano/Desktop/images/10122025/21/56/image_10122025_21_56_45_9624.jpg', 2), ('/home/nano/Desktop/images/10122025/21/56/image_10122025_21_56_35_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/21/56/image_10122025_21_56_24_9619.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 21:59:03.745352 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/21/58/image_10122025_21_58_44_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/21/58/image_10122025_21_58_35_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/21/58/image_10122025_21_58_25_10629.jpg', 2), ('/home/nano/Desktop/images/10122025/21/57/image_10122025_21_57_55_10629.jpg', 2), ('/home/nano/Desktop/images/10122025/21/57/image_10122025_21_57_24_9616.jpg', 2), ('/home/nano/Desktop/images/10122025/21/57/image_10122025_21_57_15_9634.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 21:59:32.729020 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/21/59/image_10122025_21_59_45_10645.jpg', 2), ('/home/nano/Desktop/images/10122025/21/59/image_10122025_21_59_25_10629.jpg', 2), ('/home/nano/Desktop/images/10122025/21/58/image_10122025_21_58_55_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/21/58/image_10122025_21_58_44_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/21/58/image_10122025_21_58_35_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/21/58/image_10122025_21_58_25_10629.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 22:00:02.370982 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/21/59/image_10122025_21_59_45_10645.jpg', 2), ('/home/nano/Desktop/images/10122025/21/59/image_10122025_21_59_25_10629.jpg', 2), ('/home/nano/Desktop/images/10122025/21/58/image_10122025_21_58_55_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/21/58/image_10122025_21_58_44_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/21/58/image_10122025_21_58_35_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/21/58/image_10122025_21_58_25_10629.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 22:00:31.904716 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/22/00/image_10122025_22_00_15_10647.jpg', 2), ('/home/nano/Desktop/images/10122025/21/59/image_10122025_21_59_55_9637.jpg', 2), ('/home/nano/Desktop/images/10122025/21/59/image_10122025_21_59_45_10645.jpg', 2), ('/home/nano/Desktop/images/10122025/21/59/image_10122025_21_59_25_10629.jpg', 2), ('/home/nano/Desktop/images/10122025/21/58/image_10122025_21_58_55_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/21/58/image_10122025_21_58_44_9621.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 22:01:02.756590 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/22/00/image_10122025_22_00_15_10647.jpg', 2), ('/home/nano/Desktop/images/10122025/21/59/image_10122025_21_59_55_9637.jpg', 2), ('/home/nano/Desktop/images/10122025/21/59/image_10122025_21_59_45_10645.jpg', 2), ('/home/nano/Desktop/images/10122025/21/59/image_10122025_21_59_25_10629.jpg', 2), ('/home/nano/Desktop/images/10122025/21/58/image_10122025_21_58_55_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/21/58/image_10122025_21_58_44_9621.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 22:01:32.044511 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/22/01/image_10122025_22_01_35_10628.jpg', 2), ('/home/nano/Desktop/images/10122025/22/01/image_10122025_22_01_24_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/22/01/image_10122025_22_01_15_10649.jpg', 2), ('/home/nano/Desktop/images/10122025/22/00/image_10122025_22_00_34_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/22/00/image_10122025_22_00_15_10647.jpg', 2), ('/home/nano/Desktop/images/10122025/21/59/image_10122025_21_59_55_9637.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 22:02:02.718286 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/22/01/image_10122025_22_01_35_10628.jpg', 2), ('/home/nano/Desktop/images/10122025/22/01/image_10122025_22_01_24_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/22/01/image_10122025_22_01_15_10649.jpg', 2), ('/home/nano/Desktop/images/10122025/22/00/image_10122025_22_00_34_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/22/00/image_10122025_22_00_15_10647.jpg', 2), ('/home/nano/Desktop/images/10122025/21/59/image_10122025_21_59_55_9637.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 22:02:32.100211 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/22/02/image_10122025_22_02_44_9623.jpg', 2), ('/home/nano/Desktop/images/10122025/22/02/image_10122025_22_02_35_10629.jpg', 2), ('/home/nano/Desktop/images/10122025/22/02/image_10122025_22_02_24_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/22/02/image_10122025_22_02_15_9628.jpg', 2), ('/home/nano/Desktop/images/10122025/22/01/image_10122025_22_01_45_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/22/01/image_10122025_22_01_35_10628.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 22:03:02.993597 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/22/02/image_10122025_22_02_44_9623.jpg', 2), ('/home/nano/Desktop/images/10122025/22/02/image_10122025_22_02_35_10629.jpg', 2), ('/home/nano/Desktop/images/10122025/22/02/image_10122025_22_02_24_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/22/02/image_10122025_22_02_15_9628.jpg', 2), ('/home/nano/Desktop/images/10122025/22/01/image_10122025_22_01_45_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/22/01/image_10122025_22_01_35_10628.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 22:03:32.197119 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/22/03/image_10122025_22_03_44_9642.jpg', 2), ('/home/nano/Desktop/images/10122025/22/03/image_10122025_22_03_35_9623.jpg', 2), ('/home/nano/Desktop/images/10122025/22/03/image_10122025_22_03_14_9632.jpg', 2), ('/home/nano/Desktop/images/10122025/22/02/image_10122025_22_03_05_9629.jpg', 2), ('/home/nano/Desktop/images/10122025/22/02/image_10122025_22_02_55_10633.jpg', 2), ('/home/nano/Desktop/images/10122025/22/02/image_10122025_22_02_44_9623.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 22:04:03.173550 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/22/03/image_10122025_22_03_44_9642.jpg', 2), ('/home/nano/Desktop/images/10122025/22/03/image_10122025_22_03_35_9623.jpg', 2), ('/home/nano/Desktop/images/10122025/22/03/image_10122025_22_03_14_9632.jpg', 2), ('/home/nano/Desktop/images/10122025/22/02/image_10122025_22_03_05_9629.jpg', 2), ('/home/nano/Desktop/images/10122025/22/02/image_10122025_22_02_55_10633.jpg', 2), ('/home/nano/Desktop/images/10122025/22/02/image_10122025_22_02_44_9623.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 22:04:32.296787 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/22/04/image_10122025_22_04_14_9637.jpg', 2), ('/home/nano/Desktop/images/10122025/22/03/image_10122025_22_04_05_9638.jpg', 2), ('/home/nano/Desktop/images/10122025/22/03/image_10122025_22_03_55_10649.jpg', 2), ('/home/nano/Desktop/images/10122025/22/03/image_10122025_22_03_44_9642.jpg', 2), ('/home/nano/Desktop/images/10122025/22/03/image_10122025_22_03_35_9623.jpg', 2), ('/home/nano/Desktop/images/10122025/22/03/image_10122025_22_03_14_9632.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 22:05:03.113369 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/22/04/image_10122025_22_04_14_9637.jpg', 2), ('/home/nano/Desktop/images/10122025/22/03/image_10122025_22_04_05_9638.jpg', 2), ('/home/nano/Desktop/images/10122025/22/03/image_10122025_22_03_55_10649.jpg', 2), ('/home/nano/Desktop/images/10122025/22/03/image_10122025_22_03_44_9642.jpg', 2), ('/home/nano/Desktop/images/10122025/22/03/image_10122025_22_03_35_9623.jpg', 2), ('/home/nano/Desktop/images/10122025/22/03/image_10122025_22_03_14_9632.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 22:05:32.371378 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/22/05/image_10122025_22_05_15_10663.jpg', 2), ('/home/nano/Desktop/images/10122025/22/04/image_10122025_22_04_25_10635.jpg', 2), ('/home/nano/Desktop/images/10122025/22/04/image_10122025_22_04_14_9637.jpg', 2), ('/home/nano/Desktop/images/10122025/22/03/image_10122025_22_04_05_9638.jpg', 2), ('/home/nano/Desktop/images/10122025/22/03/image_10122025_22_03_55_10649.jpg', 2), ('/home/nano/Desktop/images/10122025/22/03/image_10122025_22_03_44_9642.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 22:06:02.966023 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/22/05/image_10122025_22_05_15_10663.jpg', 2), ('/home/nano/Desktop/images/10122025/22/04/image_10122025_22_04_25_10635.jpg', 2), ('/home/nano/Desktop/images/10122025/22/04/image_10122025_22_04_14_9637.jpg', 2), ('/home/nano/Desktop/images/10122025/22/03/image_10122025_22_04_05_9638.jpg', 2), ('/home/nano/Desktop/images/10122025/22/03/image_10122025_22_03_55_10649.jpg', 2), ('/home/nano/Desktop/images/10122025/22/03/image_10122025_22_03_44_9642.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 22:06:32.478057 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/22/06/image_10122025_22_06_35_10632.jpg', 2), ('/home/nano/Desktop/images/10122025/22/06/image_10122025_22_06_15_10646.jpg', 2), ('/home/nano/Desktop/images/10122025/22/05/image_10122025_22_06_04_9633.jpg', 2), ('/home/nano/Desktop/images/10122025/22/05/image_10122025_22_05_25_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/22/05/image_10122025_22_05_15_10663.jpg', 2), ('/home/nano/Desktop/images/10122025/22/04/image_10122025_22_04_25_10635.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 22:07:03.228233 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/22/06/image_10122025_22_06_35_10632.jpg', 2), ('/home/nano/Desktop/images/10122025/22/06/image_10122025_22_06_15_10646.jpg', 2), ('/home/nano/Desktop/images/10122025/22/05/image_10122025_22_06_04_9633.jpg', 2), ('/home/nano/Desktop/images/10122025/22/05/image_10122025_22_05_25_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/22/05/image_10122025_22_05_15_10663.jpg', 2), ('/home/nano/Desktop/images/10122025/22/04/image_10122025_22_04_25_10635.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 22:07:32.541281 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/22/07/image_10122025_22_07_44_9625.jpg', 2), ('/home/nano/Desktop/images/10122025/22/07/image_10122025_22_07_24_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/22/07/image_10122025_22_07_15_9640.jpg', 2), ('/home/nano/Desktop/images/10122025/22/06/image_10122025_22_06_45_9623.jpg', 2), ('/home/nano/Desktop/images/10122025/22/06/image_10122025_22_06_35_10632.jpg', 2), ('/home/nano/Desktop/images/10122025/22/06/image_10122025_22_06_15_10646.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 22:08:03.251393 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/22/08/image_10122025_22_08_35_9627.jpg', 2), ('/home/nano/Desktop/images/10122025/22/07/image_10122025_22_07_44_9625.jpg', 2), ('/home/nano/Desktop/images/10122025/22/07/image_10122025_22_07_24_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/22/07/image_10122025_22_07_15_9640.jpg', 2), ('/home/nano/Desktop/images/10122025/22/06/image_10122025_22_06_45_9623.jpg', 2), ('/home/nano/Desktop/images/10122025/22/06/image_10122025_22_06_35_10632.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 22:08:32.692135 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/22/08/image_10122025_22_08_44_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/22/08/image_10122025_22_08_35_9627.jpg', 2), ('/home/nano/Desktop/images/10122025/22/08/image_10122025_22_08_14_9637.jpg', 2), ('/home/nano/Desktop/images/10122025/22/07/image_10122025_22_08_05_9635.jpg', 2), ('/home/nano/Desktop/images/10122025/22/07/image_10122025_22_07_55_10629.jpg', 2), ('/home/nano/Desktop/images/10122025/22/07/image_10122025_22_07_44_9625.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 22:09:02.758274 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/22/08/image_10122025_22_08_44_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/22/08/image_10122025_22_08_35_9627.jpg', 2), ('/home/nano/Desktop/images/10122025/22/08/image_10122025_22_08_14_9637.jpg', 2), ('/home/nano/Desktop/images/10122025/22/07/image_10122025_22_08_05_9635.jpg', 2), ('/home/nano/Desktop/images/10122025/22/07/image_10122025_22_07_55_10629.jpg', 2), ('/home/nano/Desktop/images/10122025/22/07/image_10122025_22_07_44_9625.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 22:09:31.781442 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/22/08/image_10122025_22_08_55_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/22/08/image_10122025_22_08_44_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/22/08/image_10122025_22_08_35_9627.jpg', 2), ('/home/nano/Desktop/images/10122025/22/08/image_10122025_22_08_14_9637.jpg', 2), ('/home/nano/Desktop/images/10122025/22/07/image_10122025_22_08_05_9635.jpg', 2), ('/home/nano/Desktop/images/10122025/22/07/image_10122025_22_07_55_10629.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 22:10:02.347608 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/22/08/image_10122025_22_08_55_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/22/08/image_10122025_22_08_44_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/22/08/image_10122025_22_08_35_9627.jpg', 2), ('/home/nano/Desktop/images/10122025/22/08/image_10122025_22_08_14_9637.jpg', 2), ('/home/nano/Desktop/images/10122025/22/07/image_10122025_22_08_05_9635.jpg', 2), ('/home/nano/Desktop/images/10122025/22/07/image_10122025_22_07_55_10629.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 22:10:31.893687 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/22/10/image_10122025_22_10_25_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/22/09/image_10122025_22_10_04_9636.jpg', 2), ('/home/nano/Desktop/images/10122025/22/09/image_10122025_22_09_55_9623.jpg', 2), ('/home/nano/Desktop/images/10122025/22/08/image_10122025_22_08_55_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/22/08/image_10122025_22_08_44_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/22/08/image_10122025_22_08_35_9627.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 22:11:02.485698 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/22/10/image_10122025_22_10_25_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/22/09/image_10122025_22_10_04_9636.jpg', 2), ('/home/nano/Desktop/images/10122025/22/09/image_10122025_22_09_55_9623.jpg', 2), ('/home/nano/Desktop/images/10122025/22/08/image_10122025_22_08_55_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/22/08/image_10122025_22_08_44_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/22/08/image_10122025_22_08_35_9627.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 22:11:31.981789 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/22/11/image_10122025_22_11_35_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/22/11/image_10122025_22_11_24_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/22/11/image_10122025_22_11_15_10680.jpg', 2), ('/home/nano/Desktop/images/10122025/22/10/image_10122025_22_11_04_9631.jpg', 2), ('/home/nano/Desktop/images/10122025/22/10/image_10122025_22_10_34_9638.jpg', 2), ('/home/nano/Desktop/images/10122025/22/10/image_10122025_22_10_25_9621.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 22:12:02.636865 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/22/11/image_10122025_22_11_35_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/22/11/image_10122025_22_11_24_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/22/11/image_10122025_22_11_15_10680.jpg', 2), ('/home/nano/Desktop/images/10122025/22/10/image_10122025_22_11_04_9631.jpg', 2), ('/home/nano/Desktop/images/10122025/22/10/image_10122025_22_10_34_9638.jpg', 2), ('/home/nano/Desktop/images/10122025/22/10/image_10122025_22_10_25_9621.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 22:12:32.074833 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/22/12/image_10122025_22_12_44_9623.jpg', 2), ('/home/nano/Desktop/images/10122025/22/12/image_10122025_22_12_35_10651.jpg', 2), ('/home/nano/Desktop/images/10122025/22/11/image_10122025_22_11_45_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/22/11/image_10122025_22_11_35_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/22/11/image_10122025_22_11_24_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/22/11/image_10122025_22_11_15_10680.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 22:13:02.812276 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/22/12/image_10122025_22_12_44_9623.jpg', 2), ('/home/nano/Desktop/images/10122025/22/12/image_10122025_22_12_35_10651.jpg', 2), ('/home/nano/Desktop/images/10122025/22/11/image_10122025_22_11_45_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/22/11/image_10122025_22_11_35_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/22/11/image_10122025_22_11_24_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/22/11/image_10122025_22_11_15_10680.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 22:13:32.207723 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/22/12/image_10122025_22_13_05_9633.jpg', 2), ('/home/nano/Desktop/images/10122025/22/12/image_10122025_22_12_55_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/22/12/image_10122025_22_12_44_9623.jpg', 2), ('/home/nano/Desktop/images/10122025/22/12/image_10122025_22_12_35_10651.jpg', 2), ('/home/nano/Desktop/images/10122025/22/11/image_10122025_22_11_45_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/22/11/image_10122025_22_11_35_10630.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 22:14:03.112750 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/22/12/image_10122025_22_13_05_9633.jpg', 2), ('/home/nano/Desktop/images/10122025/22/12/image_10122025_22_12_55_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/22/12/image_10122025_22_12_44_9623.jpg', 2), ('/home/nano/Desktop/images/10122025/22/12/image_10122025_22_12_35_10651.jpg', 2), ('/home/nano/Desktop/images/10122025/22/11/image_10122025_22_11_45_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/22/11/image_10122025_22_11_35_10630.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 22:14:32.278041 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/22/14/image_10122025_22_14_25_10645.jpg', 2), ('/home/nano/Desktop/images/10122025/22/14/image_10122025_22_14_14_9638.jpg', 2), ('/home/nano/Desktop/images/10122025/22/13/image_10122025_22_13_35_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/22/12/image_10122025_22_13_05_9633.jpg', 2), ('/home/nano/Desktop/images/10122025/22/12/image_10122025_22_12_55_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/22/12/image_10122025_22_12_44_9623.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 22:15:03.145769 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/22/14/image_10122025_22_14_25_10645.jpg', 2), ('/home/nano/Desktop/images/10122025/22/14/image_10122025_22_14_14_9638.jpg', 2), ('/home/nano/Desktop/images/10122025/22/13/image_10122025_22_13_35_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/22/12/image_10122025_22_13_05_9633.jpg', 2), ('/home/nano/Desktop/images/10122025/22/12/image_10122025_22_12_55_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/22/12/image_10122025_22_12_44_9623.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 22:15:32.442196 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/22/15/image_10122025_22_15_25_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/22/15/image_10122025_22_15_15_10643.jpg', 2), ('/home/nano/Desktop/images/10122025/22/14/image_10122025_22_14_34_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/22/14/image_10122025_22_14_25_10645.jpg', 2), ('/home/nano/Desktop/images/10122025/22/14/image_10122025_22_14_14_9638.jpg', 2), ('/home/nano/Desktop/images/10122025/22/13/image_10122025_22_13_35_9621.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 22:16:03.056999 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/22/15/image_10122025_22_15_25_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/22/15/image_10122025_22_15_15_10643.jpg', 2), ('/home/nano/Desktop/images/10122025/22/14/image_10122025_22_14_34_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/22/14/image_10122025_22_14_25_10645.jpg', 2), ('/home/nano/Desktop/images/10122025/22/14/image_10122025_22_14_14_9638.jpg', 2), ('/home/nano/Desktop/images/10122025/22/13/image_10122025_22_13_35_9621.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 22:16:32.564387 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/22/16/image_10122025_22_16_35_10631.jpg', 2), ('/home/nano/Desktop/images/10122025/22/16/image_10122025_22_16_24_9625.jpg', 2), ('/home/nano/Desktop/images/10122025/22/15/image_10122025_22_15_34_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/22/15/image_10122025_22_15_25_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/22/15/image_10122025_22_15_15_10643.jpg', 2), ('/home/nano/Desktop/images/10122025/22/14/image_10122025_22_14_34_9619.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 22:17:03.498532 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/22/17/image_10122025_22_17_44_9623.jpg', 2), ('/home/nano/Desktop/images/10122025/22/16/image_10122025_22_16_35_10631.jpg', 2), ('/home/nano/Desktop/images/10122025/22/16/image_10122025_22_16_24_9625.jpg', 2), ('/home/nano/Desktop/images/10122025/22/15/image_10122025_22_15_34_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/22/15/image_10122025_22_15_25_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/22/15/image_10122025_22_15_15_10643.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 22:17:32.671631 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/22/17/image_10122025_22_17_44_9623.jpg', 2), ('/home/nano/Desktop/images/10122025/22/16/image_10122025_22_17_05_10632.jpg', 2), ('/home/nano/Desktop/images/10122025/22/16/image_10122025_22_16_45_9642.jpg', 2), ('/home/nano/Desktop/images/10122025/22/16/image_10122025_22_16_35_10631.jpg', 2), ('/home/nano/Desktop/images/10122025/22/16/image_10122025_22_16_24_9625.jpg', 2), ('/home/nano/Desktop/images/10122025/22/15/image_10122025_22_15_34_9622.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 22:18:02.281274 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/22/17/image_10122025_22_17_44_9623.jpg', 2), ('/home/nano/Desktop/images/10122025/22/16/image_10122025_22_17_05_10632.jpg', 2), ('/home/nano/Desktop/images/10122025/22/16/image_10122025_22_16_45_9642.jpg', 2), ('/home/nano/Desktop/images/10122025/22/16/image_10122025_22_16_35_10631.jpg', 2), ('/home/nano/Desktop/images/10122025/22/16/image_10122025_22_16_24_9625.jpg', 2), ('/home/nano/Desktop/images/10122025/22/15/image_10122025_22_15_34_9622.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 22:18:31.764393 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/22/18/image_10122025_22_18_44_9636.jpg', 2), ('/home/nano/Desktop/images/10122025/22/18/image_10122025_22_18_35_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/22/18/image_10122025_22_18_25_10632.jpg', 2), ('/home/nano/Desktop/images/10122025/22/18/image_10122025_22_18_14_9639.jpg', 2), ('/home/nano/Desktop/images/10122025/22/17/image_10122025_22_18_05_9645.jpg', 2), ('/home/nano/Desktop/images/10122025/22/17/image_10122025_22_17_55_10629.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 22:19:02.770046 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/22/18/image_10122025_22_18_44_9636.jpg', 2), ('/home/nano/Desktop/images/10122025/22/18/image_10122025_22_18_35_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/22/18/image_10122025_22_18_25_10632.jpg', 2), ('/home/nano/Desktop/images/10122025/22/18/image_10122025_22_18_14_9639.jpg', 2), ('/home/nano/Desktop/images/10122025/22/17/image_10122025_22_18_05_9645.jpg', 2), ('/home/nano/Desktop/images/10122025/22/17/image_10122025_22_17_55_10629.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 22:19:31.872670 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/22/19/image_10122025_22_19_45_10633.jpg', 2), ('/home/nano/Desktop/images/10122025/22/19/image_10122025_22_19_34_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/22/19/image_10122025_22_19_15_10640.jpg', 2), ('/home/nano/Desktop/images/10122025/22/18/image_10122025_22_19_04_9632.jpg', 2), ('/home/nano/Desktop/images/10122025/22/18/image_10122025_22_18_55_10629.jpg', 2), ('/home/nano/Desktop/images/10122025/22/18/image_10122025_22_18_44_9636.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 22:20:02.349218 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/22/19/image_10122025_22_19_45_10633.jpg', 2), ('/home/nano/Desktop/images/10122025/22/19/image_10122025_22_19_34_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/22/19/image_10122025_22_19_15_10640.jpg', 2), ('/home/nano/Desktop/images/10122025/22/18/image_10122025_22_19_04_9632.jpg', 2), ('/home/nano/Desktop/images/10122025/22/18/image_10122025_22_18_55_10629.jpg', 2), ('/home/nano/Desktop/images/10122025/22/18/image_10122025_22_18_44_9636.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 22:20:31.985636 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/22/20/image_10122025_22_20_45_10628.jpg', 2), ('/home/nano/Desktop/images/10122025/22/20/image_10122025_22_20_34_9628.jpg', 2), ('/home/nano/Desktop/images/10122025/22/19/image_10122025_22_20_04_9641.jpg', 2), ('/home/nano/Desktop/images/10122025/22/19/image_10122025_22_19_55_9634.jpg', 2), ('/home/nano/Desktop/images/10122025/22/19/image_10122025_22_19_45_10633.jpg', 2), ('/home/nano/Desktop/images/10122025/22/19/image_10122025_22_19_34_9617.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 22:21:02.724198 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/22/20/image_10122025_22_20_45_10628.jpg', 2), ('/home/nano/Desktop/images/10122025/22/20/image_10122025_22_20_34_9628.jpg', 2), ('/home/nano/Desktop/images/10122025/22/19/image_10122025_22_20_04_9641.jpg', 2), ('/home/nano/Desktop/images/10122025/22/19/image_10122025_22_19_55_9634.jpg', 2), ('/home/nano/Desktop/images/10122025/22/19/image_10122025_22_19_45_10633.jpg', 2), ('/home/nano/Desktop/images/10122025/22/19/image_10122025_22_19_34_9617.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 22:21:32.062945 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/22/21/image_10122025_22_21_45_9616.jpg', 2), ('/home/nano/Desktop/images/10122025/22/20/image_10122025_22_21_05_10636.jpg', 2), ('/home/nano/Desktop/images/10122025/22/20/image_10122025_22_20_54_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/22/20/image_10122025_22_20_45_10628.jpg', 2), ('/home/nano/Desktop/images/10122025/22/20/image_10122025_22_20_34_9628.jpg', 2), ('/home/nano/Desktop/images/10122025/22/19/image_10122025_22_20_04_9641.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 22:22:02.668708 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/22/21/image_10122025_22_21_45_9616.jpg', 2), ('/home/nano/Desktop/images/10122025/22/20/image_10122025_22_21_05_10636.jpg', 2), ('/home/nano/Desktop/images/10122025/22/20/image_10122025_22_20_54_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/22/20/image_10122025_22_20_45_10628.jpg', 2), ('/home/nano/Desktop/images/10122025/22/20/image_10122025_22_20_34_9628.jpg', 2), ('/home/nano/Desktop/images/10122025/22/19/image_10122025_22_20_04_9641.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 22:22:32.179999 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/22/21/image_10122025_22_21_54_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/22/21/image_10122025_22_21_45_9616.jpg', 2), ('/home/nano/Desktop/images/10122025/22/20/image_10122025_22_21_05_10636.jpg', 2), ('/home/nano/Desktop/images/10122025/22/20/image_10122025_22_20_54_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/22/20/image_10122025_22_20_45_10628.jpg', 2), ('/home/nano/Desktop/images/10122025/22/20/image_10122025_22_20_34_9628.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 22:23:02.968112 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/22/21/image_10122025_22_21_54_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/22/21/image_10122025_22_21_45_9616.jpg', 2), ('/home/nano/Desktop/images/10122025/22/20/image_10122025_22_21_05_10636.jpg', 2), ('/home/nano/Desktop/images/10122025/22/20/image_10122025_22_20_54_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/22/20/image_10122025_22_20_45_10628.jpg', 2), ('/home/nano/Desktop/images/10122025/22/20/image_10122025_22_20_34_9628.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 22:23:32.348841 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/22/21/image_10122025_22_21_54_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/22/21/image_10122025_22_21_45_9616.jpg', 2), ('/home/nano/Desktop/images/10122025/22/20/image_10122025_22_21_05_10636.jpg', 2), ('/home/nano/Desktop/images/10122025/22/20/image_10122025_22_20_54_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/22/20/image_10122025_22_20_45_10628.jpg', 2), ('/home/nano/Desktop/images/10122025/22/20/image_10122025_22_20_34_9628.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 22:24:03.324508 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/22/21/image_10122025_22_21_54_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/22/21/image_10122025_22_21_45_9616.jpg', 2), ('/home/nano/Desktop/images/10122025/22/20/image_10122025_22_21_05_10636.jpg', 2), ('/home/nano/Desktop/images/10122025/22/20/image_10122025_22_20_54_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/22/20/image_10122025_22_20_45_10628.jpg', 2), ('/home/nano/Desktop/images/10122025/22/20/image_10122025_22_20_34_9628.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 22:24:32.393709 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/22/24/image_10122025_22_24_25_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/22/24/image_10122025_22_24_15_10668.jpg', 2), ('/home/nano/Desktop/images/10122025/22/23/image_10122025_22_24_04_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/22/22/image_10122025_22_22_14_9634.jpg', 2), ('/home/nano/Desktop/images/10122025/22/21/image_10122025_22_21_54_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/22/21/image_10122025_22_21_45_9616.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 22:25:03.233715 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/22/24/image_10122025_22_24_25_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/22/24/image_10122025_22_24_15_10668.jpg', 2), ('/home/nano/Desktop/images/10122025/22/23/image_10122025_22_24_04_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/22/22/image_10122025_22_22_14_9634.jpg', 2), ('/home/nano/Desktop/images/10122025/22/21/image_10122025_22_21_54_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/22/21/image_10122025_22_21_45_9616.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 22:25:32.478029 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/22/25/image_10122025_22_25_45_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/22/25/image_10122025_22_25_35_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/22/25/image_10122025_22_25_24_9616.jpg', 2), ('/home/nano/Desktop/images/10122025/22/25/image_10122025_22_25_15_9637.jpg', 2), ('/home/nano/Desktop/images/10122025/22/24/image_10122025_22_24_34_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/22/24/image_10122025_22_24_25_9617.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 22:26:03.180522 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/22/26/image_10122025_22_26_55_10626.jpg', 2), ('/home/nano/Desktop/images/10122025/22/25/image_10122025_22_25_45_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/22/25/image_10122025_22_25_35_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/22/25/image_10122025_22_25_24_9616.jpg', 2), ('/home/nano/Desktop/images/10122025/22/25/image_10122025_22_25_15_9637.jpg', 2), ('/home/nano/Desktop/images/10122025/22/24/image_10122025_22_24_34_9617.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 22:26:32.607393 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/22/26/image_10122025_22_26_55_10626.jpg', 2), ('/home/nano/Desktop/images/10122025/22/26/image_10122025_22_26_24_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/22/26/image_10122025_22_26_15_9654.jpg', 2), ('/home/nano/Desktop/images/10122025/22/25/image_10122025_22_26_05_10643.jpg', 2), ('/home/nano/Desktop/images/10122025/22/25/image_10122025_22_25_54_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/22/25/image_10122025_22_25_45_9622.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 22:27:03.468280 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/22/26/image_10122025_22_26_55_10626.jpg', 2), ('/home/nano/Desktop/images/10122025/22/26/image_10122025_22_26_24_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/22/26/image_10122025_22_26_15_9654.jpg', 2), ('/home/nano/Desktop/images/10122025/22/25/image_10122025_22_26_05_10643.jpg', 2), ('/home/nano/Desktop/images/10122025/22/25/image_10122025_22_25_54_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/22/25/image_10122025_22_25_45_9622.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 22:27:32.693468 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/22/27/image_10122025_22_27_44_9634.jpg', 2), ('/home/nano/Desktop/images/10122025/22/26/image_10122025_22_26_55_10626.jpg', 2), ('/home/nano/Desktop/images/10122025/22/26/image_10122025_22_26_35_10628.jpg', 2), ('/home/nano/Desktop/images/10122025/22/26/image_10122025_22_26_24_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/22/26/image_10122025_22_26_15_9654.jpg', 2), ('/home/nano/Desktop/images/10122025/22/25/image_10122025_22_26_05_10643.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 22:28:02.383783 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/22/27/image_10122025_22_27_44_9634.jpg', 2), ('/home/nano/Desktop/images/10122025/22/26/image_10122025_22_26_55_10626.jpg', 2), ('/home/nano/Desktop/images/10122025/22/26/image_10122025_22_26_35_10628.jpg', 2), ('/home/nano/Desktop/images/10122025/22/26/image_10122025_22_26_24_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/22/26/image_10122025_22_26_15_9654.jpg', 2), ('/home/nano/Desktop/images/10122025/22/25/image_10122025_22_26_05_10643.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 22:28:31.809171 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/22/27/image_10122025_22_28_04_9627.jpg', 2), ('/home/nano/Desktop/images/10122025/22/27/image_10122025_22_27_55_10627.jpg', 2), ('/home/nano/Desktop/images/10122025/22/27/image_10122025_22_27_44_9634.jpg', 2), ('/home/nano/Desktop/images/10122025/22/26/image_10122025_22_26_55_10626.jpg', 2), ('/home/nano/Desktop/images/10122025/22/26/image_10122025_22_26_35_10628.jpg', 2), ('/home/nano/Desktop/images/10122025/22/26/image_10122025_22_26_24_9618.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 22:29:02.788922 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/22/27/image_10122025_22_28_04_9627.jpg', 2), ('/home/nano/Desktop/images/10122025/22/27/image_10122025_22_27_55_10627.jpg', 2), ('/home/nano/Desktop/images/10122025/22/27/image_10122025_22_27_44_9634.jpg', 2), ('/home/nano/Desktop/images/10122025/22/26/image_10122025_22_26_55_10626.jpg', 2), ('/home/nano/Desktop/images/10122025/22/26/image_10122025_22_26_35_10628.jpg', 2), ('/home/nano/Desktop/images/10122025/22/26/image_10122025_22_26_24_9618.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 22:29:31.923436 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/22/29/image_10122025_22_29_45_10634.jpg', 2), ('/home/nano/Desktop/images/10122025/22/29/image_10122025_22_29_34_9635.jpg', 2), ('/home/nano/Desktop/images/10122025/22/29/image_10122025_22_29_24_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/22/28/image_10122025_22_28_25_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/22/27/image_10122025_22_28_04_9627.jpg', 2), ('/home/nano/Desktop/images/10122025/22/27/image_10122025_22_27_55_10627.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 22:30:02.652940 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/22/29/image_10122025_22_29_45_10634.jpg', 2), ('/home/nano/Desktop/images/10122025/22/29/image_10122025_22_29_34_9635.jpg', 2), ('/home/nano/Desktop/images/10122025/22/29/image_10122025_22_29_24_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/22/28/image_10122025_22_28_25_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/22/27/image_10122025_22_28_04_9627.jpg', 2), ('/home/nano/Desktop/images/10122025/22/27/image_10122025_22_27_55_10627.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 22:30:32.050680 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/22/30/image_10122025_22_30_45_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/22/30/image_10122025_22_30_15_9626.jpg', 2), ('/home/nano/Desktop/images/10122025/22/29/image_10122025_22_30_05_10663.jpg', 2), ('/home/nano/Desktop/images/10122025/22/29/image_10122025_22_29_54_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/22/29/image_10122025_22_29_45_10634.jpg', 2), ('/home/nano/Desktop/images/10122025/22/29/image_10122025_22_29_34_9635.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 22:31:02.756827 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/22/30/image_10122025_22_30_45_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/22/30/image_10122025_22_30_15_9626.jpg', 2), ('/home/nano/Desktop/images/10122025/22/29/image_10122025_22_30_05_10663.jpg', 2), ('/home/nano/Desktop/images/10122025/22/29/image_10122025_22_29_54_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/22/29/image_10122025_22_29_45_10634.jpg', 2), ('/home/nano/Desktop/images/10122025/22/29/image_10122025_22_29_34_9635.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 22:31:32.149544 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/22/31/image_10122025_22_31_44_9624.jpg', 2), ('/home/nano/Desktop/images/10122025/22/30/image_10122025_22_30_54_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/22/30/image_10122025_22_30_45_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/22/30/image_10122025_22_30_15_9626.jpg', 2), ('/home/nano/Desktop/images/10122025/22/29/image_10122025_22_30_05_10663.jpg', 2), ('/home/nano/Desktop/images/10122025/22/29/image_10122025_22_29_54_9622.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 22:32:02.851892 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/22/31/image_10122025_22_31_44_9624.jpg', 2), ('/home/nano/Desktop/images/10122025/22/30/image_10122025_22_30_54_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/22/30/image_10122025_22_30_45_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/22/30/image_10122025_22_30_15_9626.jpg', 2), ('/home/nano/Desktop/images/10122025/22/29/image_10122025_22_30_05_10663.jpg', 2), ('/home/nano/Desktop/images/10122025/22/29/image_10122025_22_29_54_9622.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 22:32:32.305916 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/22/32/image_10122025_22_32_14_9655.jpg', 2), ('/home/nano/Desktop/images/10122025/22/31/image_10122025_22_31_55_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/22/31/image_10122025_22_31_44_9624.jpg', 2), ('/home/nano/Desktop/images/10122025/22/30/image_10122025_22_30_54_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/22/30/image_10122025_22_30_45_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/22/30/image_10122025_22_30_15_9626.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 22:33:03.069350 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/22/32/image_10122025_22_32_14_9655.jpg', 2), ('/home/nano/Desktop/images/10122025/22/31/image_10122025_22_31_55_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/22/31/image_10122025_22_31_44_9624.jpg', 2), ('/home/nano/Desktop/images/10122025/22/30/image_10122025_22_30_54_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/22/30/image_10122025_22_30_45_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/22/30/image_10122025_22_30_15_9626.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 22:33:32.389631 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/22/32/image_10122025_22_32_14_9655.jpg', 2), ('/home/nano/Desktop/images/10122025/22/31/image_10122025_22_31_55_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/22/31/image_10122025_22_31_44_9624.jpg', 2), ('/home/nano/Desktop/images/10122025/22/30/image_10122025_22_30_54_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/22/30/image_10122025_22_30_45_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/22/30/image_10122025_22_30_15_9626.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 22:34:03.374084 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/22/32/image_10122025_22_32_14_9655.jpg', 2), ('/home/nano/Desktop/images/10122025/22/31/image_10122025_22_31_55_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/22/31/image_10122025_22_31_44_9624.jpg', 2), ('/home/nano/Desktop/images/10122025/22/30/image_10122025_22_30_54_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/22/30/image_10122025_22_30_45_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/22/30/image_10122025_22_30_15_9626.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 22:34:32.519381 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/22/34/image_10122025_22_34_45_9624.jpg', 2), ('/home/nano/Desktop/images/10122025/22/34/image_10122025_22_34_35_10629.jpg', 2), ('/home/nano/Desktop/images/10122025/22/32/image_10122025_22_32_34_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/22/32/image_10122025_22_32_14_9655.jpg', 2), ('/home/nano/Desktop/images/10122025/22/31/image_10122025_22_31_55_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/22/31/image_10122025_22_31_44_9624.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 22:35:03.272548 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/22/34/image_10122025_22_34_45_9624.jpg', 2), ('/home/nano/Desktop/images/10122025/22/34/image_10122025_22_34_35_10629.jpg', 2), ('/home/nano/Desktop/images/10122025/22/32/image_10122025_22_32_34_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/22/32/image_10122025_22_32_14_9655.jpg', 2), ('/home/nano/Desktop/images/10122025/22/31/image_10122025_22_31_55_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/22/31/image_10122025_22_31_44_9624.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 22:35:32.634380 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/22/35/image_10122025_22_35_24_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/22/34/image_10122025_22_35_05_10635.jpg', 2), ('/home/nano/Desktop/images/10122025/22/34/image_10122025_22_34_54_9615.jpg', 2), ('/home/nano/Desktop/images/10122025/22/34/image_10122025_22_34_45_9624.jpg', 2), ('/home/nano/Desktop/images/10122025/22/34/image_10122025_22_34_35_10629.jpg', 2), ('/home/nano/Desktop/images/10122025/22/32/image_10122025_22_32_34_9619.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 22:36:03.283936 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/22/35/image_10122025_22_35_24_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/22/34/image_10122025_22_35_05_10635.jpg', 2), ('/home/nano/Desktop/images/10122025/22/34/image_10122025_22_34_54_9615.jpg', 2), ('/home/nano/Desktop/images/10122025/22/34/image_10122025_22_34_45_9624.jpg', 2), ('/home/nano/Desktop/images/10122025/22/34/image_10122025_22_34_35_10629.jpg', 2), ('/home/nano/Desktop/images/10122025/22/32/image_10122025_22_32_34_9619.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 22:36:32.694483 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/22/36/image_10122025_22_36_14_9639.jpg', 2), ('/home/nano/Desktop/images/10122025/22/35/image_10122025_22_35_35_10629.jpg', 2), ('/home/nano/Desktop/images/10122025/22/35/image_10122025_22_35_24_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/22/34/image_10122025_22_35_05_10635.jpg', 2), ('/home/nano/Desktop/images/10122025/22/34/image_10122025_22_34_54_9615.jpg', 2), ('/home/nano/Desktop/images/10122025/22/34/image_10122025_22_34_45_9624.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 22:37:02.557618 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/22/36/image_10122025_22_36_14_9639.jpg', 2), ('/home/nano/Desktop/images/10122025/22/35/image_10122025_22_35_35_10629.jpg', 2), ('/home/nano/Desktop/images/10122025/22/35/image_10122025_22_35_24_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/22/34/image_10122025_22_35_05_10635.jpg', 2), ('/home/nano/Desktop/images/10122025/22/34/image_10122025_22_34_54_9615.jpg', 2), ('/home/nano/Desktop/images/10122025/22/34/image_10122025_22_34_45_9624.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 22:37:31.907003 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/22/37/image_10122025_22_37_45_10633.jpg', 2), ('/home/nano/Desktop/images/10122025/22/37/image_10122025_22_37_34_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/22/37/image_10122025_22_37_25_10629.jpg', 2), ('/home/nano/Desktop/images/10122025/22/37/image_10122025_22_37_14_9641.jpg', 2), ('/home/nano/Desktop/images/10122025/22/36/image_10122025_22_37_04_9626.jpg', 2), ('/home/nano/Desktop/images/10122025/22/36/image_10122025_22_36_25_10627.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 22:38:02.445389 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/22/37/image_10122025_22_37_45_10633.jpg', 2), ('/home/nano/Desktop/images/10122025/22/37/image_10122025_22_37_34_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/22/37/image_10122025_22_37_25_10629.jpg', 2), ('/home/nano/Desktop/images/10122025/22/37/image_10122025_22_37_14_9641.jpg', 2), ('/home/nano/Desktop/images/10122025/22/36/image_10122025_22_37_04_9626.jpg', 2), ('/home/nano/Desktop/images/10122025/22/36/image_10122025_22_36_25_10627.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 22:38:31.898074 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/22/37/image_10122025_22_37_55_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/22/37/image_10122025_22_37_45_10633.jpg', 2), ('/home/nano/Desktop/images/10122025/22/37/image_10122025_22_37_34_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/22/37/image_10122025_22_37_25_10629.jpg', 2), ('/home/nano/Desktop/images/10122025/22/37/image_10122025_22_37_14_9641.jpg', 2), ('/home/nano/Desktop/images/10122025/22/36/image_10122025_22_37_04_9626.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 22:39:03.062361 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/22/37/image_10122025_22_37_55_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/22/37/image_10122025_22_37_45_10633.jpg', 2), ('/home/nano/Desktop/images/10122025/22/37/image_10122025_22_37_34_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/22/37/image_10122025_22_37_25_10629.jpg', 2), ('/home/nano/Desktop/images/10122025/22/37/image_10122025_22_37_14_9641.jpg', 2), ('/home/nano/Desktop/images/10122025/22/36/image_10122025_22_37_04_9626.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 22:39:31.987964 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/22/37/image_10122025_22_37_55_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/22/37/image_10122025_22_37_45_10633.jpg', 2), ('/home/nano/Desktop/images/10122025/22/37/image_10122025_22_37_34_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/22/37/image_10122025_22_37_25_10629.jpg', 2), ('/home/nano/Desktop/images/10122025/22/37/image_10122025_22_37_14_9641.jpg', 2), ('/home/nano/Desktop/images/10122025/22/36/image_10122025_22_37_04_9626.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 22:40:02.617118 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/22/37/image_10122025_22_37_55_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/22/37/image_10122025_22_37_45_10633.jpg', 2), ('/home/nano/Desktop/images/10122025/22/37/image_10122025_22_37_34_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/22/37/image_10122025_22_37_25_10629.jpg', 2), ('/home/nano/Desktop/images/10122025/22/37/image_10122025_22_37_14_9641.jpg', 2), ('/home/nano/Desktop/images/10122025/22/36/image_10122025_22_37_04_9626.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 22:40:32.072091 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/22/40/image_10122025_22_40_44_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/22/40/image_10122025_22_40_14_9638.jpg', 2), ('/home/nano/Desktop/images/10122025/22/39/image_10122025_22_40_05_10644.jpg', 2), ('/home/nano/Desktop/images/10122025/22/37/image_10122025_22_38_04_9627.jpg', 2), ('/home/nano/Desktop/images/10122025/22/37/image_10122025_22_37_55_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/22/37/image_10122025_22_37_45_10633.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 22:41:02.755137 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/22/40/image_10122025_22_40_44_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/22/40/image_10122025_22_40_14_9638.jpg', 2), ('/home/nano/Desktop/images/10122025/22/39/image_10122025_22_40_05_10644.jpg', 2), ('/home/nano/Desktop/images/10122025/22/37/image_10122025_22_38_04_9627.jpg', 2), ('/home/nano/Desktop/images/10122025/22/37/image_10122025_22_37_55_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/22/37/image_10122025_22_37_45_10633.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 22:41:32.302200 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/22/40/image_10122025_22_40_44_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/22/40/image_10122025_22_40_14_9638.jpg', 2), ('/home/nano/Desktop/images/10122025/22/39/image_10122025_22_40_05_10644.jpg', 2), ('/home/nano/Desktop/images/10122025/22/37/image_10122025_22_38_04_9627.jpg', 2), ('/home/nano/Desktop/images/10122025/22/37/image_10122025_22_37_55_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/22/37/image_10122025_22_37_45_10633.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 22:42:02.783315 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/22/40/image_10122025_22_40_44_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/22/40/image_10122025_22_40_14_9638.jpg', 2), ('/home/nano/Desktop/images/10122025/22/39/image_10122025_22_40_05_10644.jpg', 2), ('/home/nano/Desktop/images/10122025/22/37/image_10122025_22_38_04_9627.jpg', 2), ('/home/nano/Desktop/images/10122025/22/37/image_10122025_22_37_55_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/22/37/image_10122025_22_37_45_10633.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 22:42:32.328005 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/22/42/image_10122025_22_42_45_10626.jpg', 2), ('/home/nano/Desktop/images/10122025/22/42/image_10122025_22_42_34_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/22/40/image_10122025_22_40_55_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/22/40/image_10122025_22_40_44_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/22/40/image_10122025_22_40_14_9638.jpg', 2), ('/home/nano/Desktop/images/10122025/22/39/image_10122025_22_40_05_10644.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 22:43:03.136180 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/22/42/image_10122025_22_42_45_10626.jpg', 2), ('/home/nano/Desktop/images/10122025/22/42/image_10122025_22_42_34_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/22/40/image_10122025_22_40_55_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/22/40/image_10122025_22_40_44_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/22/40/image_10122025_22_40_14_9638.jpg', 2), ('/home/nano/Desktop/images/10122025/22/39/image_10122025_22_40_05_10644.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 22:43:32.423343 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/22/43/image_10122025_22_43_15_10674.jpg', 2), ('/home/nano/Desktop/images/10122025/22/42/image_10122025_22_43_04_9624.jpg', 2), ('/home/nano/Desktop/images/10122025/22/42/image_10122025_22_42_54_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/22/42/image_10122025_22_42_45_10626.jpg', 2), ('/home/nano/Desktop/images/10122025/22/42/image_10122025_22_42_34_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/22/40/image_10122025_22_40_55_10630.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 22:44:03.374964 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/22/43/image_10122025_22_43_15_10674.jpg', 2), ('/home/nano/Desktop/images/10122025/22/42/image_10122025_22_43_04_9624.jpg', 2), ('/home/nano/Desktop/images/10122025/22/42/image_10122025_22_42_54_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/22/42/image_10122025_22_42_45_10626.jpg', 2), ('/home/nano/Desktop/images/10122025/22/42/image_10122025_22_42_34_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/22/40/image_10122025_22_40_55_10630.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 22:44:32.559322 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/22/44/image_10122025_22_44_35_10628.jpg', 2), ('/home/nano/Desktop/images/10122025/22/44/image_10122025_22_44_24_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/22/43/image_10122025_22_43_24_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/22/43/image_10122025_22_43_15_10674.jpg', 2), ('/home/nano/Desktop/images/10122025/22/42/image_10122025_22_43_04_9624.jpg', 2), ('/home/nano/Desktop/images/10122025/22/42/image_10122025_22_42_54_9618.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 22:45:03.355647 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/22/44/image_10122025_22_44_35_10628.jpg', 2), ('/home/nano/Desktop/images/10122025/22/44/image_10122025_22_44_24_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/22/43/image_10122025_22_43_24_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/22/43/image_10122025_22_43_15_10674.jpg', 2), ('/home/nano/Desktop/images/10122025/22/42/image_10122025_22_43_04_9624.jpg', 2), ('/home/nano/Desktop/images/10122025/22/42/image_10122025_22_42_54_9618.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 22:45:32.680803 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/22/45/image_10122025_22_45_44_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/22/45/image_10122025_22_45_25_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/22/45/image_10122025_22_45_14_9637.jpg', 2), ('/home/nano/Desktop/images/10122025/22/44/image_10122025_22_45_05_9628.jpg', 2), ('/home/nano/Desktop/images/10122025/22/44/image_10122025_22_44_55_10645.jpg', 2), ('/home/nano/Desktop/images/10122025/22/44/image_10122025_22_44_35_10628.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 22:46:02.275961 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/22/45/image_10122025_22_45_44_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/22/45/image_10122025_22_45_25_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/22/45/image_10122025_22_45_14_9637.jpg', 2), ('/home/nano/Desktop/images/10122025/22/44/image_10122025_22_45_05_9628.jpg', 2), ('/home/nano/Desktop/images/10122025/22/44/image_10122025_22_44_55_10645.jpg', 2), ('/home/nano/Desktop/images/10122025/22/44/image_10122025_22_44_35_10628.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 22:46:31.873155 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/22/46/image_10122025_22_46_14_9633.jpg', 2), ('/home/nano/Desktop/images/10122025/22/45/image_10122025_22_46_04_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/22/45/image_10122025_22_45_55_10626.jpg', 2), ('/home/nano/Desktop/images/10122025/22/45/image_10122025_22_45_44_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/22/45/image_10122025_22_45_25_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/22/45/image_10122025_22_45_14_9637.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 22:47:02.583964 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/22/46/image_10122025_22_46_14_9633.jpg', 2), ('/home/nano/Desktop/images/10122025/22/45/image_10122025_22_46_04_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/22/45/image_10122025_22_45_55_10626.jpg', 2), ('/home/nano/Desktop/images/10122025/22/45/image_10122025_22_45_44_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/22/45/image_10122025_22_45_25_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/22/45/image_10122025_22_45_14_9637.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 22:47:31.987428 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/22/46/image_10122025_22_46_55_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/22/46/image_10122025_22_46_14_9633.jpg', 2), ('/home/nano/Desktop/images/10122025/22/45/image_10122025_22_46_04_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/22/45/image_10122025_22_45_55_10626.jpg', 2), ('/home/nano/Desktop/images/10122025/22/45/image_10122025_22_45_44_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/22/45/image_10122025_22_45_25_10630.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 22:48:02.675736 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/22/46/image_10122025_22_46_55_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/22/46/image_10122025_22_46_14_9633.jpg', 2), ('/home/nano/Desktop/images/10122025/22/45/image_10122025_22_46_04_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/22/45/image_10122025_22_45_55_10626.jpg', 2), ('/home/nano/Desktop/images/10122025/22/45/image_10122025_22_45_44_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/22/45/image_10122025_22_45_25_10630.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 22:48:32.106021 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/22/48/image_10122025_22_48_45_9626.jpg', 2), ('/home/nano/Desktop/images/10122025/22/48/image_10122025_22_48_35_10631.jpg', 2), ('/home/nano/Desktop/images/10122025/22/48/image_10122025_22_48_24_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/22/46/image_10122025_22_47_04_9637.jpg', 2), ('/home/nano/Desktop/images/10122025/22/46/image_10122025_22_46_55_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/22/46/image_10122025_22_46_14_9633.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 22:49:03.279494 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/22/48/image_10122025_22_48_45_9626.jpg', 2), ('/home/nano/Desktop/images/10122025/22/48/image_10122025_22_48_35_10631.jpg', 2), ('/home/nano/Desktop/images/10122025/22/48/image_10122025_22_48_24_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/22/46/image_10122025_22_47_04_9637.jpg', 2), ('/home/nano/Desktop/images/10122025/22/46/image_10122025_22_46_55_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/22/46/image_10122025_22_46_14_9633.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 22:49:32.316834 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/22/49/image_10122025_22_49_35_9626.jpg', 2), ('/home/nano/Desktop/images/10122025/22/49/image_10122025_22_49_14_9638.jpg', 2), ('/home/nano/Desktop/images/10122025/22/48/image_10122025_22_49_05_10644.jpg', 2), ('/home/nano/Desktop/images/10122025/22/48/image_10122025_22_48_54_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/22/48/image_10122025_22_48_45_9626.jpg', 2), ('/home/nano/Desktop/images/10122025/22/48/image_10122025_22_48_35_10631.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 22:50:02.832122 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/22/49/image_10122025_22_49_35_9626.jpg', 2), ('/home/nano/Desktop/images/10122025/22/49/image_10122025_22_49_14_9638.jpg', 2), ('/home/nano/Desktop/images/10122025/22/48/image_10122025_22_49_05_10644.jpg', 2), ('/home/nano/Desktop/images/10122025/22/48/image_10122025_22_48_54_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/22/48/image_10122025_22_48_45_9626.jpg', 2), ('/home/nano/Desktop/images/10122025/22/48/image_10122025_22_48_35_10631.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 22:50:32.333150 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/22/49/image_10122025_22_49_35_9626.jpg', 2), ('/home/nano/Desktop/images/10122025/22/49/image_10122025_22_49_14_9638.jpg', 2), ('/home/nano/Desktop/images/10122025/22/48/image_10122025_22_49_05_10644.jpg', 2), ('/home/nano/Desktop/images/10122025/22/48/image_10122025_22_48_54_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/22/48/image_10122025_22_48_45_9626.jpg', 2), ('/home/nano/Desktop/images/10122025/22/48/image_10122025_22_48_35_10631.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 22:51:03.075363 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/22/49/image_10122025_22_49_35_9626.jpg', 2), ('/home/nano/Desktop/images/10122025/22/49/image_10122025_22_49_14_9638.jpg', 2), ('/home/nano/Desktop/images/10122025/22/48/image_10122025_22_49_05_10644.jpg', 2), ('/home/nano/Desktop/images/10122025/22/48/image_10122025_22_48_54_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/22/48/image_10122025_22_48_45_9626.jpg', 2), ('/home/nano/Desktop/images/10122025/22/48/image_10122025_22_48_35_10631.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 22:51:32.439012 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/22/49/image_10122025_22_49_44_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/22/49/image_10122025_22_49_35_9626.jpg', 2), ('/home/nano/Desktop/images/10122025/22/49/image_10122025_22_49_14_9638.jpg', 2), ('/home/nano/Desktop/images/10122025/22/48/image_10122025_22_49_05_10644.jpg', 2), ('/home/nano/Desktop/images/10122025/22/48/image_10122025_22_48_54_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/22/48/image_10122025_22_48_45_9626.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 22:52:03.098412 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/22/49/image_10122025_22_49_44_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/22/49/image_10122025_22_49_35_9626.jpg', 2), ('/home/nano/Desktop/images/10122025/22/49/image_10122025_22_49_14_9638.jpg', 2), ('/home/nano/Desktop/images/10122025/22/48/image_10122025_22_49_05_10644.jpg', 2), ('/home/nano/Desktop/images/10122025/22/48/image_10122025_22_48_54_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/22/48/image_10122025_22_48_45_9626.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 22:52:32.570883 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/22/52/image_10122025_22_52_45_9625.jpg', 2), ('/home/nano/Desktop/images/10122025/22/51/image_10122025_22_52_04_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/22/51/image_10122025_22_51_55_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/22/49/image_10122025_22_49_44_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/22/49/image_10122025_22_49_35_9626.jpg', 2), ('/home/nano/Desktop/images/10122025/22/49/image_10122025_22_49_14_9638.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 22:53:03.436942 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/22/52/image_10122025_22_52_45_9625.jpg', 2), ('/home/nano/Desktop/images/10122025/22/51/image_10122025_22_52_04_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/22/51/image_10122025_22_51_55_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/22/49/image_10122025_22_49_44_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/22/49/image_10122025_22_49_35_9626.jpg', 2), ('/home/nano/Desktop/images/10122025/22/49/image_10122025_22_49_14_9638.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 22:53:32.633435 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/22/52/image_10122025_22_52_54_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/22/52/image_10122025_22_52_45_9625.jpg', 2), ('/home/nano/Desktop/images/10122025/22/51/image_10122025_22_52_04_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/22/51/image_10122025_22_51_55_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/22/49/image_10122025_22_49_44_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/22/49/image_10122025_22_49_35_9626.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 22:54:03.633951 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/22/52/image_10122025_22_52_54_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/22/52/image_10122025_22_52_45_9625.jpg', 2), ('/home/nano/Desktop/images/10122025/22/51/image_10122025_22_52_04_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/22/51/image_10122025_22_51_55_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/22/49/image_10122025_22_49_44_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/22/49/image_10122025_22_49_35_9626.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 22:54:32.745972 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/22/54/image_10122025_22_54_35_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/22/54/image_10122025_22_54_25_10627.jpg', 2), ('/home/nano/Desktop/images/10122025/22/54/image_10122025_22_54_14_9635.jpg', 2), ('/home/nano/Desktop/images/10122025/22/52/image_10122025_22_53_05_10631.jpg', 2), ('/home/nano/Desktop/images/10122025/22/52/image_10122025_22_52_54_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/22/52/image_10122025_22_52_45_9625.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 22:55:02.485125 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/22/54/image_10122025_22_54_35_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/22/54/image_10122025_22_54_25_10627.jpg', 2), ('/home/nano/Desktop/images/10122025/22/54/image_10122025_22_54_14_9635.jpg', 2), ('/home/nano/Desktop/images/10122025/22/52/image_10122025_22_53_05_10631.jpg', 2), ('/home/nano/Desktop/images/10122025/22/52/image_10122025_22_52_54_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/22/52/image_10122025_22_52_45_9625.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 22:55:31.877248 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/22/55/image_10122025_22_55_45_10629.jpg', 2), ('/home/nano/Desktop/images/10122025/22/55/image_10122025_22_55_34_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/22/54/image_10122025_22_54_44_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/22/54/image_10122025_22_54_35_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/22/54/image_10122025_22_54_25_10627.jpg', 2), ('/home/nano/Desktop/images/10122025/22/54/image_10122025_22_54_14_9635.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 22:56:02.604518 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/22/55/image_10122025_22_55_45_10629.jpg', 2), ('/home/nano/Desktop/images/10122025/22/55/image_10122025_22_55_34_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/22/54/image_10122025_22_54_44_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/22/54/image_10122025_22_54_35_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/22/54/image_10122025_22_54_25_10627.jpg', 2), ('/home/nano/Desktop/images/10122025/22/54/image_10122025_22_54_14_9635.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 22:56:32.022062 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/22/55/image_10122025_22_55_55_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/22/55/image_10122025_22_55_45_10629.jpg', 2), ('/home/nano/Desktop/images/10122025/22/55/image_10122025_22_55_34_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/22/54/image_10122025_22_54_44_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/22/54/image_10122025_22_54_35_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/22/54/image_10122025_22_54_25_10627.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 22:57:02.940289 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/22/55/image_10122025_22_55_55_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/22/55/image_10122025_22_55_45_10629.jpg', 2), ('/home/nano/Desktop/images/10122025/22/55/image_10122025_22_55_34_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/22/54/image_10122025_22_54_44_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/22/54/image_10122025_22_54_35_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/22/54/image_10122025_22_54_25_10627.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 22:57:32.118463 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/22/55/image_10122025_22_55_55_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/22/55/image_10122025_22_55_45_10629.jpg', 2), ('/home/nano/Desktop/images/10122025/22/55/image_10122025_22_55_34_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/22/54/image_10122025_22_54_44_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/22/54/image_10122025_22_54_35_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/22/54/image_10122025_22_54_25_10627.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 22:58:02.675989 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/22/55/image_10122025_22_55_55_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/22/55/image_10122025_22_55_45_10629.jpg', 2), ('/home/nano/Desktop/images/10122025/22/55/image_10122025_22_55_34_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/22/54/image_10122025_22_54_44_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/22/54/image_10122025_22_54_35_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/22/54/image_10122025_22_54_25_10627.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 22:58:32.338455 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/22/58/image_10122025_22_58_14_9654.jpg', 2), ('/home/nano/Desktop/images/10122025/22/56/image_10122025_22_56_34_9640.jpg', 2), ('/home/nano/Desktop/images/10122025/22/55/image_10122025_22_55_55_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/22/55/image_10122025_22_55_45_10629.jpg', 2), ('/home/nano/Desktop/images/10122025/22/55/image_10122025_22_55_34_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/22/54/image_10122025_22_54_44_9621.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 22:59:03.376440 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/22/58/image_10122025_22_58_14_9654.jpg', 2), ('/home/nano/Desktop/images/10122025/22/56/image_10122025_22_56_34_9640.jpg', 2), ('/home/nano/Desktop/images/10122025/22/55/image_10122025_22_55_55_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/22/55/image_10122025_22_55_45_10629.jpg', 2), ('/home/nano/Desktop/images/10122025/22/55/image_10122025_22_55_34_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/22/54/image_10122025_22_54_44_9621.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 22:59:32.386754 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/22/59/image_10122025_22_59_44_9616.jpg', 2), ('/home/nano/Desktop/images/10122025/22/59/image_10122025_22_59_25_10627.jpg', 2), ('/home/nano/Desktop/images/10122025/22/58/image_10122025_22_58_24_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/22/58/image_10122025_22_58_14_9654.jpg', 2), ('/home/nano/Desktop/images/10122025/22/56/image_10122025_22_56_34_9640.jpg', 2), ('/home/nano/Desktop/images/10122025/22/55/image_10122025_22_55_55_9617.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 23:00:03.001174 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/22/59/image_10122025_22_59_44_9616.jpg', 2), ('/home/nano/Desktop/images/10122025/22/59/image_10122025_22_59_25_10627.jpg', 2), ('/home/nano/Desktop/images/10122025/22/58/image_10122025_22_58_24_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/22/58/image_10122025_22_58_14_9654.jpg', 2), ('/home/nano/Desktop/images/10122025/22/56/image_10122025_22_56_34_9640.jpg', 2), ('/home/nano/Desktop/images/10122025/22/55/image_10122025_22_55_55_9617.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 23:00:32.495230 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/23/00/image_10122025_23_00_34_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/22/59/image_10122025_23_00_04_9633.jpg', 2), ('/home/nano/Desktop/images/10122025/22/59/image_10122025_22_59_55_10628.jpg', 2), ('/home/nano/Desktop/images/10122025/22/59/image_10122025_22_59_44_9616.jpg', 2), ('/home/nano/Desktop/images/10122025/22/59/image_10122025_22_59_25_10627.jpg', 2), ('/home/nano/Desktop/images/10122025/22/58/image_10122025_22_58_24_9620.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 23:01:03.159232 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/23/00/image_10122025_23_00_34_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/22/59/image_10122025_23_00_04_9633.jpg', 2), ('/home/nano/Desktop/images/10122025/22/59/image_10122025_22_59_55_10628.jpg', 2), ('/home/nano/Desktop/images/10122025/22/59/image_10122025_22_59_44_9616.jpg', 2), ('/home/nano/Desktop/images/10122025/22/59/image_10122025_22_59_25_10627.jpg', 2), ('/home/nano/Desktop/images/10122025/22/58/image_10122025_22_58_24_9620.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 23:01:32.593607 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/23/01/image_10122025_23_01_35_10626.jpg', 2), ('/home/nano/Desktop/images/10122025/23/00/image_10122025_23_00_45_10627.jpg', 2), ('/home/nano/Desktop/images/10122025/23/00/image_10122025_23_00_34_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/22/59/image_10122025_23_00_04_9633.jpg', 2), ('/home/nano/Desktop/images/10122025/22/59/image_10122025_22_59_55_10628.jpg', 2), ('/home/nano/Desktop/images/10122025/22/59/image_10122025_22_59_44_9616.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 23:02:03.343873 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/23/01/image_10122025_23_01_35_10626.jpg', 2), ('/home/nano/Desktop/images/10122025/23/00/image_10122025_23_00_45_10627.jpg', 2), ('/home/nano/Desktop/images/10122025/23/00/image_10122025_23_00_34_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/22/59/image_10122025_23_00_04_9633.jpg', 2), ('/home/nano/Desktop/images/10122025/22/59/image_10122025_22_59_55_10628.jpg', 2), ('/home/nano/Desktop/images/10122025/22/59/image_10122025_22_59_44_9616.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 23:02:32.718068 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/23/01/image_10122025_23_01_54_9635.jpg', 2), ('/home/nano/Desktop/images/10122025/23/01/image_10122025_23_01_35_10626.jpg', 2), ('/home/nano/Desktop/images/10122025/23/00/image_10122025_23_00_45_10627.jpg', 2), ('/home/nano/Desktop/images/10122025/23/00/image_10122025_23_00_34_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/22/59/image_10122025_23_00_04_9633.jpg', 2), ('/home/nano/Desktop/images/10122025/22/59/image_10122025_22_59_55_10628.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 23:03:02.417236 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/23/01/image_10122025_23_01_54_9635.jpg', 2), ('/home/nano/Desktop/images/10122025/23/01/image_10122025_23_01_35_10626.jpg', 2), ('/home/nano/Desktop/images/10122025/23/00/image_10122025_23_00_45_10627.jpg', 2), ('/home/nano/Desktop/images/10122025/23/00/image_10122025_23_00_34_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/22/59/image_10122025_23_00_04_9633.jpg', 2), ('/home/nano/Desktop/images/10122025/22/59/image_10122025_22_59_55_10628.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 23:03:31.786026 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/23/03/image_10122025_23_03_25_10635.jpg', 2), ('/home/nano/Desktop/images/10122025/23/03/image_10122025_23_03_14_9658.jpg', 2), ('/home/nano/Desktop/images/10122025/23/02/image_10122025_23_03_05_10645.jpg', 2), ('/home/nano/Desktop/images/10122025/23/02/image_10122025_23_02_35_10628.jpg', 2), ('/home/nano/Desktop/images/10122025/23/01/image_10122025_23_01_54_9635.jpg', 2), ('/home/nano/Desktop/images/10122025/23/01/image_10122025_23_01_35_10626.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 23:04:02.662443 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/23/03/image_10122025_23_03_25_10635.jpg', 2), ('/home/nano/Desktop/images/10122025/23/03/image_10122025_23_03_14_9658.jpg', 2), ('/home/nano/Desktop/images/10122025/23/02/image_10122025_23_03_05_10645.jpg', 2), ('/home/nano/Desktop/images/10122025/23/02/image_10122025_23_02_35_10628.jpg', 2), ('/home/nano/Desktop/images/10122025/23/01/image_10122025_23_01_54_9635.jpg', 2), ('/home/nano/Desktop/images/10122025/23/01/image_10122025_23_01_35_10626.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 23:04:31.916854 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/23/04/image_10122025_23_04_34_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/23/04/image_10122025_23_04_25_10628.jpg', 2), ('/home/nano/Desktop/images/10122025/23/03/image_10122025_23_04_05_9623.jpg', 2), ('/home/nano/Desktop/images/10122025/23/03/image_10122025_23_03_35_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/23/03/image_10122025_23_03_25_10635.jpg', 2), ('/home/nano/Desktop/images/10122025/23/03/image_10122025_23_03_14_9658.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 23:05:02.736251 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/23/04/image_10122025_23_04_34_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/23/04/image_10122025_23_04_25_10628.jpg', 2), ('/home/nano/Desktop/images/10122025/23/03/image_10122025_23_04_05_9623.jpg', 2), ('/home/nano/Desktop/images/10122025/23/03/image_10122025_23_03_35_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/23/03/image_10122025_23_03_25_10635.jpg', 2), ('/home/nano/Desktop/images/10122025/23/03/image_10122025_23_03_14_9658.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 23:05:32.052747 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/23/05/image_10122025_23_05_34_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/23/05/image_10122025_23_05_25_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/23/05/image_10122025_23_05_15_10646.jpg', 2), ('/home/nano/Desktop/images/10122025/23/04/image_10122025_23_04_55_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/23/04/image_10122025_23_04_34_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/23/04/image_10122025_23_04_25_10628.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 23:06:02.736677 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/23/05/image_10122025_23_05_34_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/23/05/image_10122025_23_05_25_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/23/05/image_10122025_23_05_15_10646.jpg', 2), ('/home/nano/Desktop/images/10122025/23/04/image_10122025_23_04_55_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/23/04/image_10122025_23_04_34_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/23/04/image_10122025_23_04_25_10628.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 23:06:32.225813 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/23/06/image_10122025_23_06_35_10634.jpg', 2), ('/home/nano/Desktop/images/10122025/23/05/image_10122025_23_05_54_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/23/05/image_10122025_23_05_34_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/23/05/image_10122025_23_05_25_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/23/05/image_10122025_23_05_15_10646.jpg', 2), ('/home/nano/Desktop/images/10122025/23/04/image_10122025_23_04_55_9621.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 23:07:03.004950 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/23/06/image_10122025_23_06_35_10634.jpg', 2), ('/home/nano/Desktop/images/10122025/23/05/image_10122025_23_05_54_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/23/05/image_10122025_23_05_34_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/23/05/image_10122025_23_05_25_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/23/05/image_10122025_23_05_15_10646.jpg', 2), ('/home/nano/Desktop/images/10122025/23/04/image_10122025_23_04_55_9621.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 23:07:32.342043 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/23/07/image_10122025_23_07_35_10626.jpg', 2), ('/home/nano/Desktop/images/10122025/23/06/image_10122025_23_06_45_9624.jpg', 2), ('/home/nano/Desktop/images/10122025/23/06/image_10122025_23_06_35_10634.jpg', 2), ('/home/nano/Desktop/images/10122025/23/05/image_10122025_23_05_54_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/23/05/image_10122025_23_05_34_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/23/05/image_10122025_23_05_25_9618.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 23:08:03.004189 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/23/07/image_10122025_23_07_35_10626.jpg', 2), ('/home/nano/Desktop/images/10122025/23/06/image_10122025_23_06_45_9624.jpg', 2), ('/home/nano/Desktop/images/10122025/23/06/image_10122025_23_06_35_10634.jpg', 2), ('/home/nano/Desktop/images/10122025/23/05/image_10122025_23_05_54_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/23/05/image_10122025_23_05_34_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/23/05/image_10122025_23_05_25_9618.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 23:08:32.435327 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/23/08/image_10122025_23_08_14_9657.jpg', 2), ('/home/nano/Desktop/images/10122025/23/07/image_10122025_23_08_05_9635.jpg', 2), ('/home/nano/Desktop/images/10122025/23/07/image_10122025_23_07_44_9635.jpg', 2), ('/home/nano/Desktop/images/10122025/23/07/image_10122025_23_07_35_10626.jpg', 2), ('/home/nano/Desktop/images/10122025/23/06/image_10122025_23_06_45_9624.jpg', 2), ('/home/nano/Desktop/images/10122025/23/06/image_10122025_23_06_35_10634.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 23:09:03.413471 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/23/08/image_10122025_23_08_14_9657.jpg', 2), ('/home/nano/Desktop/images/10122025/23/07/image_10122025_23_08_05_9635.jpg', 2), ('/home/nano/Desktop/images/10122025/23/07/image_10122025_23_07_44_9635.jpg', 2), ('/home/nano/Desktop/images/10122025/23/07/image_10122025_23_07_35_10626.jpg', 2), ('/home/nano/Desktop/images/10122025/23/06/image_10122025_23_06_45_9624.jpg', 2), ('/home/nano/Desktop/images/10122025/23/06/image_10122025_23_06_35_10634.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 23:09:32.525873 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/23/08/image_10122025_23_08_14_9657.jpg', 2), ('/home/nano/Desktop/images/10122025/23/07/image_10122025_23_08_05_9635.jpg', 2), ('/home/nano/Desktop/images/10122025/23/07/image_10122025_23_07_44_9635.jpg', 2), ('/home/nano/Desktop/images/10122025/23/07/image_10122025_23_07_35_10626.jpg', 2), ('/home/nano/Desktop/images/10122025/23/06/image_10122025_23_06_45_9624.jpg', 2), ('/home/nano/Desktop/images/10122025/23/06/image_10122025_23_06_35_10634.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 23:10:03.094514 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/23/08/image_10122025_23_08_14_9657.jpg', 2), ('/home/nano/Desktop/images/10122025/23/07/image_10122025_23_08_05_9635.jpg', 2), ('/home/nano/Desktop/images/10122025/23/07/image_10122025_23_07_44_9635.jpg', 2), ('/home/nano/Desktop/images/10122025/23/07/image_10122025_23_07_35_10626.jpg', 2), ('/home/nano/Desktop/images/10122025/23/06/image_10122025_23_06_45_9624.jpg', 2), ('/home/nano/Desktop/images/10122025/23/06/image_10122025_23_06_35_10634.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 23:10:32.676781 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/23/08/image_10122025_23_08_35_9642.jpg', 2), ('/home/nano/Desktop/images/10122025/23/08/image_10122025_23_08_14_9657.jpg', 2), ('/home/nano/Desktop/images/10122025/23/07/image_10122025_23_08_05_9635.jpg', 2), ('/home/nano/Desktop/images/10122025/23/07/image_10122025_23_07_44_9635.jpg', 2), ('/home/nano/Desktop/images/10122025/23/07/image_10122025_23_07_35_10626.jpg', 2), ('/home/nano/Desktop/images/10122025/23/06/image_10122025_23_06_45_9624.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 23:11:03.556469 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/23/08/image_10122025_23_08_35_9642.jpg', 2), ('/home/nano/Desktop/images/10122025/23/08/image_10122025_23_08_14_9657.jpg', 2), ('/home/nano/Desktop/images/10122025/23/07/image_10122025_23_08_05_9635.jpg', 2), ('/home/nano/Desktop/images/10122025/23/07/image_10122025_23_07_44_9635.jpg', 2), ('/home/nano/Desktop/images/10122025/23/07/image_10122025_23_07_35_10626.jpg', 2), ('/home/nano/Desktop/images/10122025/23/06/image_10122025_23_06_45_9624.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 23:11:32.735705 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/23/10/image_10122025_23_11_05_10645.jpg', 2), ('/home/nano/Desktop/images/10122025/23/10/image_10122025_23_10_54_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/23/08/image_10122025_23_08_35_9642.jpg', 2), ('/home/nano/Desktop/images/10122025/23/08/image_10122025_23_08_14_9657.jpg', 2), ('/home/nano/Desktop/images/10122025/23/07/image_10122025_23_08_05_9635.jpg', 2), ('/home/nano/Desktop/images/10122025/23/07/image_10122025_23_07_44_9635.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 23:12:02.483773 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/23/10/image_10122025_23_11_05_10645.jpg', 2), ('/home/nano/Desktop/images/10122025/23/10/image_10122025_23_10_54_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/23/08/image_10122025_23_08_35_9642.jpg', 2), ('/home/nano/Desktop/images/10122025/23/08/image_10122025_23_08_14_9657.jpg', 2), ('/home/nano/Desktop/images/10122025/23/07/image_10122025_23_08_05_9635.jpg', 2), ('/home/nano/Desktop/images/10122025/23/07/image_10122025_23_07_44_9635.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 23:12:31.822621 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/23/11/image_10122025_23_12_05_10659.jpg', 2), ('/home/nano/Desktop/images/10122025/23/11/image_10122025_23_11_45_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/23/10/image_10122025_23_11_05_10645.jpg', 2), ('/home/nano/Desktop/images/10122025/23/10/image_10122025_23_10_54_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/23/08/image_10122025_23_08_35_9642.jpg', 2), ('/home/nano/Desktop/images/10122025/23/08/image_10122025_23_08_14_9657.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 23:13:02.480732 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/23/11/image_10122025_23_12_05_10659.jpg', 2), ('/home/nano/Desktop/images/10122025/23/11/image_10122025_23_11_45_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/23/10/image_10122025_23_11_05_10645.jpg', 2), ('/home/nano/Desktop/images/10122025/23/10/image_10122025_23_10_54_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/23/08/image_10122025_23_08_35_9642.jpg', 2), ('/home/nano/Desktop/images/10122025/23/08/image_10122025_23_08_14_9657.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 23:13:31.945112 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/23/13/image_10122025_23_13_44_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/23/13/image_10122025_23_13_35_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/23/13/image_10122025_23_13_25_10627.jpg', 2), ('/home/nano/Desktop/images/10122025/23/13/image_10122025_23_13_14_9647.jpg', 2), ('/home/nano/Desktop/images/10122025/23/12/image_10122025_23_12_35_10627.jpg', 2), ('/home/nano/Desktop/images/10122025/23/11/image_10122025_23_12_05_10659.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 23:14:02.709953 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/23/13/image_10122025_23_13_44_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/23/13/image_10122025_23_13_35_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/23/13/image_10122025_23_13_25_10627.jpg', 2), ('/home/nano/Desktop/images/10122025/23/13/image_10122025_23_13_14_9647.jpg', 2), ('/home/nano/Desktop/images/10122025/23/12/image_10122025_23_12_35_10627.jpg', 2), ('/home/nano/Desktop/images/10122025/23/11/image_10122025_23_12_05_10659.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 23:14:32.098864 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/23/14/image_10122025_23_14_45_10646.jpg', 2), ('/home/nano/Desktop/images/10122025/23/14/image_10122025_23_14_25_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/23/13/image_10122025_23_14_04_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/23/13/image_10122025_23_13_55_10626.jpg', 2), ('/home/nano/Desktop/images/10122025/23/13/image_10122025_23_13_44_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/23/13/image_10122025_23_13_35_9621.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 23:15:02.930466 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/23/14/image_10122025_23_14_45_10646.jpg', 2), ('/home/nano/Desktop/images/10122025/23/14/image_10122025_23_14_25_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/23/13/image_10122025_23_14_04_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/23/13/image_10122025_23_13_55_10626.jpg', 2), ('/home/nano/Desktop/images/10122025/23/13/image_10122025_23_13_44_9622.jpg', 2), ('/home/nano/Desktop/images/10122025/23/13/image_10122025_23_13_35_9621.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 23:15:32.317825 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/23/15/image_10122025_23_15_45_10629.jpg', 2), ('/home/nano/Desktop/images/10122025/23/15/image_10122025_23_15_25_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/23/15/image_10122025_23_15_15_10653.jpg', 2), ('/home/nano/Desktop/images/10122025/23/14/image_10122025_23_15_04_9643.jpg', 2), ('/home/nano/Desktop/images/10122025/23/14/image_10122025_23_14_55_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/23/14/image_10122025_23_14_45_10646.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 23:16:02.988977 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/23/15/image_10122025_23_15_45_10629.jpg', 2), ('/home/nano/Desktop/images/10122025/23/15/image_10122025_23_15_25_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/23/15/image_10122025_23_15_15_10653.jpg', 2), ('/home/nano/Desktop/images/10122025/23/14/image_10122025_23_15_04_9643.jpg', 2), ('/home/nano/Desktop/images/10122025/23/14/image_10122025_23_14_55_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/23/14/image_10122025_23_14_45_10646.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 23:16:32.524489 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/23/15/image_10122025_23_15_54_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/23/15/image_10122025_23_15_45_10629.jpg', 2), ('/home/nano/Desktop/images/10122025/23/15/image_10122025_23_15_25_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/23/15/image_10122025_23_15_15_10653.jpg', 2), ('/home/nano/Desktop/images/10122025/23/14/image_10122025_23_15_04_9643.jpg', 2), ('/home/nano/Desktop/images/10122025/23/14/image_10122025_23_14_55_9620.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 23:17:03.406949 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/23/15/image_10122025_23_15_54_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/23/15/image_10122025_23_15_45_10629.jpg', 2), ('/home/nano/Desktop/images/10122025/23/15/image_10122025_23_15_25_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/23/15/image_10122025_23_15_15_10653.jpg', 2), ('/home/nano/Desktop/images/10122025/23/14/image_10122025_23_15_04_9643.jpg', 2), ('/home/nano/Desktop/images/10122025/23/14/image_10122025_23_14_55_9620.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 23:17:32.616707 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/23/17/image_10122025_23_17_25_10628.jpg', 2), ('/home/nano/Desktop/images/10122025/23/16/image_10122025_23_17_05_10633.jpg', 2), ('/home/nano/Desktop/images/10122025/23/16/image_10122025_23_16_54_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/23/15/image_10122025_23_15_54_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/23/15/image_10122025_23_15_45_10629.jpg', 2), ('/home/nano/Desktop/images/10122025/23/15/image_10122025_23_15_25_9621.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 23:18:03.138698 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/23/17/image_10122025_23_17_25_10628.jpg', 2), ('/home/nano/Desktop/images/10122025/23/16/image_10122025_23_17_05_10633.jpg', 2), ('/home/nano/Desktop/images/10122025/23/16/image_10122025_23_16_54_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/23/15/image_10122025_23_15_54_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/23/15/image_10122025_23_15_45_10629.jpg', 2), ('/home/nano/Desktop/images/10122025/23/15/image_10122025_23_15_25_9621.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 23:18:32.665249 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/23/17/image_10122025_23_18_05_9647.jpg', 2), ('/home/nano/Desktop/images/10122025/23/17/image_10122025_23_17_35_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/23/17/image_10122025_23_17_25_10628.jpg', 2), ('/home/nano/Desktop/images/10122025/23/16/image_10122025_23_17_05_10633.jpg', 2), ('/home/nano/Desktop/images/10122025/23/16/image_10122025_23_16_54_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/23/15/image_10122025_23_15_54_9617.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 23:19:02.764540 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/23/17/image_10122025_23_18_05_9647.jpg', 2), ('/home/nano/Desktop/images/10122025/23/17/image_10122025_23_17_35_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/23/17/image_10122025_23_17_25_10628.jpg', 2), ('/home/nano/Desktop/images/10122025/23/16/image_10122025_23_17_05_10633.jpg', 2), ('/home/nano/Desktop/images/10122025/23/16/image_10122025_23_16_54_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/23/15/image_10122025_23_15_54_9617.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 23:19:31.766400 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/23/19/image_10122025_23_19_45_10628.jpg', 2), ('/home/nano/Desktop/images/10122025/23/19/image_10122025_23_19_34_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/23/19/image_10122025_23_19_25_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/23/18/image_10122025_23_18_14_9637.jpg', 2), ('/home/nano/Desktop/images/10122025/23/17/image_10122025_23_18_05_9647.jpg', 2), ('/home/nano/Desktop/images/10122025/23/17/image_10122025_23_17_35_9620.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 23:20:02.435911 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/23/19/image_10122025_23_19_45_10628.jpg', 2), ('/home/nano/Desktop/images/10122025/23/19/image_10122025_23_19_34_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/23/19/image_10122025_23_19_25_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/23/18/image_10122025_23_18_14_9637.jpg', 2), ('/home/nano/Desktop/images/10122025/23/17/image_10122025_23_18_05_9647.jpg', 2), ('/home/nano/Desktop/images/10122025/23/17/image_10122025_23_17_35_9620.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 23:20:31.833326 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/23/20/image_10122025_23_20_45_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/23/20/image_10122025_23_20_35_10628.jpg', 2), ('/home/nano/Desktop/images/10122025/23/20/image_10122025_23_20_24_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/23/20/image_10122025_23_20_15_10680.jpg', 2), ('/home/nano/Desktop/images/10122025/23/19/image_10122025_23_20_04_9645.jpg', 2), ('/home/nano/Desktop/images/10122025/23/19/image_10122025_23_19_55_9636.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 23:21:02.763069 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/23/20/image_10122025_23_21_05_10636.jpg', 2), ('/home/nano/Desktop/images/10122025/23/20/image_10122025_23_20_45_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/23/20/image_10122025_23_20_35_10628.jpg', 2), ('/home/nano/Desktop/images/10122025/23/20/image_10122025_23_20_24_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/23/20/image_10122025_23_20_15_10680.jpg', 2), ('/home/nano/Desktop/images/10122025/23/19/image_10122025_23_20_04_9645.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 23:21:31.931025 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/23/21/image_10122025_23_21_35_10629.jpg', 2), ('/home/nano/Desktop/images/10122025/23/20/image_10122025_23_21_05_10636.jpg', 2), ('/home/nano/Desktop/images/10122025/23/20/image_10122025_23_20_54_9635.jpg', 2), ('/home/nano/Desktop/images/10122025/23/20/image_10122025_23_20_45_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/23/20/image_10122025_23_20_35_10628.jpg', 2), ('/home/nano/Desktop/images/10122025/23/20/image_10122025_23_20_24_9620.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 23:22:02.594395 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/23/21/image_10122025_23_21_35_10629.jpg', 2), ('/home/nano/Desktop/images/10122025/23/20/image_10122025_23_21_05_10636.jpg', 2), ('/home/nano/Desktop/images/10122025/23/20/image_10122025_23_20_54_9635.jpg', 2), ('/home/nano/Desktop/images/10122025/23/20/image_10122025_23_20_45_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/23/20/image_10122025_23_20_35_10628.jpg', 2), ('/home/nano/Desktop/images/10122025/23/20/image_10122025_23_20_24_9620.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 23:22:32.067212 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/23/22/image_10122025_23_22_35_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/23/22/image_10122025_23_22_25_10627.jpg', 2), ('/home/nano/Desktop/images/10122025/23/22/image_10122025_23_22_14_9651.jpg', 2), ('/home/nano/Desktop/images/10122025/23/21/image_10122025_23_21_44_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/23/21/image_10122025_23_21_35_10629.jpg', 2), ('/home/nano/Desktop/images/10122025/23/20/image_10122025_23_21_05_10636.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 23:23:02.765963 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/23/22/image_10122025_23_22_35_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/23/22/image_10122025_23_22_25_10627.jpg', 2), ('/home/nano/Desktop/images/10122025/23/22/image_10122025_23_22_14_9651.jpg', 2), ('/home/nano/Desktop/images/10122025/23/21/image_10122025_23_21_44_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/23/21/image_10122025_23_21_35_10629.jpg', 2), ('/home/nano/Desktop/images/10122025/23/20/image_10122025_23_21_05_10636.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 23:23:32.184168 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/23/23/image_10122025_23_23_25_10627.jpg', 2), ('/home/nano/Desktop/images/10122025/23/23/image_10122025_23_23_14_9630.jpg', 2), ('/home/nano/Desktop/images/10122025/23/22/image_10122025_23_22_55_10626.jpg', 2), ('/home/nano/Desktop/images/10122025/23/22/image_10122025_23_22_35_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/23/22/image_10122025_23_22_25_10627.jpg', 2), ('/home/nano/Desktop/images/10122025/23/22/image_10122025_23_22_14_9651.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 23:24:02.969138 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/23/23/image_10122025_23_23_25_10627.jpg', 2), ('/home/nano/Desktop/images/10122025/23/23/image_10122025_23_23_14_9630.jpg', 2), ('/home/nano/Desktop/images/10122025/23/22/image_10122025_23_22_55_10626.jpg', 2), ('/home/nano/Desktop/images/10122025/23/22/image_10122025_23_22_35_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/23/22/image_10122025_23_22_25_10627.jpg', 2), ('/home/nano/Desktop/images/10122025/23/22/image_10122025_23_22_14_9651.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 23:24:32.272952 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/23/24/image_10122025_23_24_45_10625.jpg', 2), ('/home/nano/Desktop/images/10122025/23/23/image_10122025_23_24_04_9624.jpg', 2), ('/home/nano/Desktop/images/10122025/23/23/image_10122025_23_23_45_10652.jpg', 2), ('/home/nano/Desktop/images/10122025/23/23/image_10122025_23_23_25_10627.jpg', 2), ('/home/nano/Desktop/images/10122025/23/23/image_10122025_23_23_14_9630.jpg', 2), ('/home/nano/Desktop/images/10122025/23/22/image_10122025_23_22_55_10626.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 23:25:03.130975 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/23/24/image_10122025_23_24_45_10625.jpg', 2), ('/home/nano/Desktop/images/10122025/23/23/image_10122025_23_24_04_9624.jpg', 2), ('/home/nano/Desktop/images/10122025/23/23/image_10122025_23_23_45_10652.jpg', 2), ('/home/nano/Desktop/images/10122025/23/23/image_10122025_23_23_25_10627.jpg', 2), ('/home/nano/Desktop/images/10122025/23/23/image_10122025_23_23_14_9630.jpg', 2), ('/home/nano/Desktop/images/10122025/23/22/image_10122025_23_22_55_10626.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 23:25:32.381176 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/23/25/image_10122025_23_25_24_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/23/25/image_10122025_23_25_15_9641.jpg', 2), ('/home/nano/Desktop/images/10122025/23/24/image_10122025_23_24_54_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/23/24/image_10122025_23_24_45_10625.jpg', 2), ('/home/nano/Desktop/images/10122025/23/23/image_10122025_23_24_04_9624.jpg', 2), ('/home/nano/Desktop/images/10122025/23/23/image_10122025_23_23_45_10652.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 23:26:03.098245 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/23/25/image_10122025_23_25_24_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/23/25/image_10122025_23_25_15_9641.jpg', 2), ('/home/nano/Desktop/images/10122025/23/24/image_10122025_23_24_54_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/23/24/image_10122025_23_24_45_10625.jpg', 2), ('/home/nano/Desktop/images/10122025/23/23/image_10122025_23_24_04_9624.jpg', 2), ('/home/nano/Desktop/images/10122025/23/23/image_10122025_23_23_45_10652.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 23:26:32.495798 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/23/26/image_10122025_23_26_44_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/23/26/image_10122025_23_26_35_10626.jpg', 2), ('/home/nano/Desktop/images/10122025/23/25/image_10122025_23_26_05_10639.jpg', 2), ('/home/nano/Desktop/images/10122025/23/25/image_10122025_23_25_35_10643.jpg', 2), ('/home/nano/Desktop/images/10122025/23/25/image_10122025_23_25_24_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/23/25/image_10122025_23_25_15_9641.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 23:27:03.371894 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/23/26/image_10122025_23_26_44_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/23/26/image_10122025_23_26_35_10626.jpg', 2), ('/home/nano/Desktop/images/10122025/23/25/image_10122025_23_26_05_10639.jpg', 2), ('/home/nano/Desktop/images/10122025/23/25/image_10122025_23_25_35_10643.jpg', 2), ('/home/nano/Desktop/images/10122025/23/25/image_10122025_23_25_24_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/23/25/image_10122025_23_25_15_9641.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 23:27:32.600440 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/23/26/image_10122025_23_26_55_10629.jpg', 2), ('/home/nano/Desktop/images/10122025/23/26/image_10122025_23_26_44_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/23/26/image_10122025_23_26_35_10626.jpg', 2), ('/home/nano/Desktop/images/10122025/23/25/image_10122025_23_26_05_10639.jpg', 2), ('/home/nano/Desktop/images/10122025/23/25/image_10122025_23_25_35_10643.jpg', 2), ('/home/nano/Desktop/images/10122025/23/25/image_10122025_23_25_24_9618.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 23:28:03.280577 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/23/26/image_10122025_23_26_55_10629.jpg', 2), ('/home/nano/Desktop/images/10122025/23/26/image_10122025_23_26_44_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/23/26/image_10122025_23_26_35_10626.jpg', 2), ('/home/nano/Desktop/images/10122025/23/25/image_10122025_23_26_05_10639.jpg', 2), ('/home/nano/Desktop/images/10122025/23/25/image_10122025_23_25_35_10643.jpg', 2), ('/home/nano/Desktop/images/10122025/23/25/image_10122025_23_25_24_9618.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 23:28:32.692764 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/23/28/image_10122025_23_28_25_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/23/28/image_10122025_23_28_15_10643.jpg', 2), ('/home/nano/Desktop/images/10122025/23/27/image_10122025_23_28_04_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/23/27/image_10122025_23_27_55_10632.jpg', 2), ('/home/nano/Desktop/images/10122025/23/26/image_10122025_23_26_55_10629.jpg', 2), ('/home/nano/Desktop/images/10122025/23/26/image_10122025_23_26_44_9617.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 23:29:02.921354 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/23/28/image_10122025_23_28_25_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/23/28/image_10122025_23_28_15_10643.jpg', 2), ('/home/nano/Desktop/images/10122025/23/27/image_10122025_23_28_04_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/23/27/image_10122025_23_27_55_10632.jpg', 2), ('/home/nano/Desktop/images/10122025/23/26/image_10122025_23_26_55_10629.jpg', 2), ('/home/nano/Desktop/images/10122025/23/26/image_10122025_23_26_44_9617.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 23:29:31.862577 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/23/29/image_10122025_23_29_24_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/23/29/image_10122025_23_29_15_10644.jpg', 2), ('/home/nano/Desktop/images/10122025/23/28/image_10122025_23_28_34_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/23/28/image_10122025_23_28_25_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/23/28/image_10122025_23_28_15_10643.jpg', 2), ('/home/nano/Desktop/images/10122025/23/27/image_10122025_23_28_04_9620.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 23:30:02.415209 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/23/29/image_10122025_23_29_24_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/23/29/image_10122025_23_29_15_10644.jpg', 2), ('/home/nano/Desktop/images/10122025/23/28/image_10122025_23_28_34_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/23/28/image_10122025_23_28_25_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/23/28/image_10122025_23_28_15_10643.jpg', 2), ('/home/nano/Desktop/images/10122025/23/27/image_10122025_23_28_04_9620.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 23:30:31.983821 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/23/30/image_10122025_23_30_15_9633.jpg', 2), ('/home/nano/Desktop/images/10122025/23/29/image_10122025_23_30_05_10642.jpg', 2), ('/home/nano/Desktop/images/10122025/23/29/image_10122025_23_29_54_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/23/29/image_10122025_23_29_24_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/23/29/image_10122025_23_29_15_10644.jpg', 2), ('/home/nano/Desktop/images/10122025/23/28/image_10122025_23_28_34_9620.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 23:31:02.819465 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/23/30/image_10122025_23_30_15_9633.jpg', 2), ('/home/nano/Desktop/images/10122025/23/29/image_10122025_23_30_05_10642.jpg', 2), ('/home/nano/Desktop/images/10122025/23/29/image_10122025_23_29_54_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/23/29/image_10122025_23_29_24_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/23/29/image_10122025_23_29_15_10644.jpg', 2), ('/home/nano/Desktop/images/10122025/23/28/image_10122025_23_28_34_9620.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 23:31:32.051143 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/23/31/image_10122025_23_31_44_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/23/31/image_10122025_23_31_25_10626.jpg', 2), ('/home/nano/Desktop/images/10122025/23/31/image_10122025_23_31_14_9626.jpg', 2), ('/home/nano/Desktop/images/10122025/23/30/image_10122025_23_31_05_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/23/30/image_10122025_23_30_24_9616.jpg', 2), ('/home/nano/Desktop/images/10122025/23/30/image_10122025_23_30_15_9633.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 23:32:02.783669 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/23/31/image_10122025_23_31_44_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/23/31/image_10122025_23_31_25_10626.jpg', 2), ('/home/nano/Desktop/images/10122025/23/31/image_10122025_23_31_14_9626.jpg', 2), ('/home/nano/Desktop/images/10122025/23/30/image_10122025_23_31_05_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/23/30/image_10122025_23_30_24_9616.jpg', 2), ('/home/nano/Desktop/images/10122025/23/30/image_10122025_23_30_15_9633.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 23:32:32.313735 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/23/32/image_10122025_23_32_15_10656.jpg', 2), ('/home/nano/Desktop/images/10122025/23/31/image_10122025_23_32_04_9624.jpg', 2), ('/home/nano/Desktop/images/10122025/23/31/image_10122025_23_31_55_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/23/31/image_10122025_23_31_44_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/23/31/image_10122025_23_31_25_10626.jpg', 2), ('/home/nano/Desktop/images/10122025/23/31/image_10122025_23_31_14_9626.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 23:33:02.990038 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/23/32/image_10122025_23_32_15_10656.jpg', 2), ('/home/nano/Desktop/images/10122025/23/31/image_10122025_23_32_04_9624.jpg', 2), ('/home/nano/Desktop/images/10122025/23/31/image_10122025_23_31_55_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/23/31/image_10122025_23_31_44_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/23/31/image_10122025_23_31_25_10626.jpg', 2), ('/home/nano/Desktop/images/10122025/23/31/image_10122025_23_31_14_9626.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 23:33:32.387281 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/23/33/image_10122025_23_33_25_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/23/32/image_10122025_23_32_25_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/23/32/image_10122025_23_32_15_10656.jpg', 2), ('/home/nano/Desktop/images/10122025/23/31/image_10122025_23_32_04_9624.jpg', 2), ('/home/nano/Desktop/images/10122025/23/31/image_10122025_23_31_55_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/23/31/image_10122025_23_31_44_9620.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 23:34:03.123719 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/23/33/image_10122025_23_33_25_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/23/32/image_10122025_23_32_25_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/23/32/image_10122025_23_32_15_10656.jpg', 2), ('/home/nano/Desktop/images/10122025/23/31/image_10122025_23_32_04_9624.jpg', 2), ('/home/nano/Desktop/images/10122025/23/31/image_10122025_23_31_55_10630.jpg', 2), ('/home/nano/Desktop/images/10122025/23/31/image_10122025_23_31_44_9620.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 23:34:32.502236 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/23/34/image_10122025_23_34_45_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/23/34/image_10122025_23_34_24_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/23/34/image_10122025_23_34_15_9653.jpg', 2), ('/home/nano/Desktop/images/10122025/23/33/image_10122025_23_33_34_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/23/33/image_10122025_23_33_25_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/23/32/image_10122025_23_32_25_9618.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 23:35:03.330001 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/23/34/image_10122025_23_34_45_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/23/34/image_10122025_23_34_24_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/23/34/image_10122025_23_34_15_9653.jpg', 2), ('/home/nano/Desktop/images/10122025/23/33/image_10122025_23_33_34_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/23/33/image_10122025_23_33_25_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/23/32/image_10122025_23_32_25_9618.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 23:35:32.567013 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/23/35/image_10122025_23_35_35_10626.jpg', 2), ('/home/nano/Desktop/images/10122025/23/34/image_10122025_23_35_05_10632.jpg', 2), ('/home/nano/Desktop/images/10122025/23/34/image_10122025_23_34_54_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/23/34/image_10122025_23_34_45_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/23/34/image_10122025_23_34_24_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/23/34/image_10122025_23_34_15_9653.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 23:36:02.306015 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/23/35/image_10122025_23_35_35_10626.jpg', 2), ('/home/nano/Desktop/images/10122025/23/34/image_10122025_23_35_05_10632.jpg', 2), ('/home/nano/Desktop/images/10122025/23/34/image_10122025_23_34_54_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/23/34/image_10122025_23_34_45_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/23/34/image_10122025_23_34_24_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/23/34/image_10122025_23_34_15_9653.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 23:36:31.795524 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/23/36/image_10122025_23_36_35_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/23/36/image_10122025_23_36_25_10627.jpg', 2), ('/home/nano/Desktop/images/10122025/23/35/image_10122025_23_35_44_9615.jpg', 2), ('/home/nano/Desktop/images/10122025/23/35/image_10122025_23_35_35_10626.jpg', 2), ('/home/nano/Desktop/images/10122025/23/34/image_10122025_23_35_05_10632.jpg', 2), ('/home/nano/Desktop/images/10122025/23/34/image_10122025_23_34_54_9618.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 23:37:02.618808 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/23/36/image_10122025_23_36_35_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/23/36/image_10122025_23_36_25_10627.jpg', 2), ('/home/nano/Desktop/images/10122025/23/35/image_10122025_23_35_44_9615.jpg', 2), ('/home/nano/Desktop/images/10122025/23/35/image_10122025_23_35_35_10626.jpg', 2), ('/home/nano/Desktop/images/10122025/23/34/image_10122025_23_35_05_10632.jpg', 2), ('/home/nano/Desktop/images/10122025/23/34/image_10122025_23_34_54_9618.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 23:37:31.955859 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/23/37/image_10122025_23_37_34_9635.jpg', 2), ('/home/nano/Desktop/images/10122025/23/37/image_10122025_23_37_25_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/23/37/image_10122025_23_37_15_10640.jpg', 2), ('/home/nano/Desktop/images/10122025/23/36/image_10122025_23_37_04_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/23/36/image_10122025_23_36_44_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/23/36/image_10122025_23_36_35_9618.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 23:38:02.608587 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/23/37/image_10122025_23_37_34_9635.jpg', 2), ('/home/nano/Desktop/images/10122025/23/37/image_10122025_23_37_25_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/23/37/image_10122025_23_37_15_10640.jpg', 2), ('/home/nano/Desktop/images/10122025/23/36/image_10122025_23_37_04_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/23/36/image_10122025_23_36_44_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/23/36/image_10122025_23_36_35_9618.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 23:38:32.014835 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/23/38/image_10122025_23_38_24_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/23/38/image_10122025_23_38_15_10661.jpg', 2), ('/home/nano/Desktop/images/10122025/23/37/image_10122025_23_38_04_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/23/37/image_10122025_23_37_55_9615.jpg', 2), ('/home/nano/Desktop/images/10122025/23/37/image_10122025_23_37_34_9635.jpg', 2), ('/home/nano/Desktop/images/10122025/23/37/image_10122025_23_37_25_9617.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 23:39:02.973661 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/23/38/image_10122025_23_38_24_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/23/38/image_10122025_23_38_15_10661.jpg', 2), ('/home/nano/Desktop/images/10122025/23/37/image_10122025_23_38_04_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/23/37/image_10122025_23_37_55_9615.jpg', 2), ('/home/nano/Desktop/images/10122025/23/37/image_10122025_23_37_34_9635.jpg', 2), ('/home/nano/Desktop/images/10122025/23/37/image_10122025_23_37_25_9617.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 23:39:32.145632 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/23/39/image_10122025_23_39_44_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/23/39/image_10122025_23_39_24_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/23/39/image_10122025_23_39_15_9626.jpg', 2), ('/home/nano/Desktop/images/10122025/23/38/image_10122025_23_38_54_9635.jpg', 2), ('/home/nano/Desktop/images/10122025/23/38/image_10122025_23_38_24_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/23/38/image_10122025_23_38_15_10661.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 23:40:02.718898 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/23/39/image_10122025_23_39_44_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/23/39/image_10122025_23_39_24_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/23/39/image_10122025_23_39_15_9626.jpg', 2), ('/home/nano/Desktop/images/10122025/23/38/image_10122025_23_38_54_9635.jpg', 2), ('/home/nano/Desktop/images/10122025/23/38/image_10122025_23_38_24_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/23/38/image_10122025_23_38_15_10661.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 23:40:32.239577 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/23/40/image_10122025_23_40_35_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/23/40/image_10122025_23_40_25_10645.jpg', 2), ('/home/nano/Desktop/images/10122025/23/39/image_10122025_23_40_05_9645.jpg', 2), ('/home/nano/Desktop/images/10122025/23/39/image_10122025_23_39_55_10628.jpg', 2), ('/home/nano/Desktop/images/10122025/23/39/image_10122025_23_39_44_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/23/39/image_10122025_23_39_24_9617.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 23:41:02.844332 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/23/40/image_10122025_23_40_35_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/23/40/image_10122025_23_40_25_10645.jpg', 2), ('/home/nano/Desktop/images/10122025/23/39/image_10122025_23_40_05_9645.jpg', 2), ('/home/nano/Desktop/images/10122025/23/39/image_10122025_23_39_55_10628.jpg', 2), ('/home/nano/Desktop/images/10122025/23/39/image_10122025_23_39_44_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/23/39/image_10122025_23_39_24_9617.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 23:41:32.333773 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/23/41/image_10122025_23_41_34_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/23/41/image_10122025_23_41_14_9643.jpg', 2), ('/home/nano/Desktop/images/10122025/23/40/image_10122025_23_41_04_9633.jpg', 2), ('/home/nano/Desktop/images/10122025/23/40/image_10122025_23_40_44_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/23/40/image_10122025_23_40_35_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/23/40/image_10122025_23_40_25_10645.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 23:42:02.851423 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/23/41/image_10122025_23_41_34_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/23/41/image_10122025_23_41_14_9643.jpg', 2), ('/home/nano/Desktop/images/10122025/23/40/image_10122025_23_41_04_9633.jpg', 2), ('/home/nano/Desktop/images/10122025/23/40/image_10122025_23_40_44_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/23/40/image_10122025_23_40_35_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/23/40/image_10122025_23_40_25_10645.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 23:42:32.430600 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/23/42/image_10122025_23_42_25_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/23/41/image_10122025_23_41_45_10627.jpg', 2), ('/home/nano/Desktop/images/10122025/23/41/image_10122025_23_41_34_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/23/41/image_10122025_23_41_14_9643.jpg', 2), ('/home/nano/Desktop/images/10122025/23/40/image_10122025_23_41_04_9633.jpg', 2), ('/home/nano/Desktop/images/10122025/23/40/image_10122025_23_40_44_9617.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 23:43:03.459845 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/23/42/image_10122025_23_42_25_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/23/41/image_10122025_23_41_45_10627.jpg', 2), ('/home/nano/Desktop/images/10122025/23/41/image_10122025_23_41_34_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/23/41/image_10122025_23_41_14_9643.jpg', 2), ('/home/nano/Desktop/images/10122025/23/40/image_10122025_23_41_04_9633.jpg', 2), ('/home/nano/Desktop/images/10122025/23/40/image_10122025_23_40_44_9617.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 23:43:32.594340 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/23/43/image_10122025_23_43_45_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/23/43/image_10122025_23_43_35_10629.jpg', 2), ('/home/nano/Desktop/images/10122025/23/42/image_10122025_23_42_34_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/23/42/image_10122025_23_42_25_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/23/41/image_10122025_23_41_45_10627.jpg', 2), ('/home/nano/Desktop/images/10122025/23/41/image_10122025_23_41_34_9618.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 23:44:03.677984 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/23/43/image_10122025_23_43_45_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/23/43/image_10122025_23_43_35_10629.jpg', 2), ('/home/nano/Desktop/images/10122025/23/42/image_10122025_23_42_34_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/23/42/image_10122025_23_42_25_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/23/41/image_10122025_23_41_45_10627.jpg', 2), ('/home/nano/Desktop/images/10122025/23/41/image_10122025_23_41_34_9618.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 23:44:32.710404 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/23/44/image_10122025_23_44_44_9614.jpg', 2), ('/home/nano/Desktop/images/10122025/23/44/image_10122025_23_44_25_10625.jpg', 2), ('/home/nano/Desktop/images/10122025/23/44/image_10122025_23_44_14_9636.jpg', 2), ('/home/nano/Desktop/images/10122025/23/43/image_10122025_23_44_05_10631.jpg', 2), ('/home/nano/Desktop/images/10122025/23/43/image_10122025_23_43_54_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/23/43/image_10122025_23_43_45_9619.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 23:45:02.385292 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/23/44/image_10122025_23_44_44_9614.jpg', 2), ('/home/nano/Desktop/images/10122025/23/44/image_10122025_23_44_25_10625.jpg', 2), ('/home/nano/Desktop/images/10122025/23/44/image_10122025_23_44_14_9636.jpg', 2), ('/home/nano/Desktop/images/10122025/23/43/image_10122025_23_44_05_10631.jpg', 2), ('/home/nano/Desktop/images/10122025/23/43/image_10122025_23_43_54_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/23/43/image_10122025_23_43_45_9619.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 23:45:31.801844 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/23/45/image_10122025_23_45_34_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/23/45/image_10122025_23_45_14_9636.jpg', 2), ('/home/nano/Desktop/images/10122025/23/44/image_10122025_23_45_05_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/23/44/image_10122025_23_44_55_10628.jpg', 2), ('/home/nano/Desktop/images/10122025/23/44/image_10122025_23_44_44_9614.jpg', 2), ('/home/nano/Desktop/images/10122025/23/44/image_10122025_23_44_25_10625.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 23:46:02.517001 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/23/45/image_10122025_23_45_34_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/23/45/image_10122025_23_45_14_9636.jpg', 2), ('/home/nano/Desktop/images/10122025/23/44/image_10122025_23_45_05_9620.jpg', 2), ('/home/nano/Desktop/images/10122025/23/44/image_10122025_23_44_55_10628.jpg', 2), ('/home/nano/Desktop/images/10122025/23/44/image_10122025_23_44_44_9614.jpg', 2), ('/home/nano/Desktop/images/10122025/23/44/image_10122025_23_44_25_10625.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 23:46:31.907489 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/23/46/image_10122025_23_46_34_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/23/46/image_10122025_23_46_25_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/23/46/image_10122025_23_46_15_10664.jpg', 2), ('/home/nano/Desktop/images/10122025/23/45/image_10122025_23_45_55_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/23/45/image_10122025_23_45_34_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/23/45/image_10122025_23_45_14_9636.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 23:47:02.596864 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/23/46/image_10122025_23_46_34_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/23/46/image_10122025_23_46_25_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/23/46/image_10122025_23_46_15_10664.jpg', 2), ('/home/nano/Desktop/images/10122025/23/45/image_10122025_23_45_55_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/23/45/image_10122025_23_45_34_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/23/45/image_10122025_23_45_14_9636.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 23:47:32.033690 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/23/47/image_10122025_23_47_35_10642.jpg', 2), ('/home/nano/Desktop/images/10122025/23/47/image_10122025_23_47_24_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/23/46/image_10122025_23_47_05_10654.jpg', 2), ('/home/nano/Desktop/images/10122025/23/46/image_10122025_23_46_45_10627.jpg', 2), ('/home/nano/Desktop/images/10122025/23/46/image_10122025_23_46_34_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/23/46/image_10122025_23_46_25_9617.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 23:48:02.497032 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/23/47/image_10122025_23_47_35_10642.jpg', 2), ('/home/nano/Desktop/images/10122025/23/47/image_10122025_23_47_24_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/23/46/image_10122025_23_47_05_10654.jpg', 2), ('/home/nano/Desktop/images/10122025/23/46/image_10122025_23_46_45_10627.jpg', 2), ('/home/nano/Desktop/images/10122025/23/46/image_10122025_23_46_34_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/23/46/image_10122025_23_46_25_9617.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 23:48:32.152968 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/23/48/image_10122025_23_48_44_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/23/48/image_10122025_23_48_35_10641.jpg', 2), ('/home/nano/Desktop/images/10122025/23/47/image_10122025_23_47_45_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/23/47/image_10122025_23_47_35_10642.jpg', 2), ('/home/nano/Desktop/images/10122025/23/47/image_10122025_23_47_24_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/23/46/image_10122025_23_47_05_10654.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 23:49:03.362727 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/23/48/image_10122025_23_48_44_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/23/48/image_10122025_23_48_35_10641.jpg', 2), ('/home/nano/Desktop/images/10122025/23/47/image_10122025_23_47_45_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/23/47/image_10122025_23_47_35_10642.jpg', 2), ('/home/nano/Desktop/images/10122025/23/47/image_10122025_23_47_24_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/23/46/image_10122025_23_47_05_10654.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 23:49:32.263485 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/23/49/image_10122025_23_49_34_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/23/49/image_10122025_23_49_14_9633.jpg', 2), ('/home/nano/Desktop/images/10122025/23/48/image_10122025_23_49_05_9632.jpg', 2), ('/home/nano/Desktop/images/10122025/23/48/image_10122025_23_48_55_10624.jpg', 2), ('/home/nano/Desktop/images/10122025/23/48/image_10122025_23_48_44_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/23/48/image_10122025_23_48_35_10641.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 23:50:02.953449 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/23/49/image_10122025_23_49_34_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/23/49/image_10122025_23_49_14_9633.jpg', 2), ('/home/nano/Desktop/images/10122025/23/48/image_10122025_23_49_05_9632.jpg', 2), ('/home/nano/Desktop/images/10122025/23/48/image_10122025_23_48_55_10624.jpg', 2), ('/home/nano/Desktop/images/10122025/23/48/image_10122025_23_48_44_9621.jpg', 2), ('/home/nano/Desktop/images/10122025/23/48/image_10122025_23_48_35_10641.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 23:50:32.406896 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/23/50/image_10122025_23_50_45_10627.jpg', 2), ('/home/nano/Desktop/images/10122025/23/50/image_10122025_23_50_34_9634.jpg', 2), ('/home/nano/Desktop/images/10122025/23/49/image_10122025_23_50_04_9642.jpg', 2), ('/home/nano/Desktop/images/10122025/23/49/image_10122025_23_49_55_10628.jpg', 2), ('/home/nano/Desktop/images/10122025/23/49/image_10122025_23_49_34_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/23/49/image_10122025_23_49_14_9633.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 23:51:03.108936 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/23/50/image_10122025_23_50_45_10627.jpg', 2), ('/home/nano/Desktop/images/10122025/23/50/image_10122025_23_50_34_9634.jpg', 2), ('/home/nano/Desktop/images/10122025/23/49/image_10122025_23_50_04_9642.jpg', 2), ('/home/nano/Desktop/images/10122025/23/49/image_10122025_23_49_55_10628.jpg', 2), ('/home/nano/Desktop/images/10122025/23/49/image_10122025_23_49_34_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/23/49/image_10122025_23_49_14_9633.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 23:51:32.494426 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/23/50/image_10122025_23_51_04_9629.jpg', 2), ('/home/nano/Desktop/images/10122025/23/50/image_10122025_23_50_55_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/23/50/image_10122025_23_50_45_10627.jpg', 2), ('/home/nano/Desktop/images/10122025/23/50/image_10122025_23_50_34_9634.jpg', 2), ('/home/nano/Desktop/images/10122025/23/49/image_10122025_23_50_04_9642.jpg', 2), ('/home/nano/Desktop/images/10122025/23/49/image_10122025_23_49_55_10628.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 23:52:03.107122 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/23/50/image_10122025_23_51_04_9629.jpg', 2), ('/home/nano/Desktop/images/10122025/23/50/image_10122025_23_50_55_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/23/50/image_10122025_23_50_45_10627.jpg', 2), ('/home/nano/Desktop/images/10122025/23/50/image_10122025_23_50_34_9634.jpg', 2), ('/home/nano/Desktop/images/10122025/23/49/image_10122025_23_50_04_9642.jpg', 2), ('/home/nano/Desktop/images/10122025/23/49/image_10122025_23_49_55_10628.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 23:52:32.591236 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/23/52/image_10122025_23_52_44_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/23/52/image_10122025_23_52_35_10627.jpg', 2), ('/home/nano/Desktop/images/10122025/23/52/image_10122025_23_52_24_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/23/51/image_10122025_23_52_05_10646.jpg', 2), ('/home/nano/Desktop/images/10122025/23/51/image_10122025_23_51_54_9616.jpg', 2), ('/home/nano/Desktop/images/10122025/23/50/image_10122025_23_51_04_9629.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 23:53:03.505780 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/23/52/image_10122025_23_52_44_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/23/52/image_10122025_23_52_35_10627.jpg', 2), ('/home/nano/Desktop/images/10122025/23/52/image_10122025_23_52_24_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/23/51/image_10122025_23_52_05_10646.jpg', 2), ('/home/nano/Desktop/images/10122025/23/51/image_10122025_23_51_54_9616.jpg', 2), ('/home/nano/Desktop/images/10122025/23/50/image_10122025_23_51_04_9629.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 23:53:32.705497 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/23/53/image_10122025_23_53_25_10633.jpg', 2), ('/home/nano/Desktop/images/10122025/23/53/image_10122025_23_53_14_9634.jpg', 2), ('/home/nano/Desktop/images/10122025/23/52/image_10122025_23_53_05_9638.jpg', 2), ('/home/nano/Desktop/images/10122025/23/52/image_10122025_23_52_55_10628.jpg', 2), ('/home/nano/Desktop/images/10122025/23/52/image_10122025_23_52_44_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/23/52/image_10122025_23_52_35_10627.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 23:54:02.527547 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/23/53/image_10122025_23_53_25_10633.jpg', 2), ('/home/nano/Desktop/images/10122025/23/53/image_10122025_23_53_14_9634.jpg', 2), ('/home/nano/Desktop/images/10122025/23/52/image_10122025_23_53_05_9638.jpg', 2), ('/home/nano/Desktop/images/10122025/23/52/image_10122025_23_52_55_10628.jpg', 2), ('/home/nano/Desktop/images/10122025/23/52/image_10122025_23_52_44_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/23/52/image_10122025_23_52_35_10627.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 23:54:31.833779 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/23/54/image_10122025_23_54_45_10626.jpg', 2), ('/home/nano/Desktop/images/10122025/23/53/image_10122025_23_54_04_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/23/53/image_10122025_23_53_55_10626.jpg', 2), ('/home/nano/Desktop/images/10122025/23/53/image_10122025_23_53_25_10633.jpg', 2), ('/home/nano/Desktop/images/10122025/23/53/image_10122025_23_53_14_9634.jpg', 2), ('/home/nano/Desktop/images/10122025/23/52/image_10122025_23_53_05_9638.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 23:55:02.585691 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/23/54/image_10122025_23_54_45_10626.jpg', 2), ('/home/nano/Desktop/images/10122025/23/53/image_10122025_23_54_04_9619.jpg', 2), ('/home/nano/Desktop/images/10122025/23/53/image_10122025_23_53_55_10626.jpg', 2), ('/home/nano/Desktop/images/10122025/23/53/image_10122025_23_53_25_10633.jpg', 2), ('/home/nano/Desktop/images/10122025/23/53/image_10122025_23_53_14_9634.jpg', 2), ('/home/nano/Desktop/images/10122025/23/52/image_10122025_23_53_05_9638.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 23:55:31.954391 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/23/55/image_10122025_23_55_35_10629.jpg', 2), ('/home/nano/Desktop/images/10122025/23/55/image_10122025_23_55_24_9616.jpg', 2), ('/home/nano/Desktop/images/10122025/23/55/image_10122025_23_55_15_10645.jpg', 2), ('/home/nano/Desktop/images/10122025/23/54/image_10122025_23_55_04_9627.jpg', 2), ('/home/nano/Desktop/images/10122025/23/54/image_10122025_23_54_55_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/23/54/image_10122025_23_54_45_10626.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 23:56:02.494899 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/23/55/image_10122025_23_55_35_10629.jpg', 2), ('/home/nano/Desktop/images/10122025/23/55/image_10122025_23_55_24_9616.jpg', 2), ('/home/nano/Desktop/images/10122025/23/55/image_10122025_23_55_15_10645.jpg', 2), ('/home/nano/Desktop/images/10122025/23/54/image_10122025_23_55_04_9627.jpg', 2), ('/home/nano/Desktop/images/10122025/23/54/image_10122025_23_54_55_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/23/54/image_10122025_23_54_45_10626.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 23:56:32.050528 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/23/56/image_10122025_23_56_24_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/23/56/image_10122025_23_56_15_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/23/55/image_10122025_23_56_05_10643.jpg', 2), ('/home/nano/Desktop/images/10122025/23/55/image_10122025_23_55_54_9616.jpg', 2), ('/home/nano/Desktop/images/10122025/23/55/image_10122025_23_55_35_10629.jpg', 2), ('/home/nano/Desktop/images/10122025/23/55/image_10122025_23_55_24_9616.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 23:57:02.968069 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/23/56/image_10122025_23_56_24_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/23/56/image_10122025_23_56_15_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/23/55/image_10122025_23_56_05_10643.jpg', 2), ('/home/nano/Desktop/images/10122025/23/55/image_10122025_23_55_54_9616.jpg', 2), ('/home/nano/Desktop/images/10122025/23/55/image_10122025_23_55_35_10629.jpg', 2), ('/home/nano/Desktop/images/10122025/23/55/image_10122025_23_55_24_9616.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-10 23:57:32.134602 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_10122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251210 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/10122025/23/57/image_10122025_23_57_44_9636.jpg', 2), ('/home/nano/Desktop/images/10122025/23/56/image_10122025_23_56_35_10627.jpg', 2), ('/home/nano/Desktop/images/10122025/23/56/image_10122025_23_56_24_9618.jpg', 2), ('/home/nano/Desktop/images/10122025/23/56/image_10122025_23_56_15_9617.jpg', 2), ('/home/nano/Desktop/images/10122025/23/55/image_10122025_23_56_05_10643.jpg', 2), ('/home/nano/Desktop/images/10122025/23/55/image_10122025_23_55_54_9616.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_10122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',))